fluent-plugin-mysql 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -0
- data/Gemfile.fluentd.0.12 +4 -0
- data/README.md +1 -0
- data/fluent-plugin-mysql.gemspec +1 -1
- data/lib/fluent/plugin/out_mysql_bulk.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ae9d1927aa31d75c7242f2e4abb0d0964eb6795
|
4
|
+
data.tar.gz: e2b50f7c500cf5dc1dced0b5a4472ea8f5d26948
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fb9f8a430ca6830499b3c0555db2bc1650cb943450fb951ee46ff2c36d5617006edaf9589dc228e0821fe69355597cfe80464685080c962526de5e45c808bee
|
7
|
+
data.tar.gz: aec9e2f7e4b5ed9d8b83422a420e15cb42d2c5818d7287dad117973b746401aed7496795bd855956c5c4025793bbb36a05f29324ea4317d23f6eb74bbe5d7102
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -19,6 +19,7 @@ username|user(require)
|
|
19
19
|
password|password(default: blank)
|
20
20
|
column_names|bulk insert column (require)
|
21
21
|
key_names|value key names, ${time} is placeholder Time.at(time).strftime("%Y-%m-%d %H:%M:%S") (default : column_names)
|
22
|
+
json_key_names|Key names which store data as json, comma separator.
|
22
23
|
table|bulk insert table (require)
|
23
24
|
on_duplicate_key_update|on duplicate key update enable (true:false)
|
24
25
|
on_duplicate_update_keys|on duplicate key update column, comma separator
|
data/fluent-plugin-mysql.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |gem|
|
3
3
|
gem.name = "fluent-plugin-mysql"
|
4
|
-
gem.version = "0.1.
|
4
|
+
gem.version = "0.1.4"
|
5
5
|
gem.authors = ["TAGOMORI Satoshi", "Toyama Hiroshi"]
|
6
6
|
gem.email = ["tagomoris@gmail.com", "toyama0919@gmail.com"]
|
7
7
|
gem.description = %q{fluent plugin to insert mysql as json(single column) or insert statement}
|
@@ -115,7 +115,7 @@ DESC
|
|
115
115
|
sql = "INSERT INTO #{@table} (#{@column_names.join(',')}) VALUES #{values.join(',')}"
|
116
116
|
sql += @on_duplicate_key_update_sql if @on_duplicate_key_update
|
117
117
|
|
118
|
-
log.info "bulk insert values size => #{values.size}"
|
118
|
+
log.info "bulk insert values size (table: #{@table}) => #{values.size}"
|
119
119
|
@handler.xquery(sql)
|
120
120
|
@handler.close
|
121
121
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-mysql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TAGOMORI Satoshi
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-09-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|
@@ -92,6 +92,7 @@ files:
|
|
92
92
|
- ".gitignore"
|
93
93
|
- ".travis.yml"
|
94
94
|
- Gemfile
|
95
|
+
- Gemfile.fluentd.0.12
|
95
96
|
- LICENSE.txt
|
96
97
|
- README.md
|
97
98
|
- README_mysql.md
|
@@ -122,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
123
|
version: '0'
|
123
124
|
requirements: []
|
124
125
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.
|
126
|
+
rubygems_version: 2.5.1
|
126
127
|
signing_key:
|
127
128
|
specification_version: 4
|
128
129
|
summary: fluent plugin to insert mysql
|
@@ -130,3 +131,4 @@ test_files:
|
|
130
131
|
- test/helper.rb
|
131
132
|
- test/plugin/test_out_mysql.rb
|
132
133
|
- test/plugin/test_out_mysql_bulk.rb
|
134
|
+
has_rdoc:
|