ecco 0.8.0-java → 1.0.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +37 -0
- data/CHANGELOG.md +49 -2
- data/README.md +4 -7
- data/docker/ecco-java.security +3 -0
- data/ecco.gemspec +1 -1
- data/lib/ecco/client.rb +1 -0
- data/lib/ecco/event_listener.rb +21 -1
- data/lib/ecco/row_event_listener.rb +6 -23
- data/lib/ecco/save_event_listener.rb +9 -15
- data/lib/ecco/version.rb +2 -2
- data/lib/ext/mysql-binlog-connector-java-0.25.1.jar +0 -0
- data/pom.xml +2 -2
- metadata +15 -15
- data/.travis.yml +0 -34
- data/docker-compose-mysql-5-6.yml +0 -5
- data/lib/ext/mysql-binlog-connector-java-0.21.0.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcc0014afbb807fd4af02e4d2d28df3db7dabbc13b40aebca03902d1bb9ae2e4
|
4
|
+
data.tar.gz: 9985341f1e8b0d2f9c2c28825181463dcf19f87fa79cb6e66510ba040774a28d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b488e13f695d9d3f41ae1ee28b8d0630506130f66d8b992058c067a51f82a70d6528201c5c53889dbcede9b9b8e8216e953e846f7a15a7f1d279876e8f7ac2da
|
7
|
+
data.tar.gz: 950e8a354dfc1f2bbd72a638cc18a823d52f51c310a20e186df8b87ff192652e03349be27a91f9b3a9c8acc3bd337ffbb445ce303b01a259ba811f732b8ee233
|
@@ -0,0 +1,37 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
pull_request:
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
build:
|
9
|
+
env:
|
10
|
+
JRUBY_OPTS: '-J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-Xss2m -Xcompile.invokedynamic=false'
|
11
|
+
JAVA_OPTS: ${{ matrix.java_opts }}
|
12
|
+
|
13
|
+
runs-on: ubuntu-18.04
|
14
|
+
|
15
|
+
strategy:
|
16
|
+
matrix:
|
17
|
+
include:
|
18
|
+
- mysql: 5-7
|
19
|
+
java_opts: '-Djava.security.properties=docker/ecco-java.security' # Enable TLS 1.1, required by MySQL 5.7
|
20
|
+
- mysql: 8-0
|
21
|
+
java_opts: ''
|
22
|
+
|
23
|
+
steps:
|
24
|
+
- name: Checkout code
|
25
|
+
uses: actions/checkout@v2
|
26
|
+
|
27
|
+
- name: Start MySQL container
|
28
|
+
run: docker-compose -f docker-compose-mysql-base.yml -f docker-compose-mysql-${{ matrix.mysql }}.yml up -d
|
29
|
+
|
30
|
+
- name: Setup Ruby
|
31
|
+
uses: ruby/setup-ruby@v1
|
32
|
+
with:
|
33
|
+
ruby-version: jruby-9.2.18.0
|
34
|
+
bundler-cache: true
|
35
|
+
|
36
|
+
- name: Run tests
|
37
|
+
run: bin/all_specs
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,42 @@
|
|
1
|
-
#
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [v0.8.0](https://github.com/twingly/ecco/tree/v0.8.0) (2020-10-23)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/twingly/ecco/compare/v0.7.0...v0.8.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Drop MySQL 5.5 support [\#45](https://github.com/twingly/ecco/issues/45)
|
10
|
+
- Update Vagrant box to ubuntu/bionic64 [\#39](https://github.com/twingly/ecco/issues/39)
|
11
|
+
|
12
|
+
**Closed issues:**
|
13
|
+
|
14
|
+
- Update mysql-binlog-connector [\#18](https://github.com/twingly/ecco/issues/18)
|
15
|
+
|
16
|
+
**Merged pull requests:**
|
17
|
+
|
18
|
+
- Run tests on Travis CI against MySQL 5.6/5.7/8.0 [\#53](https://github.com/twingly/ecco/pull/53) ([Chrizpy](https://github.com/Chrizpy))
|
19
|
+
- Update JRuby to 9.2.13.0 [\#50](https://github.com/twingly/ecco/pull/50) ([Chrizpy](https://github.com/Chrizpy))
|
20
|
+
- Update mysql-binlog-connector-java to 0.21.0 [\#48](https://github.com/twingly/ecco/pull/48) ([walro](https://github.com/walro))
|
21
|
+
- Drop JRuby 9.1 support [\#47](https://github.com/twingly/ecco/pull/47) ([walro](https://github.com/walro))
|
22
|
+
- Drop offical support for MySQL 5.5 [\#46](https://github.com/twingly/ecco/pull/46) ([walro](https://github.com/walro))
|
23
|
+
- Bump rake version [\#44](https://github.com/twingly/ecco/pull/44) ([walro](https://github.com/walro))
|
24
|
+
- Update mysql-binlog-connector-java to 0.20.1 [\#43](https://github.com/twingly/ecco/pull/43) ([roback](https://github.com/roback))
|
25
|
+
- Run MySQL 5.6 in Docker on Travis CI [\#42](https://github.com/twingly/ecco/pull/42) ([walro](https://github.com/walro))
|
26
|
+
- Replace Vagrant with Docker \(Compose\) [\#40](https://github.com/twingly/ecco/pull/40) ([walro](https://github.com/walro))
|
27
|
+
- Update mysql-binlog-connector to 0.19.1 [\#38](https://github.com/twingly/ecco/pull/38) ([roback](https://github.com/roback))
|
28
|
+
- Use JRuby 9.2.7.0 on Travis CI [\#37](https://github.com/twingly/ecco/pull/37) ([roback](https://github.com/roback))
|
29
|
+
- Run Travis CI tests on 9.2.6.0 [\#36](https://github.com/twingly/ecco/pull/36) ([walro](https://github.com/walro))
|
30
|
+
- Update mysql-binlog-connector to 0.19.0 [\#35](https://github.com/twingly/ecco/pull/35) ([roback](https://github.com/roback))
|
31
|
+
- Update mysql-binlog-connector dependency to 0.18.0 [\#34](https://github.com/twingly/ecco/pull/34) ([walro](https://github.com/walro))
|
32
|
+
- Run latest JRuby on Travis and ensure we stick to bundler 1.x [\#33](https://github.com/twingly/ecco/pull/33) ([walro](https://github.com/walro))
|
33
|
+
- Test with latest version of JRuby 9.2.x [\#31](https://github.com/twingly/ecco/pull/31) ([walro](https://github.com/walro))
|
34
|
+
- Test with the latest rubies [\#30](https://github.com/twingly/ecco/pull/30) ([walro](https://github.com/walro))
|
35
|
+
- Accessor methods for connect\_timeout and heartbeat\_interval [\#28](https://github.com/twingly/ecco/pull/28) ([roback](https://github.com/roback))
|
36
|
+
- Update mysql-binlog-connector dependency to 0.16.1 [\#27](https://github.com/twingly/ecco/pull/27) ([walro](https://github.com/walro))
|
2
37
|
|
3
38
|
## [v0.7.0](https://github.com/twingly/ecco/tree/v0.7.0) (2016-10-07)
|
39
|
+
|
4
40
|
[Full Changelog](https://github.com/twingly/ecco/compare/v0.6.1...v0.7.0)
|
5
41
|
|
6
42
|
**Implemented enhancements:**
|
@@ -13,6 +49,7 @@
|
|
13
49
|
- Add changelog [\#21](https://github.com/twingly/ecco/pull/21) ([dentarg](https://github.com/dentarg))
|
14
50
|
|
15
51
|
## [v0.6.1](https://github.com/twingly/ecco/tree/v0.6.1) (2016-07-18)
|
52
|
+
|
16
53
|
[Full Changelog](https://github.com/twingly/ecco/compare/v0.6.0...v0.6.1)
|
17
54
|
|
18
55
|
**Merged pull requests:**
|
@@ -22,6 +59,7 @@
|
|
22
59
|
- Improve rake task description [\#17](https://github.com/twingly/ecco/pull/17) ([jage](https://github.com/jage))
|
23
60
|
|
24
61
|
## [v0.6.0](https://github.com/twingly/ecco/tree/v0.6.0) (2015-12-04)
|
62
|
+
|
25
63
|
[Full Changelog](https://github.com/twingly/ecco/compare/v0.5.0...v0.6.0)
|
26
64
|
|
27
65
|
**Closed issues:**
|
@@ -33,6 +71,7 @@
|
|
33
71
|
- Implement Ecco::Client\#connected? [\#15](https://github.com/twingly/ecco/pull/15) ([jage](https://github.com/jage))
|
34
72
|
|
35
73
|
## [v0.5.0](https://github.com/twingly/ecco/tree/v0.5.0) (2015-11-26)
|
74
|
+
|
36
75
|
[Full Changelog](https://github.com/twingly/ecco/compare/v0.4.1...v0.5.0)
|
37
76
|
|
38
77
|
**Fixed bugs:**
|
@@ -46,6 +85,7 @@
|
|
46
85
|
- Add \#on\_communication\_failure [\#9](https://github.com/twingly/ecco/pull/9) ([walro](https://github.com/walro))
|
47
86
|
|
48
87
|
## [v0.4.1](https://github.com/twingly/ecco/tree/v0.4.1) (2015-11-19)
|
88
|
+
|
49
89
|
[Full Changelog](https://github.com/twingly/ecco/compare/v0.4.0...v0.4.1)
|
50
90
|
|
51
91
|
**Implemented enhancements:**
|
@@ -58,6 +98,7 @@
|
|
58
98
|
- Minor refactoring [\#6](https://github.com/twingly/ecco/pull/6) ([dentarg](https://github.com/dentarg))
|
59
99
|
|
60
100
|
## [v0.4.0](https://github.com/twingly/ecco/tree/v0.4.0) (2015-11-18)
|
101
|
+
|
61
102
|
[Full Changelog](https://github.com/twingly/ecco/compare/v0.3.1...v0.4.0)
|
62
103
|
|
63
104
|
**Implemented enhancements:**
|
@@ -69,9 +110,11 @@
|
|
69
110
|
- Add integration tests [\#3](https://github.com/twingly/ecco/pull/3) ([roback](https://github.com/roback))
|
70
111
|
|
71
112
|
## [v0.3.1](https://github.com/twingly/ecco/tree/v0.3.1) (2015-11-09)
|
113
|
+
|
72
114
|
[Full Changelog](https://github.com/twingly/ecco/compare/v0.3.0...v0.3.1)
|
73
115
|
|
74
116
|
## [v0.3.0](https://github.com/twingly/ecco/tree/v0.3.0) (2015-11-09)
|
117
|
+
|
75
118
|
[Full Changelog](https://github.com/twingly/ecco/compare/v0.2.0...v0.3.0)
|
76
119
|
|
77
120
|
**Merged pull requests:**
|
@@ -79,9 +122,13 @@
|
|
79
122
|
- Implement basic functionality [\#1](https://github.com/twingly/ecco/pull/1) ([walro](https://github.com/walro))
|
80
123
|
|
81
124
|
## [v0.2.0](https://github.com/twingly/ecco/tree/v0.2.0) (2015-10-27)
|
125
|
+
|
82
126
|
[Full Changelog](https://github.com/twingly/ecco/compare/v0.1.0...v0.2.0)
|
83
127
|
|
84
128
|
## [v0.1.0](https://github.com/twingly/ecco/tree/v0.1.0) (2015-10-27)
|
85
129
|
|
130
|
+
[Full Changelog](https://github.com/twingly/ecco/compare/2296b8e6dadf9b7c4daa6d8fbe08fc78de8f8fc4...v0.1.0)
|
131
|
+
|
132
|
+
|
86
133
|
|
87
|
-
\* *This
|
134
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Ecco
|
2
2
|
|
3
|
-
[![Build Status](https://
|
3
|
+
[![GitHub Build Status](https://github.com/twingly/ecco/workflows/CI/badge.svg?branch=master)](https://github.com/twingly/ecco/actions)
|
4
4
|
|
5
|
-
MySQL (5.
|
5
|
+
MySQL (5.7 and 8.0) replication binlog parser using [mysql-binlog-connector-java].
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -65,7 +65,7 @@ client.start
|
|
65
65
|
|
66
66
|
To download a new version of [mysql-binlog-connector-java]
|
67
67
|
|
68
|
-
rake maven:dependencies
|
68
|
+
bundle exec rake maven:dependencies
|
69
69
|
|
70
70
|
Note: You need Maven to download
|
71
71
|
|
@@ -96,9 +96,6 @@ Ecco includes multiple Docker Compose definitions that can be used for this, one
|
|
96
96
|
Start the desired version before running the tests:
|
97
97
|
|
98
98
|
```shell
|
99
|
-
# MySQL 5.6
|
100
|
-
docker-compose -f docker-compose-mysql-base.yml -f docker-compose-mysql-5-6.yml up
|
101
|
-
|
102
99
|
# MySQL 5.7
|
103
100
|
docker-compose -f docker-compose-mysql-base.yml -f docker-compose-mysql-5-7.yml up
|
104
101
|
|
@@ -131,5 +128,5 @@ Make a commit with the changelog changes and push.
|
|
131
128
|
|
132
129
|
The gem is available as open source under the terms of the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
|
133
130
|
|
134
|
-
[mysql-binlog-connector-java]: https://github.com/
|
131
|
+
[mysql-binlog-connector-java]: https://github.com/osheroff/mysql-binlog-connector-java
|
135
132
|
[GitHub Changelog Generator]: https://github.com/skywinder/github-changelog-generator/
|
data/ecco.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_development_dependency "bundler", "
|
22
|
+
spec.add_development_dependency "bundler", ">= 2.1.0"
|
23
23
|
spec.add_development_dependency "rake", "~> 12"
|
24
24
|
spec.add_development_dependency "rspec"
|
25
25
|
spec.add_development_dependency "sequel"
|
data/lib/ecco/client.rb
CHANGED
data/lib/ecco/event_listener.rb
CHANGED
@@ -3,15 +3,35 @@ module Ecco
|
|
3
3
|
include com.github.shyiko.mysql.binlog.BinaryLogClient::EventListener
|
4
4
|
java_import com.github.shyiko.mysql.binlog.event.EventType
|
5
5
|
|
6
|
+
WRITE_EVENTS = { EventType::WRITE_ROWS => "WRITE_ROWS", EventType::EXT_WRITE_ROWS => "WRITE_ROWS" }
|
7
|
+
UPDATE_EVENTS = { EventType::UPDATE_ROWS => "UPDATE_ROWS", EventType::EXT_UPDATE_ROWS => "UPDATE_ROWS" }
|
8
|
+
DELETE_EVENTS = { EventType::DELETE_ROWS => "DELETE_ROWS" , EventType::EXT_DELETE_ROWS => "DELETE_ROWS" }
|
9
|
+
QUERY_EVENTS = { EventType::QUERY => "QUERY"}
|
10
|
+
ROTATE_EVENTS = { EventType::ROTATE => "ROTATE"}
|
11
|
+
|
12
|
+
TABLE_EVENT = EventType::TABLE_MAP
|
13
|
+
|
6
14
|
attr_writer :callback
|
7
15
|
|
8
|
-
def initialize(client)
|
16
|
+
def initialize(client, events_of_interest)
|
9
17
|
@client = client
|
18
|
+
|
19
|
+
@events_of_interest = events_of_interest.reduce(&:merge)
|
20
|
+
@accepted_events = @events_of_interest.keys
|
21
|
+
|
10
22
|
@callback = Proc.new {}
|
11
23
|
end
|
12
24
|
|
13
25
|
def on_event(event)
|
14
26
|
raise NotImplementedError
|
15
27
|
end
|
28
|
+
|
29
|
+
def accepted_events
|
30
|
+
@accepted_events
|
31
|
+
end
|
32
|
+
|
33
|
+
def event_type_to_string(type)
|
34
|
+
@events_of_interest.fetch(type)
|
35
|
+
end
|
16
36
|
end
|
17
37
|
end
|
@@ -3,19 +3,8 @@ require "ecco/row_event"
|
|
3
3
|
|
4
4
|
module Ecco
|
5
5
|
class RowEventListener < EventListener
|
6
|
-
|
7
|
-
|
8
|
-
UPDATE_EVENTS = [EventType::UPDATE_ROWS, EventType::EXT_UPDATE_ROWS]
|
9
|
-
DELETE_EVENTS = [EventType::DELETE_ROWS, EventType::EXT_DELETE_ROWS]
|
10
|
-
|
11
|
-
ROW_EVENTS = WRITE_EVENTS + UPDATE_EVENTS + DELETE_EVENTS
|
12
|
-
|
13
|
-
def table_event
|
14
|
-
EventType::TABLE_MAP
|
15
|
-
end
|
16
|
-
|
17
|
-
def accepted_events
|
18
|
-
ROW_EVENTS
|
6
|
+
def initialize(client)
|
7
|
+
super(client, events_of_interest)
|
19
8
|
end
|
20
9
|
|
21
10
|
def on_event(event)
|
@@ -23,13 +12,13 @@ module Ecco
|
|
23
12
|
type = event.get_header.get_event_type
|
24
13
|
|
25
14
|
case type
|
26
|
-
when
|
15
|
+
when TABLE_EVENT
|
27
16
|
@table_map_event = event
|
28
17
|
when *accepted_events
|
29
18
|
row_event = Ecco::RowEvent.new
|
30
19
|
row_event.table_id = data.get_table_id
|
31
20
|
row_event.rows = data.rows
|
32
|
-
row_event.type =
|
21
|
+
row_event.type = event_type_to_string(type)
|
33
22
|
|
34
23
|
if @table_map_event
|
35
24
|
table_event_data = @table_map_event.get_data
|
@@ -44,14 +33,8 @@ module Ecco
|
|
44
33
|
|
45
34
|
private
|
46
35
|
|
47
|
-
def
|
48
|
-
|
49
|
-
"WRITE_ROWS"
|
50
|
-
elsif UPDATE_EVENTS.include?(type)
|
51
|
-
"UPDATE_ROWS"
|
52
|
-
elsif DELETE_EVENTS.include?(type)
|
53
|
-
"DELETE_ROWS"
|
54
|
-
end
|
36
|
+
def events_of_interest
|
37
|
+
[WRITE_EVENTS, UPDATE_EVENTS, DELETE_EVENTS]
|
55
38
|
end
|
56
39
|
end
|
57
40
|
end
|
@@ -2,32 +2,26 @@ require "ecco/event_listener"
|
|
2
2
|
|
3
3
|
module Ecco
|
4
4
|
class SaveEventListener < EventListener
|
5
|
-
|
6
|
-
|
7
|
-
EventType::ROTATE => "ROTATE",
|
8
|
-
EventType::WRITE_ROWS => "WRITE_ROWS",
|
9
|
-
EventType::EXT_WRITE_ROWS => "WRITE_ROWS",
|
10
|
-
EventType::UPDATE_ROWS => "UPDATE_ROWS",
|
11
|
-
EventType::EXT_UPDATE_ROWS => "UPDATE_ROWS",
|
12
|
-
EventType::DELETE_ROWS => "DELETE_ROWS",
|
13
|
-
EventType::EXT_DELETE_ROWS => "DELETE_ROWS",
|
14
|
-
}
|
15
|
-
|
16
|
-
def accepted_events
|
17
|
-
SAVE_EVENTS.keys
|
5
|
+
def initialize(client)
|
6
|
+
super(client, events_of_interest)
|
18
7
|
end
|
19
8
|
|
20
9
|
def on_event(event)
|
21
10
|
type = event.get_header.get_event_type
|
22
|
-
|
23
11
|
case type
|
24
12
|
when *accepted_events
|
25
13
|
filename = @client.get_binlog_filename
|
26
14
|
position = @client.get_binlog_position
|
27
|
-
event_type_name =
|
15
|
+
event_type_name = event_type_to_string(type)
|
28
16
|
|
29
17
|
@callback.call(filename, position, event_type_name)
|
30
18
|
end
|
31
19
|
end
|
20
|
+
|
21
|
+
private
|
22
|
+
|
23
|
+
def events_of_interest
|
24
|
+
[WRITE_EVENTS, UPDATE_EVENTS, DELETE_EVENTS, QUERY_EVENTS, ROTATE_EVENTS]
|
25
|
+
end
|
32
26
|
end
|
33
27
|
end
|
data/lib/ecco/version.rb
CHANGED
Binary file
|
data/pom.xml
CHANGED
@@ -12,9 +12,9 @@
|
|
12
12
|
|
13
13
|
<dependencies>
|
14
14
|
<dependency>
|
15
|
-
<groupId>com.
|
15
|
+
<groupId>com.zendesk</groupId>
|
16
16
|
<artifactId>mysql-binlog-connector-java</artifactId>
|
17
|
-
<version>0.
|
17
|
+
<version>0.25.1</version>
|
18
18
|
</dependency>
|
19
19
|
</dependencies>
|
20
20
|
</project>
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecco
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Twingly AB
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- - "
|
16
|
+
- - ">="
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version:
|
18
|
+
version: 2.1.0
|
19
19
|
name: bundler
|
20
|
-
type: :development
|
21
20
|
prerelease: false
|
21
|
+
type: :development
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
@@ -31,8 +31,8 @@ dependencies:
|
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '12'
|
33
33
|
name: rake
|
34
|
-
type: :development
|
35
34
|
prerelease: false
|
35
|
+
type: :development
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
@@ -45,8 +45,8 @@ dependencies:
|
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
47
|
name: rspec
|
48
|
-
type: :development
|
49
48
|
prerelease: false
|
49
|
+
type: :development
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
@@ -59,8 +59,8 @@ dependencies:
|
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '0'
|
61
61
|
name: sequel
|
62
|
-
type: :development
|
63
62
|
prerelease: false
|
63
|
+
type: :development
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
@@ -73,8 +73,8 @@ dependencies:
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
name: jdbc-mysql
|
76
|
-
type: :development
|
77
76
|
prerelease: false
|
77
|
+
type: :development
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
@@ -87,10 +87,10 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
+
- ".github/workflows/ci.yml"
|
90
91
|
- ".gitignore"
|
91
92
|
- ".rspec"
|
92
93
|
- ".ruby-version"
|
93
|
-
- ".travis.yml"
|
94
94
|
- CHANGELOG.md
|
95
95
|
- Gemfile
|
96
96
|
- README.md
|
@@ -98,10 +98,10 @@ files:
|
|
98
98
|
- bin/all_specs
|
99
99
|
- bin/console
|
100
100
|
- bin/specs
|
101
|
-
- docker-compose-mysql-5-6.yml
|
102
101
|
- docker-compose-mysql-5-7.yml
|
103
102
|
- docker-compose-mysql-8-0.yml
|
104
103
|
- docker-compose-mysql-base.yml
|
104
|
+
- docker/ecco-java.security
|
105
105
|
- docker/ecco-my.cnf
|
106
106
|
- ecco.gemspec
|
107
107
|
- lib/ecco.rb
|
@@ -113,7 +113,7 @@ files:
|
|
113
113
|
- lib/ecco/row_event_listener.rb
|
114
114
|
- lib/ecco/save_event_listener.rb
|
115
115
|
- lib/ecco/version.rb
|
116
|
-
- lib/ext/mysql-binlog-connector-java-0.
|
116
|
+
- lib/ext/mysql-binlog-connector-java-0.25.1.jar
|
117
117
|
- pom.xml
|
118
118
|
homepage: https://github.com/twingly/ecco
|
119
119
|
licenses:
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
- !ruby/object:Gem::Version
|
135
135
|
version: '0'
|
136
136
|
requirements: []
|
137
|
-
rubygems_version: 3.
|
137
|
+
rubygems_version: 3.1.6
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: MySQL replication binlog parser.
|
data/.travis.yml
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
dist: bionic
|
2
|
-
language: ruby
|
3
|
-
services:
|
4
|
-
- docker
|
5
|
-
|
6
|
-
addons:
|
7
|
-
apt:
|
8
|
-
packages:
|
9
|
-
- haveged # Extra entropy
|
10
|
-
|
11
|
-
before_install:
|
12
|
-
- sudo service haveged start # Extra entropy to ensure quick start time for JRuby
|
13
|
-
- rvm get master
|
14
|
-
- rvm install jruby-9.2.13.0
|
15
|
-
- rvm use jruby-9.2.13.0
|
16
|
-
- gem install bundler -v '< 2'
|
17
|
-
- docker-compose -f docker-compose-mysql-base.yml -f docker-compose-mysql-$MYSQL_VERSION.yml up -d
|
18
|
-
|
19
|
-
env:
|
20
|
-
global:
|
21
|
-
- JRUBY_OPTS='--client -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-Xss2m -Xcompile.invokedynamic=false'
|
22
|
-
jobs:
|
23
|
-
- MYSQL_VERSION="5-6"
|
24
|
-
- MYSQL_VERSION="5-7"
|
25
|
-
- MYSQL_VERSION="8-0"
|
26
|
-
|
27
|
-
jobs:
|
28
|
-
allow_failures:
|
29
|
-
- env: MYSQL_VERSION="8-0"
|
30
|
-
|
31
|
-
script: bin/all_specs
|
32
|
-
|
33
|
-
notifications:
|
34
|
-
email: false
|
Binary file
|