Gunnar Morling
92885ebe99
DBZ-1392 Removing trailing whitespace from Java files
2019-10-07 12:11:43 +03:00
Gunnar Morling
8d6f5409b1
DBZ-1392 Moving static imports up and applying this to all files
2019-10-07 12:11:43 +03:00
Chris Cranford
3594ff639a
DBZ-1341 Rebased against master and applied necessary checkstyle fixes
2019-10-03 19:44:43 +02:00
Chris Cranford
ca5517746a
DBZ-1341 Checkstyle flag missing whitespace
2019-10-03 19:44:43 +02:00
Chris Cranford
7442670692
DBZ-1355 Fix checkstyle problems detected after upgrade to 8.19
2019-10-03 19:44:43 +02:00
Chris Cranford
5ac2318d84
DBZ-1391 Do not allow code after closing brace ( #1065 )
...
* DBZ-1391 Do not allow code after closing brace
2019-10-02 20:44:40 +02:00
Jiri Pechanec
f868cb87c0
DBZ-1280 Lock timeout for SQL Server
2019-10-02 10:34:25 +02:00
pushpavanthar
891c8b90f4
DBZ-1492 - MySQL Connector Fails while parsing AWS RDS internal events
2019-10-02 10:31:09 +02:00
Gunnar Morling
d94b37c693
DBZ-1507 Misc. clean-up;
...
* Removing unused Table methods
* Re-using primaryKeyColumnNames() instead of custom predicate
2019-10-02 10:25:37 +02:00
Chris Cranford
d906096820
DBZ-1507 Ensure message keys have correct field order
2019-10-02 10:25:37 +02:00
Jiri Pechanec
410662c4aa
DBZ-1517 Skip unknow records while operation header is used
2019-09-30 20:25:44 +02:00
Gunnar Morling
2fba51863e
DBZ-1015 Unifying the retrieval of custom key mappers
2019-09-26 10:14:48 +02:00
Guillaume Rosauro
1405889bef
DBZ-1015-allow-user-to-customize-key
2019-09-26 10:14:21 +02:00
Gunnar Morling
236bae4265
DBZ-1508 Avoiding assertion based on platform-specific line endings
2019-09-26 09:25:24 +02:00
Gunnar Morling
442408be02
DBZ-1497 Using int64 for INTERVAL microseconds mapping
2019-09-25 11:21:40 +03:00
Chris Cranford
b20e689b2c
DBZ-1495 Avoid NPE by throwing more meaningful error messages
2019-09-25 08:08:16 +03:00
Jiri Pechanec
8f308746d3
DBZ-1438 Interrupt only after interrupt affected operations
2019-09-24 12:51:48 +02:00
jerrinot
3064a4af06
DBZ-1438 Fix InterruptedException handling
...
It appears there is an intent to restore the interruption flag
when catching InterruptedException. However the old code was just
checking the current state of the flag instead of raising it.
2019-09-24 12:51:48 +02:00
Gunnar Morling
9de7c25d60
DBZ-1405 Misc adjustments;
...
* Adding test
* Removing remaining double variables
2019-09-24 12:08:55 +02:00
Bingqin Zhou
d6353dd519
DBZ-1405 Add NanoDuration.
2019-09-24 12:08:55 +02:00
Gunnar Morling
c5d0b18ea3
DBZ-1044 "AVRO" -> "Avro", as it's not an abbreviation
2019-09-23 12:21:54 +02:00
Chris Cranford
074cbf01a3
DBZ-1044 Checkstyle fix: remove unused import
2019-09-20 07:40:23 +03:00
Chris Cranford
6dc37fc8f6
DBZ-1044 Fix broken test caused by previous commit
2019-09-20 07:40:23 +03:00
Chris Cranford
910d00f6a2
DBZ-1044 Fixed documentation typo, added tests, adjusted FieldNameSelector
2019-09-20 07:40:23 +03:00
Chris Cranford
25086e82e3
DBZ-1044 Add auto-Enable sanitize.field.names
support
...
When the connector detects that its configuration explicitly specifies
that "key.converter" or "value.converter" are using the AvroConverter,
the "sanitize.field.names" option will be automatically enabled.
2019-09-20 07:40:23 +03:00
Chris Cranford
130210b5ad
DBZ-1044 Add config option sanitize.field.names
and FieldNameSelector
2019-09-20 07:40:23 +03:00
Josh Arenberg
6573738fe9
DBZ-1044 Sanitize column/topic names to always be valid Avro Names
...
This patch fixes the issue where more lenient standards for name conventions in source databases cause the
snapshot to fail when the schema for the table is created. This patch will prepend any column names that start
with a digit with an underscore, and will replace any subsequent invalid characters with an underscore. This should
conform to the Avro Name standard here: https://avro.apache.org/docs/1.7.7/spec.html#Names
2019-09-20 07:40:23 +03:00
Renato Mefi
405a3b5b43
DBZ-1457 Do not commit when offset is null
2019-09-03 22:39:37 +02:00
Gunnar Morling
3215a3ce0a
DBZ-1448 Misc. clean-up
2019-09-03 10:39:41 +02:00
garrett528
1aa7d70b0d
DBZ-1448 Added support for source fields to be added to delete messages rewrites
2019-09-03 10:21:56 +02:00
Gunnar Morling
2a065686bd
DBZ-1255 Exporting null value when temporal precision mode is "connect" and the value is out of the supported range
2019-08-21 07:50:40 +02:00
Gunnar Morling
fe9fc1c0dc
DBZ-1255 Adjustments after rebase
2019-08-21 07:50:40 +02:00
Gunnar Morling
08ef1418d9
DBZ-DBZ-1255 Preventing value overflows for TIMESTAMP;
...
* Generally avoiding conversion to nano-seconds to accomodate for larger values
* Generally avoiding the usage of long to convey temporal values internally:
* Instant is used for TIMESTAMP
* OffsetDateTime for TIMESTAMPTZ
* Duration for TIME (LocalTime cannot be used as it doesn't support 24:00:00 as possible with Postgres)
* OffsetTime for TIMETZ
* Avoiding usage of methods under test for calculating expected values in tests
2019-08-21 07:50:40 +02:00
Gunnar Morling
94eb75257b
DBZ-1255 Using Instant for representing timestamps
2019-08-21 07:50:40 +02:00
Jiri Pechanec
51c12d930d
DBZ-1419 Support for Connect temporal types in SQL Server
2019-08-20 18:43:03 +02:00
Jiri Pechanec
540021cf68
DBZ-777 Minor fixes
2019-08-15 20:43:31 +02:00
Gunnar Morling
5ffe8123f1
DBZ-777 Further fixes
2019-08-15 20:43:31 +02:00
Gunnar Morling
63250d0c13
DBZ-777 Misc. adjustments
...
* Avoiding repeated parsing of table id
* Making 'inconsistentSchemaHandler' field final in EventDispatcher
* Not exposing synchronizeTableSchema() on SPI level
2019-08-15 20:43:31 +02:00
Jiri Pechanec
037d581844
DBZ-777 Fix heartbeats
2019-08-15 20:43:31 +02:00
Jiri Pechanec
d72afa8e9b
DBZ-777 Skip empty messages
2019-08-15 20:43:31 +02:00
Jiri Pechanec
f4246df6e4
DBZ-777 PostgreSQL connector rewrite to the standard framework
2019-08-15 20:43:31 +02:00
Jiri Pechanec
8adb5e48ca
DBZ-1385 Elevate payload for only headers setup
2019-08-12 10:36:52 +02:00
Jiri Pechanec
0991c70ac9
DBZ-1385 eventType can be configured as add field
2019-08-12 10:36:52 +02:00
Guillaume Rosauro
4b44e5f925
[DBZ-1254] Re-order the captured tables in the same order as the
...
'table.whitelist' parameter
2019-07-25 07:33:22 +02:00
Adrian Kreuziger
00843cb0fb
DBZ-1395 Update to use BoundedConcurrentHashMap for schema cache
2019-07-18 10:26:05 +02:00
Adrian Kreuziger
6c63c7daa0
DBZ-1395 Throw exception for missing source field
2019-07-18 10:26:05 +02:00
Adrian Kreuziger
63299022d7
DBZ-1395 Review feedback (keep field type, minor tweaks)
2019-07-18 10:26:05 +02:00
Adrian Kreuziger
dda17b9aa2
DBZ-1395 Undo accidental change to existing test
2019-07-18 10:26:05 +02:00
Adrian Kreuziger
c7684c351c
DBZ-1395 Add ability to insert field from original source struct to unrwrapped record
2019-07-18 10:26:05 +02:00
Jiri Pechanec
3008339142
DBZ-916 Keyless tables have null key by default
2019-07-17 14:41:37 -04:00