Gunnar Morling
cc64a7a616
DBZ-618 Removing unused method and field
2018-02-14 16:53:52 +01:00
Gunnar Morling
f54ed51897
DBZ-618 Removing superfluous method parameter
2018-02-14 16:43:52 +01:00
Jiri Pechanec
d0198e3e26
DBZ-618 Incorrect type retrieved by stream producer for time/date columns
2018-02-14 13:06:50 +01:00
Gunnar Morling
0f726b5f4e
DBZ-616 Making PostgresType#equals() and hashCode() symmetric; logging improvements
2018-02-14 10:54:39 +01:00
Jiri Pechanec
2a08a718ba
DBZ-616 Get default length and scale for types
2018-02-14 10:48:13 +01:00
Gunnar Morling
b1362f9db9
DBZ-278 Extracting broker config retrieval into its own method
2018-02-13 17:12:11 +01:00
Jiri Pechanec
2e4be4c5ee
DBZ-278 Create topic only when needed
2018-02-13 16:48:42 +01:00
Jiri Pechanec
90e4aa0dea
DBZ-278 Fail if topic is not created
2018-02-13 16:48:42 +01:00
Jiri Pechanec
4541fc53c9
DBZ-278 Explicit history storage initialization
2018-02-13 16:48:42 +01:00
Jiri Pechanec
ad7b92310e
DBZ-278 Test for broker without auto-created topics
2018-02-13 16:48:42 +01:00
Jiri Pechanec
55e81c458b
DBZ-278 Create database history topic
2018-02-13 16:48:42 +01:00
Gunnar Morling
bda12b59ee
DBZ-571 Misc. improvements;
...
* More consistent variable names
* Making type registry truly immutable
* Avoiding call to instance method from constructor
2018-02-13 16:15:10 +01:00
Jiri Pechanec
5a0c7c07b0
DBZ-609 DBZ-571 Refactor Postgres type handling
...
TypeRegistry introduced for Postgres connector
JDBC column does not have a special componentType
JDBC column provide a database specific type id
OID is a primary type identifier to be used in Postgres connector code - dropping JDB/OID dichotomy
2018-02-13 14:54:42 +01:00
Jiri Pechanec
93259e8e11
DBZ-581 Simplified monitor thread shutdown
2018-02-13 14:40:54 +01:00
Jiri Pechanec
dbac1429b2
DBZ-581 Improve error handling for replicators
2018-02-13 14:40:54 +01:00
Gunnar Morling
2cd1a43db8
DBZ-220 Removing println() call
2018-02-13 12:31:36 +01:00
Jiri Pechanec
ecdce6529d
DBZ-220 Null Heartbeat object. Messages contains key
2018-02-13 12:26:48 +01:00
Jiri Pechanec
682cabb84a
DBZ-220 Generate heartbeat events in binlog thread
2018-02-13 12:24:51 +01:00
Gunnar Morling
96b4023839
DBZ-220 Misc. improvements;
...
* interpreting heartbeat interval as MS
* adding Configuration#getDuration()
2018-02-13 12:24:51 +01:00
Jiri Pechanec
3c1ea8206b
DBZ-220 Refactor heartbeat to a separate class
2018-02-13 12:24:51 +01:00
Jiri Pechanec
4a22e17b71
DBZ-220 Disable heartbeat by default
2018-02-13 12:22:18 +01:00
Jiri Pechanec
ad682e109d
DBZ-220 Constatnts configurable, heartbeat independent of binlog
2018-02-13 12:22:18 +01:00
Jiri Pechanec
e6936616d9
DBZ-220 Send periodically messages to a heartbeat topic
2018-02-13 12:19:30 +01:00
Gunnar Morling
39e08b7ec6
DBZ-582 Avoiding assignment to test class field from test methods
2018-02-13 10:19:18 +01:00
Gunnar Morling
5491b2775e
DBZ-582 Adding Raf Liwoch to COPYRIGHT.txt
2018-02-13 10:19:18 +01:00
Gunnar Morling
f3ea0b5683
DBZ-582 Supporting TOMBSTONES_ON_DELETE option with Postgres connector
2018-02-13 10:19:18 +01:00
Gunnar Morling
3e29591846
DBZ-582 Supporting TOMBSTONES_ON_DELETE option with MySQL connector
2018-02-13 10:19:18 +01:00
Gunnar Morling
2e0b9e5e33
DBZ-582 Moving TOMBSTONES_ON_DELETE to CommonsConnectorConfig for re-use
2018-02-13 10:19:18 +01:00
Raf Liwoch
38641f472d
DBZ-582 Allowing users to configure whether tombstone events should be emitted for DELETE operations or not;
...
* Adding new configuration parameter `tombstones.on.delete`
* Using this new option in MongoDB connector
2018-02-13 10:19:18 +01:00
Jiri Pechanec
d0bd1560ff
DBZ-576 Make DDL filter internal parameter
2018-02-12 11:22:28 +01:00
Jiri Pechanec
3740aee4e8
DBZ-576 Internal parameters
2018-02-12 11:22:28 +01:00
Gunnar Morling
a77c8d733a
DBZ-580, DBZ-586 Making enqueue() and thus snapshots in Postgres interruptable;
...
* ChangeEventQueue#enqueue() checks the interrupted state of the calling
thread now, raising an InterruptedException in case the interrupted flag
has been set (because the producer's thread executor has been stopped)
* RecordSnapshotProducer has been adjusted to check for the interrupted
regularly, aborting if it has been set
2018-02-11 10:05:06 +01:00
Gunnar Morling
1626f385ad
DBZ-580 Using ChangeEventQueue in MongoDB connector
2018-02-11 10:05:06 +01:00
Gunnar Morling
45a9847d42
DBZ-580 Initial implementation of dedicated change message queue:
...
* To be used across connectors, unifying the enqueuing/polling logic and handling of related config options
* Using it for Postgres connector
2018-02-11 10:05:06 +01:00
Gunnar Morling
2a724d9611
DBZ-537 Misc. adjustments:
...
* Renaming ConfigurationHelper to Instantiator
* Doc improvements and typo fixes
* Bringing getInstance() methods into consistent order
* Raising exception instead of logging error if instantion fails
2018-02-09 15:45:57 +01:00
Jiri Pechanec
5be55ae8ff
DBZ-537 OffsetCommitPolicy supports Configuration constructor initialization
2018-02-09 15:19:48 +01:00
Jiri Pechanec
a8750221cb
DBZ-537 OffsetCommitPolicy is configurable via builder
2018-02-09 15:19:48 +01:00
Jiri Pechanec
eb7cc3f28e
DBZ-537 Change OffsetCommitPolicy to use Duration in API
2018-02-09 15:19:48 +01:00
Jiri Pechanec
8c3daa387d
DBZ-537 Move OffsetCommitPolicy to SPI
2018-02-09 15:19:48 +01:00
Jiri Pechanec
452f9af52d
DBZ-537 Configurable offset commit strategy
2018-02-09 15:19:48 +01:00
Gunnar Morling
e8fa7b887e
DBZ-588 Typo fix and additional method comment
2018-02-09 14:16:53 +01:00
Jiri Pechanec
2710094d11
DBZ-588 Defensively protecting CUD events themeselves
2018-02-09 11:03:16 +01:00
Jiri Pechanec
e4c9cf7191
DBZ-588 Changed message wording
2018-02-09 11:03:16 +01:00
Jiri Pechanec
16f4726a31
DBZ-588 Fail on inconsistent schema
2018-02-09 11:03:16 +01:00
Jiri Pechanec
b3b379a3a3
DBZ-594 Stop copy threads after initial sync is completed
2018-02-05 12:37:10 +01:00
Jiri Pechanec
6150955a47
DBZ-590 Detect non-available offset
2018-02-05 12:20:47 +01:00
Gunnar Morling
7b6db00db7
DBZ-593 JavaDoc
2018-02-02 13:16:43 +01:00
Gunnar Morling
712824e43f
DBZ-593 Passing version explicitly from SourceInfos to base class instead of relying specific packaging structure
2018-02-02 13:16:43 +01:00
Jiri Pechanec
7ebee94169
DBZ-593 Add Debezium version to source in envelope
2018-02-02 13:16:43 +01:00
Gunnar Morling
3a281d1185
DBZ-595 Making sure resources are cleaned up when snapshotting fails;
...
* shutting down the snapshotting thread and the DB history producer client
if the connector is stopped while trying to write to the history topic
* reducing the time that KafkaProducer#send() will block if Kafka isn't
available; this will release the producer thread quicker in case the
connector is stopped during snapshotting
* not returning from finally block (!) in case the TX is rolled back; This
prevented the failed state to be set by the outer catch clause in execute()
2018-02-02 09:06:32 +01:00