Commit Graph

499 Commits

Author SHA1 Message Date
Gunnar Morling
e5f38717f0 Adding .checkstyle to .gitignore 2017-05-02 16:15:25 +02:00
Gunnar Morling
27e3ae52fd Merge pull request #217 from jpechane/multiple-grants
DBZ-229 - check all privilege records
2017-04-26 17:12:21 +02:00
Jiri Pechanec
51a1c7cd69 DBZ-229 - check all privilege records 2017-04-26 15:25:59 +02:00
Randall Hauch
c04c5c9997 Merge pull request #213 from rhauch/dbz-121-javadoc
DBZ-121 Corrected JavaDoc and reorganized imports
2017-04-04 16:54:58 -05:00
Randall Hauch
d42736e065 DBZ-121 Corrected JavaDoc and reorganized imports 2017-04-04 16:53:35 -05:00
Randall Hauch
4b2b596241 Merge pull request #210 from WeiBanjo/bugfix/mongodb-new-primary
DBZ-214 Fix MongoDB connector resumes on newly elected primary.
2017-04-04 14:13:08 -05:00
Randall Hauch
e0bd6cddd5 Merge pull request #211 from dasl-/SMT
DBZ-121: routing to custom topic names via Kafka Connect Transformations
2017-04-04 12:49:26 -05:00
Randall Hauch
1248c72836 Merge pull request #212 from rhauch/dbz-213
DBZ-213 Corrected MongoDB connector build
2017-04-04 11:28:37 -05:00
Randall Hauch
bcaf1a88b3 DBZ-213 Corrected MongoDB connector build
Changed how the mongo-init process waits to begin by now looking for the second MongoDB server log message
saying it is ready, since the MongoDB image now has different startup behavior.
2017-04-04 11:13:25 -05:00
dleibovic
8e304c4cba rename fields and simplify descriptions 2017-04-03 11:35:33 -04:00
dleibovic
fa157b0159 make the name of the physical table identifier field added to the key schema configurable 2017-03-31 13:09:32 -04:00
dleibovic
d7acda04c4 DBZ-121: routing to custom topic names via Kafka Connect Transformations. 2017-03-30 15:02:59 -04:00
wei
07fbbac960 Check against current primary before exiting 2017-03-28 18:43:12 -07:00
Randall Hauch
709cd8f3fe [maven-release-plugin] prepare for next development iteration 2017-03-27 11:28:12 -05:00
Randall Hauch
2bc3d45954 [maven-release-plugin] prepare release v0.5.0 2017-03-27 11:28:11 -05:00
Randall Hauch
d0899bd156 Updated changelog for release 0.5.0 2017-03-27 11:24:49 -05:00
Randall Hauch
25adc3f642 Merge pull request #209 from rhauch/dbz-205
DBZ-205 Corrected MySQL connector to handle 2-digit years
2017-03-27 11:10:04 -05:00
Randall Hauch
7d7bccaac1 Merge pull request #208 from rhauch/dbz-198
DBZ-198 Corrected MySQL DDL parser
2017-03-27 11:05:21 -05:00
Randall Hauch
81f62b6961 DBZ-205 Corrected MySQL connector to handle 2-digit years
MySQL has special handling of 2-digit years that it deems are ambiguous, such as the year value `17` that is actually treated as `2017`. Apparently the 2-digit values are stored in MySQL and the interpretation is performed when the data is extracted, so therefore the connector needs to also perform this adjustment of the year values. This commit uses the JDK’s `TemporalAdjuster` interface and passes this down to the requisite temporal-related datatype handling code. The MySQL connector then provides its own `TemporalAdjuster` implementation that adjusts the year values via the excellend JDK `Temporal` methods.

A row in one of the MySQL test databases was changed to use a 2-digit year of `16` while the test method still checks that the year is still 2016`, verifying that the year value is properly adjusted.
2017-03-27 10:58:21 -05:00
Randall Hauch
613e6b6340 Fixed compilation warnings 2017-03-27 10:37:15 -05:00
Randall Hauch
74fbb4a140 DBZ-198 Corrected MySQL DDL parser
The parser now handles `BEGIN…END` blocks better by properly handling `IF()` functions that are not `IF…THEN…END IF` control blocks, and `CASE … WHEN … END CASE` control blocks.
2017-03-24 13:12:46 -05:00
Sanjay Kr Singh
ac4575a13c update mysql-dbz-198.ddl with 3 new test cases for PROCEDURE and 2 test cases for FUNCTION
From L49 - one DDL test case for PROCEDURE ,
From L278 - one DDL test case for FUNCTION ,
From L433 - one more DDL test case for PROCEDURE with CURSOR,
From L713 -  ONE more DDL TEST FOR PROCEDURE,
From L755 - ONE more DDL TEST CASE FOR FUNCTION
2017-03-24 12:29:17 +05:30
Randall Hauch
7a72ed6ae6 Merge pull request #202 from don41382/upgrade-kafka-version-to-0.10.2.0
DBZ-203 Upgrade kafka version from 0.10.1.1 to 0.10.2.0
2017-03-17 17:21:48 -05:00
Randall Hauch
430d756062 [maven-release-plugin] prepare for next development iteration 2017-03-17 15:41:58 -05:00
Randall Hauch
536cbf6300 [maven-release-plugin] prepare release v0.4.1 2017-03-17 15:41:57 -05:00
Randall Hauch
efbaf8ef00 Corrected the links to earlier releases 2017-03-17 15:37:34 -05:00
Randall Hauch
e02de1a2da Merge pull request #206 from rhauch/v0_4_1_changelog
Updated changelog for 0.4.1
2017-03-17 15:34:08 -05:00
Randall Hauch
5fc3e91759 Updated changelog for 0.4.1 2017-03-17 15:33:30 -05:00
Randall Hauch
3d54f811fa Merge pull request #205 from rhauch/dbz-201
DBZ-201 Corrected handling of ObjectID within non-insert events
2017-03-17 15:12:32 -05:00
Randall Hauch
ba49756e3b Merge pull request #204 from rhauch/dbz-204
DBZ-204 Added test case but unable replicate error
2017-03-17 15:03:01 -05:00
Randall Hauch
88b5ffa113 DBZ-201 Corrected handling of ObjectID within non-insert events
Corrected how the MongoDB extracts the event key from the update event’s ObjectID, and verified the behavior with an integration test.
2017-03-17 15:02:29 -05:00
Randall Hauch
2086b779b1 DBZ-204 Added test case but unable replicate error
Added a test case that uses the MySQL DDL parser to parse similar DDL statements to those reported in the issue, but these are properly handled with the current state of the `master` branch.
2017-03-17 14:15:25 -05:00
Randall Hauch
db1aacc5f9 Merge pull request #203 from rhauch/dbz-195
DBZ-195 Added tests to try to replicate a reported issue
2017-03-17 11:02:16 -05:00
Randall Hauch
e5ee3847dd DBZ-195 Added tests to try to replicate a reported issue
Added a table and inserted rows that tries to replicate the problem reported in DBZ-195, but the test was unable to replicate the problem. In fact, this really is no different than existing tests. Changed the log messages so that if/when this happens again it will be possible to know which row was problematic.
2017-03-17 10:47:32 -05:00
Felix Eckhardt
a6a77a8f79 upgraded confluent platform from 3.1.2 to 3.2.0 2017-03-17 13:30:46 +11:00
Felix Eckhardt
5d414c521a upgraded kafka version from 0.10.1.1 to 0.10.2.0 2017-03-17 11:36:15 +11:00
Randall Hauch
a2d6d62fb0 Merge pull request #201 from rhauch/dbz-197
DBZ-197 Corrected MySQL connector to handle invalid enum values
2017-03-16 14:16:23 -05:00
Randall Hauch
ddbc1e07aa DBZ-197 Corrected MySQL connector to handle invalid enum values
MySQL represents an invalid enum literal in the binlog events as an empty string or an value of `0`. Now, when the connector comes across such a value in the binlog, it will instead use an empty string for the enum literal.
2017-03-16 13:55:24 -05:00
Randall Hauch
0c2716d470 Merge pull request #200 from rhauch/dbz-198
DBZ-198 Improved MySQL DDL parser to better handle blocks
2017-03-16 13:46:17 -05:00
Randall Hauch
cf5391482a DBZ-198 Improved MySQL DDL parser to better handle blocks
The MySQL parser now properly handles control blocks such as `BEGIN…END`, `IF…END IF`, `REPEAT…END REPEAT`, and `LOOP…END LOOP`, even in cases where the block is preceded by and terminated by a label.
2017-03-16 13:32:21 -05:00
Randall Hauch
06d9bcb092 Merge pull request #199 from dasl-/daylightsavings
DBZ-202 Fix daylight savings test issues
2017-03-15 15:41:41 -05:00
dleibovic
782ccc66e5 fix daylight savings test issues 2017-03-15 15:44:03 -04:00
Randall Hauch
59ffd7011b Merge pull request #198 from richoconnell/DBZ-140
DBZ-140: modify the query used to fetch the table list so that it includes tables only (no views)
2017-03-15 14:37:39 -05:00
rich
06a25f8fd9 modify the query used to fetch the table list so that it includes tables only(no views) 2017-03-15 13:56:52 -04:00
Randall Hauch
f5c1e823b3 Merge pull request #196 from rhauch/dbz-200
DBZ-200 Corrected MySQL DDL parser to better handle column definitions
2017-03-08 13:21:42 -06:00
Randall Hauch
b48ccce4b5 DBZ-200 Corrected MySQL DDL parser to better handle column definitions
Apparently not all reserved words must be quoted when using them as colum names, so refactored MySQL’s DDL parser to better handle a variety of unquoted colum names that are reserved words.
2017-03-08 12:12:27 -06:00
Randall Hauch
e0a631431b Merge pull request #195 from p5k6/fix_mysql_savepoint
DBZ-196 Handle SAVEPOINT statements appearing in a MySQL replication stream
2017-03-08 10:42:57 -06:00
Josh Stanfield
c794416684 update to allow savepoint in mysql replication stream 2017-03-08 09:28:10 -07:00
Randall Hauch
8f9fb7a7cd Merge pull request #191 from dasl-/mysql-init
Increase the default mysql init timeout to 60 seconds for slower comp…
2017-02-24 07:03:47 -05:00
Randall Hauch
665cf346d9 Merge pull request #192 from hchiorean/DBZ-158
DBZ-158 Changes the version of the Postgres JDBC driver to 42.0.0
2017-02-24 06:40:30 -05:00