Jiri Pechanec
0b269a6e41
DBZ-538 Improve invalid DDL statement reporting
2018-01-12 12:26:30 +01:00
Jiri Pechanec
2a7377a833
DBZ-455 Use valueOf instead of constructors
2018-01-05 02:32:37 +01:00
Jenkins user
6bb34b42f9
[maven-release-plugin] prepare for next development iteration
2017-12-20 07:15:12 +00:00
Jenkins user
16dcd4c980
[maven-release-plugin] prepare release v0.7.1
2017-12-20 07:15:12 +00:00
Jenkins user
5e09932cb9
[maven-release-plugin] prepare for next development iteration
2017-12-15 05:10:23 +00:00
Jenkins user
6c1d61e03b
[maven-release-plugin] prepare release v0.7.0
2017-12-15 05:10:23 +00:00
Gunnar Morling
4e8cedd094
DBZ-379 Postgres connector minimizes use of JDBC metadata
2017-12-13 12:20:37 +01:00
Jiri Pechanec
5ae236241b
DBZ-469 Fixed a backslash regex in testcase
2017-12-11 16:58:23 +01:00
Gunnar Morling
8e99dc3abd
DBZ-469 Adding one more test case
2017-12-11 16:58:23 +01:00
Gunnar Morling
1c55e41941
DBZ-469 Renaming listOfRegex() to setOfRegex();
...
* Simplifying test of that method
* Adding test to ensure correctness of default DDL pattern
2017-12-11 16:58:23 +01:00
Jiri Pechanec
86d9e109fc
DBZ-469 Filter our RDS heartbeat INSERT statements
2017-12-11 16:58:23 +01:00
rkerner
c7ac481c43
[DBZ-342] fix broken MySQL data type "TIME" handling
2017-11-29 20:34:12 +01:00
Gunnar Morling
a55227aa83
DBZ-464 Don't stop after reaching max retry count, but raise an exception instead;
...
Also increasing default value, as the connector can't start its work without fully recovering the history
2017-11-28 08:47:27 +01:00
Gunnar Morling
6537d904ce
DBZ-464 Reading until end offset of history topic
2017-11-28 08:47:27 +01:00
Gunnar Morling
bc2d0e5956
DBZ-464 Removing unused method parameters from AbstractDatabaseHistory#recoverRecords()
2017-11-28 08:47:27 +01:00
Jiri Pechanec
20a2cdfdea
DBZ-476 Doubled quotes are parsed as escaped
2017-11-23 14:51:51 +01:00
Jiri Pechanec
57e7f84163
DBZ-479 Forced fsync slows down tests
2017-11-22 14:34:59 +01:00
Gunnar Morling
2b3276be1d
DBZ-478 Correctly handling null value converters;
...
* using simple for loop for the sake of easier debugging
* log info about unsupported column type on WARN rather than TRACE level
2017-11-22 09:43:10 +01:00
David Szabo
1c07ff4775
DBZ-466 Remove hardcoding of schema version number, leaving it empty instead
2017-11-16 17:43:14 +01:00
Jiri Pechanec
4d253d2987
DBZ-437 String tokens and SQL words are handled separately in procedure parsing
2017-11-14 09:40:54 +01:00
Jiri Pechanec
5e7714eb00
DBZ-456 Reduce text execution time
2017-11-14 06:47:32 +01:00
Henryk Konsek
be40502cc7
DBZ-323 Cluster and server properties should be added into config, not set as default ones
2017-11-13 16:35:57 +01:00
Gunnar Morling
2744f54e9d
DBZ-438 Renaming BufferedBlockingConsumer#flush() to close() to make clear it's onyl meant to be called once at the end
2017-11-13 14:19:39 +01:00
Gunnar Morling
2b62943e4f
DBZ-438 Avoiding issues due to concurrent usage of BufferedBlockingConsumer
2017-11-13 14:19:39 +01:00
Gunnar Morling
5fbe742be8
DBZ-285 Specifying scope of dependencies in the individual POMs for the sake of comprehensibility
2017-11-10 16:48:32 +01:00
Gunnar Morling
580647b226
DBZ-285 Making more dependencies "provided"
2017-11-10 16:33:02 +01:00
Ewen Cheslack-Postava
8826669b43
DBZ-285: Use provided or test dependencies for Connect and Kafka dependencies
2017-11-04 12:01:24 -07:00
Jiri Pechanec
a6bd883857
DBZ-432 Rebased to Kafka 1.0.0
2017-11-03 11:06:18 +01:00
Jiri Pechanec
e841cbd609
DBZ-429 Fixed signed default value handling
2017-11-03 06:13:05 +01:00
Gunnar Morling
3f410c20e5
DBZ-422 Using existing constants BigDecimal.ONE and ZERO;
...
Also using valueOf() methods to benefit from internal caching for most numeric types
2017-11-02 12:23:06 +01:00
pmx
3c91ad47ec
DBZ-422 Extracting numeric constants and boolean conversions into NumberConversions class
2017-11-02 12:12:54 +01:00
pmx
c3ce7c571a
DBZ-422 Making sure convertSmallInt() always returns a short
2017-11-02 12:12:54 +01:00
Jiri Pechanec
f93e1e9bcd
DBZ-395 Make temp table regex stricter
2017-10-26 11:11:22 +02:00
Jiri Pechanec
1c6e652c71
DBZ-395 Filter out DROP TEMPORARY TABLE statements
2017-10-26 11:11:22 +02:00
Ben Williams
a3b4fedd5f
DBZ-363 Add support for BIGINT UNSIGNED handling for MySQL
2017-10-18 10:20:03 +02:00
Gunnar Morling
73189892b3
DBZ-258 Misc. improvements while reviewing the change;
...
* Removing superfluous config option
* Making loggers static
* JavaDoc fixes
* Extracting hexStringToByteArray() to helper and adding test
* Removing superfluous super() invocations
2017-10-18 09:21:22 +02:00
Jiri Pechanec
e47b4cb81c
DBZ-258 Changes after first review
2017-10-18 09:21:22 +02:00
Jiri Pechanec
0bc8129961
DBZ-258 Support for wal2json plugin
2017-10-18 09:21:22 +02:00
Jenkins user
75937711fa
[maven-release-plugin] prepare for next development iteration
2017-09-21 04:42:02 +00:00
Jenkins user
a89b9332e4
[maven-release-plugin] prepare release v0.6.0
2017-09-21 04:42:02 +00:00
Gunnar Morling
7f20aca03d
DBZ-226 Minor wording and formatting improvements
2017-09-20 15:11:13 +02:00
Jiri Pechanec
0afb687303
DBZ-226 SMT to change CDC to simple record
2017-09-20 12:05:12 +02:00
Jiri Pechanec
ba3d7d762b
DBZ-318 Support for a Decimale with variable scale schema
2017-09-19 08:39:07 +02:00
Gunnar Morling
99f39038bb
DBZ-347 Formatting
2017-09-18 17:04:14 +02:00
Jiri Pechanec
61ccefcc5c
DBZ-347 Configurable behaviour for unknown DDL, failing by default
2017-09-18 17:02:21 +02:00
Jiri Pechanec
f7736cd0ab
DBZ-341 Ignore malformed messages coming from database history
2017-09-18 17:02:21 +02:00
Jiri Pechanec
01980cf29b
DBZ-341 Ignore malformed messages coming from database history
2017-09-15 11:52:18 +02:00
Jiri Pechanec
b53b4f67d2
DBZ-319 Views are now ignored in snapshots
2017-09-15 11:37:38 +02:00
Jiri Pechanec
e4bc6670c8
DBZ-305 Rebase build process against Kafka 0.11
2017-08-17 18:51:01 +02:00
Jenkins user
214696ef0c
[maven-release-plugin] prepare for next development iteration
2017-08-17 11:51:05 +00:00
Jenkins user
c867e6fea6
[maven-release-plugin] prepare release v0.5.2
2017-08-17 11:51:05 +00:00
Gunnar Morling
1665026c8a
DBZ-298 Adding support for quoted identifiers for schemas, tables and
...
columns; expanding test
2017-08-17 09:08:17 +02:00
Gunnar Morling
564d90dc09
DBZ-298 Formatting
2017-08-17 09:03:16 +02:00
Gunnar Morling
a4dc7620fe
DBZ-327 Simplifying validation implementation a bit via Strings#isNullOrEmpty()
2017-08-16 14:37:01 +02:00
Mario Mueller
2a2f911e74
DBZ-327 Fix broken SMT validation and add some tests for the
...
configuration combinations
2017-08-16 11:57:48 +02:00
Emrul Islam
bb79b2f60f
DBZ-297 Initial support for some Postgres array types (one-dimensional only)
2017-07-27 10:04:13 +02:00
Gunnar Morling
79fbc028a8
DBZ-311 Precompiling and simplifying some regular expressions
2017-07-25 21:43:26 +02:00
Gunnar Morling
825530256e
DBZ-311 Removing trailing whitespace
2017-07-25 21:43:26 +02:00
Gunnar Morling
a8d1817c22
[maven-release-plugin] prepare for next development iteration
2017-06-09 16:14:31 +00:00
Gunnar Morling
3f512aace7
[maven-release-plugin] prepare release v0.5.1
2017-06-09 16:14:31 +00:00
Gunnar Morling
2a22f3d4b0
DBZ-254 Right-padding values for fixed-length BINARY columns with 0x00 (zero byte) characters for MySQL;
...
Also fixing JDBC types for binary data types for MySQL.
2017-05-30 15:04:38 +02:00
Tom Bentley
96eda35da5
Respect any existing auto.create.topics.enable when creating a server
2017-05-23 16:58:12 +01:00
dleibovic
a683629519
Change ByLogicalTableRouter logging from info to debug
...
This can be a bit spammy in the info level
2017-05-19 12:09:40 -04:00
Randall Hauch
02e655fa53
DBZ-198 Add another DDL parser test case
...
Added an additional test that is unable to reproduce the problem reported on April 4.
2017-05-19 15:50:03 +02:00
Jiri Pechanec
ec915c559c
[DBZ-246] Correctly handle enumeratedvale type
2017-05-09 11:24:28 +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
1074de4efa
DBZ-222 Some more clean-up
2017-05-04 09:25:25 +02:00
Omar Al-Safi
ea092f1baf
DBZ-222 Add null to Point comment
2017-05-04 08:53:46 +02:00
Gunnar Morling
5630b61be6
DBZ-222 dependency clean-up
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
Randall Hauch
d42736e065
DBZ-121 Corrected JavaDoc and reorganized imports
2017-04-04 16:53:35 -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
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
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
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
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
5d414c521a
upgraded kafka version from 0.10.1.1 to 0.10.2.0
2017-03-17 11:36:15 +11: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
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
d2986710a5
DBZ-188 More efficient GTID source filters for MySQL Connector
...
Changed the GTID source filters in the MySQL connector to be far more efficient when the filters specify literal UUIDs rather than regex patterns. In these cases, the predicate just checks whether a supplied value is in a hash set, and no regular expression patterns are used.
The GTID source filters can still be a combination of UUID literals and regular expressions, and the predicate will use the best implementation for each. For example, if the filters include all UUID literals, then regular expressions will never be used.
2017-02-10 11:34:24 -06:00
Randall Hauch
8c60c29883
[maven-release-plugin] prepare for next development iteration
2017-02-07 14:22:12 -06:00
Randall Hauch
20134286e9
[maven-release-plugin] prepare release v0.4.0
2017-02-07 14:22:11 -06:00
Randall Hauch
74e5ba6448
DBZ-176 Corrected MySQL DDL parser to support creating triggers with definers
...
The MySQL DDL parser was not correclty handling `DEFINER` clauses within `CREATE TRIGGER` or `CREATE EVENT` statements. Support for `DEFINER` clauses was recently added for the various forms of `CREATE PROCEDURE`, `CREATE FUNCTION` and `CREATE VIEW` statements. These are the only kinds of statements that have the definer attribute, per the [MySQL documentation](https://dev.mysql.com/doc/refman/5.7/en/stored-programs-security.html ).
2017-02-02 12:44:28 -06:00
Randall Hauch
972cfbe2c4
DBZ-173 Additional fixes to KafkaDatabaseHistory class for Kafka 0.10.1.0
...
The KafkaDatabaseHistory class was not behaving well in tests using my local development environment. When restoring from the persisted Kafka topic, the class would set up a Kafka consumer and see repeated messages. It is unclear whether the repeats were due to our test environment and very short poll timeouts. Regardless, the restore logic was refactored to track offsets so as to only process messages once.
2017-02-01 14:47:41 -06:00
Horia Chiorean
d035c4bc8d
DBZ-173 Changes the MySQL ITs to not use TZ information for expected dates and fixes the character set for parsing test files
2017-01-27 14:53:10 +02:00
Horia Chiorean
a2154d3d32
DBZ-173 Changes the MySQL ITs to use the database.hostname system property instead of always hardcoding 'localhost'
2017-01-27 09:19:57 +02:00
Horia Chiorean
7dfdef3558
DBZ-173 Upgrades the Kafka artifact versions to 0.10.1.1
2017-01-27 09:19:57 +02:00
Horia Chiorean
031c4a1552
DBZ-183 Fixes the BinlogReader's handling of TIMESTAMP columns to correctly account for timezones
2017-01-25 16:39:36 +02:00
Randall Hauch
f0db8d1b1f
DBZ-179 Corrected JavaDoc in PostgreSQL connector
...
Corrected the JavaDoc and removed trailing spaces in the PostgreSQL connector code.
2017-01-20 11:51:17 -06:00
Randall Hauch
a73f85a80f
Merge pull request #162 from rareddy/DBZ-177
...
DBZ-177: Providing an alternative way to create JDBC connection based …
2017-01-13 13:37:38 -06:00
Ramesh Reddy
a9aace3480
DBZ-177: Providing an alternative way to create JDBC connection based on the configured JDBC driver class name and supplied classloader. The loading/creating the JDBC connections is not reliable when driver libraries in a different classloader than the DriverManager.
2017-01-13 12:58:14 -06:00
Horia Chiorean
ae85656851
DBZ-3 Fixes topic naming to include the name of the server
2016-12-30 09:42:48 +02:00