Grzegorz Kołakowski
2d5295805c
DBZ-941 Add connectionCreated template method in HistorizedRelationalSnapshotChangeEventSource
...
The method allows to define steps which have to be taken just after the
database connection is created (e.g. setting snapshot isolation level).
By default no operation is executed.
2018-10-30 13:35:57 +01:00
jchipmunk
05ba99bb0a
DBZ-918 Adding Debezium connector field to source info
...
This will allow consumers to recognize the Debezium connector used for creating a given message, helping them to adjust their behavior for a variety of connectors.
2018-10-04 09:00:13 +02:00
Gunnar Morling
39a47fabfa
DBZ-899 Using custom statement to obtain SQL type info in order to avoid N+1 issues with PgDatabaseMetaData#getTypeInfo()
2018-09-19 09:51:38 +02:00
Gunnar Morling
3331d4c1a9
DBZ-899 Removing unused field;
...
Also inlining method only used in one place.
2018-09-19 09:51:38 +02:00
Jiri Pechanec
2253eaa6a6
DBZ-819 JdbcConnection is not thread safe
2018-09-18 09:05:36 +02:00
Jiri Pechanec
05ce2e3063
DBZ-819 Cache prepared statements in connection
2018-09-18 09:05:36 +02:00
jchipmunk
b0feaf496a
DBZ-633 Adding "field.blacklist" property for MongoDB connector
...
The "field.blacklist" configuration property is an optional comma-separated list of the fully-qualified names of fields that should be excluded from change event message values. Fully-qualified names for fields are of the form "databaseName.collectionName.fieldName.nestedFieldName", where "databaseName" and "collectionName" may contain the wildcard (*) which matches any characters.
Although the "field.blacklist" configuration property allows you to remove fields from the event values, the "_id" field is always included in the event’s key.
2018-09-14 12:54:11 +02:00
Gunnar Morling
5878e5105f
DBZ-878 Using LRU eviction strategy
...
[As recommended](4961277637 (commitcomment-30412629)
) by Ben Manes, the LIRS implementation seems to provide no advantage and isn't well tested.
2018-09-06 11:21:31 +02:00
Gunnar Morling
4961277637
DBZ-878 Making topic name cache size bound;
...
* Imported BoundedConcurrentHashMap from Hibernate ORM as a thread-safe concurrent cache.
2018-09-05 12:56:53 +02:00
Gunnar Morling
e1bbbd7992
DBZ-865 DBZ-878 Replacing invalid topic name characters with "_";
2018-09-05 12:56:53 +02:00
Gunnar Morling
eba134817f
DBZ-894 Making TableIdToStringMapper dedicated functional interface with specifically named method
2018-09-04 12:43:50 +02:00
Jiri Pechanec
1373ac8475
DBZ-894 Introduce explicit mapping functional type
2018-09-04 12:39:10 +02:00
Jiri Pechanec
3e0648a42c
DBZ-894 Customize TableId comparison per-connector in filters
2018-09-04 09:18:15 +02:00
Gunnar Morling
985999b4af
DBZ-872 Making MySqlAntlrDdlParser#tableFilter final
2018-08-24 08:12:54 +02:00
Jiri Pechanec
63ee65bb7d
DBZ-872 Honor filters in ALTER TABLE parsing
2018-08-24 08:12:54 +02:00
Jiri Pechanec
82a93cdac5
DBZ-859 Heartbeat is sent after pipeline snapshot
2018-08-23 11:44:53 +02:00
Jiri Pechanec
985e03e7b5
DBZ-859 Force heartbeat after snapshot completion
2018-08-23 11:44:53 +02:00
Maciej Bryński
947abf9815
DBZ-857 Ability to rewrites deleted records
2018-08-14 10:37:39 +02:00
artiship
57fa31e1bc
DBZ-854 Correct param name for excludeColumns(String fullyQualifiedTableNames)
2018-08-14 08:39:28 +02:00
LiuHanlin
41e16f4a4f
DBZ-853 Fix kafka database history storage miscount attemp number even if there are more records to consume
2018-08-13 20:26:48 +02:00
Gunnar Morling
3061c1dc0b
DBZ-815 Passing offset to Heartbeat#heartbeat();
...
That's simpler to grasp than the approach of passing a supplier lambda to the constructor.
Also it allows to pass on the offset via local variables instead of instance fields in some cases.
2018-07-25 14:49:52 +02:00
Gunnar Morling
0a659c0159
DBZ-815 Ensuring latest offset is propagated also if change events relate to non-whitelisted tables
2018-07-25 14:49:52 +02:00
Gunnar Morling
fa68c1a158
DBZ-816 Preparing code for database history set-up for re-use
2018-07-25 11:54:15 +02:00
Jiri Pechanec
e86ddc0ab2
DBZ-40 Add blocking version of MultiResultSetConsumer
2018-07-25 11:51:09 +02:00
Gunnar Morling
bd4f3d60fa
DBZ-804 Simplifying construction of VariableScaleDecimal
2018-07-24 20:48:52 +02:00
Gunnar Morling
98c329aabe
DBZ-40 Adding SnapshottingTask#toString()
2018-07-24 18:53:32 +02:00
Gunnar Morling
0362b333bf
DBZ-804 Better schema comparison in tests; preparing byte conversion
2018-07-24 05:18:52 +02:00
Gunnar Morling
9814a5c82c
DBZ-803 Finalizing snapshot in offsets also for schema-only snapshots
2018-07-23 06:44:04 +02:00
Gunnar Morling
2905cc498b
DBZ-800 Don't expect that partition is a Map<String, String>
2018-07-20 13:37:54 +02:00
Gunnar Morling
fe53360f30
DBZ-800 Avoiding "mysql" in commonly used heartbeat key schema
2018-07-20 13:37:54 +02:00
Gunnar Morling
86a4731587
DBZ-800 Emitting heartbeat events in generic event dispatcher
2018-07-20 13:37:54 +02:00
Gunnar Morling
26106cdd8e
DBZ-800 Removing unused method from Heartbeat
2018-07-20 13:37:54 +02:00
Jiri Pechanec
0e35439019
DBZ-40 Snapshotting and connector restart
2018-07-18 14:39:11 +02:00
Gunnar Morling
a5b5e7d9eb
DBZ-627 Using unfified TopicSelector for MongoDB, too
2018-07-18 12:36:07 +02:00
Gunnar Morling
20db9299c5
DBZ-627 Unifying TopicSelector implementations
2018-07-18 12:36:07 +02:00
Gunnar Morling
610da70cc5
DBZ-801 Parameterizing ChangeEventQueue<DataChangeEvent>
2018-07-18 10:30:22 +02:00
Gunnar Morling
80085567ae
DBZ-720 Proper check for previous unfinished snapshot
2018-07-18 10:07:50 +02:00
Gunnar Morling
33170d4c3d
DBZ-40 Pulling up some common code to HistorizedRelationalDatabaseSchema
2018-07-18 10:07:50 +02:00
Gunnar Morling
422a303f87
DBZ-720 Signaling cancellation of snapshot through InterruptedException
2018-07-17 13:11:02 +02:00
Jiri Pechanec
f118e37da0
DBZ-40 Changes to support SQL Server connector
2018-07-13 22:23:00 +02:00
Gunnar Morling
c5e2d5f9e7
DBZ-720 Making scan of single table interruptable;
...
Also better logging.
2018-07-13 19:42:18 +02:00
Gunnar Morling
648d695c08
DBZ-720 Preparing HistorizedRelationalSnapshotChangeEventSource to support data snapshotting
2018-07-13 19:42:18 +02:00
Gunnar Morling
aa1272cc21
DBZ-720 Re-using single instance of streaming event receiver in EventDispatcher
2018-07-13 09:51:15 +02:00
Gunnar Morling
657650c581
DBZ-720 Passing change event emitter directly to dispatch methods;
...
The indirection of going through a supplier wasn't really necessary
2018-07-13 09:51:15 +02:00
Gunnar Morling
a565361e56
DBZ-720 Making SnapshotContext auto-closeable
2018-07-13 09:51:15 +02:00
Gunnar Morling
986df43649
DBZ-720 Extracting HistorizedRelationalSnapshotChangeEventSource from Oracle connector
2018-07-13 09:51:15 +02:00
Gunnar Morling
1523f230ca
DBZ-793 Using TableFilter consistently;
...
Only the MySQL connector's Filters class still uses Predicate for the time being, so to avoid to much merging trouble with DBZ-175.
2018-07-11 13:16:44 +02:00
Gunnar Morling
99048365c9
DBZ-771 Unsetting default value when changing a column's type
2018-07-03 11:55:20 +02:00
Gunnar Morling
c7d5288d40
DBZ-771 Making sure causing DDL statement is logged also if default value can't be parsed
2018-07-03 11:55:20 +02:00
Gunnar Morling
dcd6b01134
DBZ-644 Simplifying RelationalDatabaseSchema constructor;
...
Also retrieving logical name via CommonConnectorConfig#getLogicalName() in more places
2018-07-03 07:03:59 +02:00