fluent-plugin-mysql-replicator 1.0.3 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.devcontainer/Dockerfile +17 -0
- data/.devcontainer/devcontainer.json +16 -0
- data/.dockerignore +4 -0
- data/.github/workflows/ci.yml +165 -0
- data/.gitignore +1 -0
- data/CHANGELOG.md +90 -0
- data/README.md +80 -5
- data/Tutorial-mysql_replicator.md +21 -1
- data/ci/install_smoke.sh +19 -0
- data/ci/verify_plugins_load.rb +5 -0
- data/fluent-plugin-mysql-replicator.gemspec +1 -1
- data/lib/fluent/plugin/in_mysql_replicator.rb +47 -9
- data/lib/fluent/plugin/in_mysql_replicator_multi.rb +19 -0
- data/lib/fluent/plugin/out_mysql_replicator_elasticsearch.rb +44 -7
- data/setup_mysql_replicator_multi.sql +3 -0
- data/test/e2e/e2e_helper.rb +94 -0
- data/test/e2e/fluent_multi.conf +30 -0
- data/test/e2e/fluent_single.conf +29 -0
- data/test/e2e/replication_multi_e2e_test.rb +140 -0
- data/test/e2e/replication_single_e2e_test.rb +91 -0
- data/test/plugin/test_in_mysql_replicator.rb +100 -0
- data/test/plugin/test_out_mysql_replicator_elasticsearch.rb +22 -0
- metadata +20 -4
- data/.travis.yml +0 -18
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-mysql-replicator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kentaro Yoshida
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-06-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -107,14 +107,20 @@ executables: []
|
|
|
107
107
|
extensions: []
|
|
108
108
|
extra_rdoc_files: []
|
|
109
109
|
files:
|
|
110
|
+
- ".devcontainer/Dockerfile"
|
|
111
|
+
- ".devcontainer/devcontainer.json"
|
|
112
|
+
- ".dockerignore"
|
|
113
|
+
- ".github/workflows/ci.yml"
|
|
110
114
|
- ".gitignore"
|
|
111
|
-
-
|
|
115
|
+
- CHANGELOG.md
|
|
112
116
|
- Gemfile
|
|
113
117
|
- LICENSE
|
|
114
118
|
- README.md
|
|
115
119
|
- Rakefile
|
|
116
120
|
- Tutorial-mysql_replicator.md
|
|
117
121
|
- Tutorial-mysql_replicator_multi.md
|
|
122
|
+
- ci/install_smoke.sh
|
|
123
|
+
- ci/verify_plugins_load.rb
|
|
118
124
|
- example/mysql_multi_table_to_elasticsearch.md
|
|
119
125
|
- example/mysql_multi_table_to_solr.md
|
|
120
126
|
- example/mysql_single_table_to_elasticsearch.md
|
|
@@ -125,6 +131,11 @@ files:
|
|
|
125
131
|
- lib/fluent/plugin/out_mysql_replicator_elasticsearch.rb
|
|
126
132
|
- lib/fluent/plugin/out_mysql_replicator_solr.rb
|
|
127
133
|
- setup_mysql_replicator_multi.sql
|
|
134
|
+
- test/e2e/e2e_helper.rb
|
|
135
|
+
- test/e2e/fluent_multi.conf
|
|
136
|
+
- test/e2e/fluent_single.conf
|
|
137
|
+
- test/e2e/replication_multi_e2e_test.rb
|
|
138
|
+
- test/e2e/replication_single_e2e_test.rb
|
|
128
139
|
- test/helper.rb
|
|
129
140
|
- test/plugin/test_in_mysql_replicator.rb
|
|
130
141
|
- test/plugin/test_in_mysql_replicator_multi.rb
|
|
@@ -149,13 +160,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
149
160
|
- !ruby/object:Gem::Version
|
|
150
161
|
version: '0'
|
|
151
162
|
requirements: []
|
|
152
|
-
rubygems_version: 3.1
|
|
163
|
+
rubygems_version: 3.0.3.1
|
|
153
164
|
signing_key:
|
|
154
165
|
specification_version: 4
|
|
155
166
|
summary: Fluentd input plugin to track insert/update/delete event from MySQL database
|
|
156
167
|
server. Not only that, it could multiple table replication and generate nested document
|
|
157
168
|
for Elasticsearch/Solr. It's comming support replicate to another RDB/noSQL.
|
|
158
169
|
test_files:
|
|
170
|
+
- test/e2e/e2e_helper.rb
|
|
171
|
+
- test/e2e/fluent_multi.conf
|
|
172
|
+
- test/e2e/fluent_single.conf
|
|
173
|
+
- test/e2e/replication_multi_e2e_test.rb
|
|
174
|
+
- test/e2e/replication_single_e2e_test.rb
|
|
159
175
|
- test/helper.rb
|
|
160
176
|
- test/plugin/test_in_mysql_replicator.rb
|
|
161
177
|
- test/plugin/test_in_mysql_replicator_multi.rb
|
data/.travis.yml
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
language: ruby
|
|
2
|
-
|
|
3
|
-
rvm:
|
|
4
|
-
- 2.4.0
|
|
5
|
-
- 2.3.3
|
|
6
|
-
- 2.2
|
|
7
|
-
- 2.1
|
|
8
|
-
|
|
9
|
-
services:
|
|
10
|
-
- mysql
|
|
11
|
-
- elasticsearch
|
|
12
|
-
|
|
13
|
-
before_install:
|
|
14
|
-
- gem update bundler
|
|
15
|
-
|
|
16
|
-
before_script:
|
|
17
|
-
- mysql < setup_mysql_replicator_multi.sql
|
|
18
|
-
- curl https://raw.github.com/moliware/travis-solr/master/travis-solr.sh | SOLR_VERSION=4.6.1 bash
|