Commit Graph

816 Commits

Author SHA1 Message Date
Jiri Pechanec
e8fc6d1a8c Allow unvalidated SSL connections 2017-05-09 08:02:56 +02:00
Gunnar Morling
3f55398bab DBZ-243 Don't mention default value for "database.server.name" for MySQL connector 2017-05-08 20:24:28 +02:00
Gunnar Morling
baa8119df8 Typo fix 2017-05-08 17:40:19 +02:00
Gunnar Morling
80903b0622 DBZ-237 Using regular Postgres default port in tests 2017-05-05 22:25:17 +02:00
Gunnar Morling
480ba9f507 Adding Brendan Maguire to COPYRIGHT.txt 2017-05-05 21:59:38 +02:00
Gunnar Morling
1158833524 DBZ-238 Removing some trailing whitespace 2017-05-05 21:59:06 +02:00
Gunnar Morling
64958d11db DBZ-238 Moving EnumeratedValue to its own file 2017-05-05 21:55:46 +02:00
Brendan Maguire
928c9cb5f0 DBZ-238: Fix Postgres database.sslmode = "require" bug
* Also added EnumeratedValue interface for Configuration so getValue is used instead of toString when getting the config value
2017-05-05 21:55:45 +02:00
Gunnar Morling
0f58709481 Sorting COPYRIGHT.txt alphabetically 2017-05-04 09:33:19 +02:00
Gunnar Morling
0b0523243b Adding Omar and myself to COPYRIGHT.txt 2017-05-04 09:32:12 +02:00
Gunnar Morling
1074de4efa DBZ-222 Some more clean-up 2017-05-04 09:25:25 +02:00
Gunnar Morling
6eea4c9717 DBZ-222 Some typo fixes 2017-05-04 08:53:51 +02:00
Omar Al-Safi
ea092f1baf DBZ-222 Add null to Point comment 2017-05-04 08:53:46 +02:00
Omar Al-Safi
3d92011277 DBZ-222 Typo cleanup and removed unnecessary assertion 2017-05-04 08:53:34 +02:00
Gunnar Morling
5630b61be6 DBZ-222 dependency clean-up 2017-05-04 08:53:05 +02:00
Omar Al-Safi
2a17748a95 DBZ-222 Readded readbinlog_test.product and readbinlog_test.purchased to MySqlConnectorIT 2017-05-04 08:53:05 +02:00
Omar Al-Safi
791545c5f4 DBZ-222 Added support for MySQL POINT type 2017-05-04 08:53:05 +02:00
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