yangrong688
774d1e4141
[docs] Fix typo for javadoc newSlotInfo
2022-06-30 12:27:06 +02:00
Vojtech Juranek
499aece7eb
DBZ-5240 Add partitioned tables into supported table types
...
Postgres supports partitioned tables. Debezium requires tables to have
primary key to be able to snapshot them. Primary key support for
partitioned was added in Postgres 11, see [1]. Add partitioned table
type into supported table tables so that Debezium fetches the schema
and can do the snapshot for partitioned tables.
N.B.: On Postgres < 11 is still possible to define primary key
constraint on partitioned sub-tables. In such cases sub-tables are
snapshotted, but parent table is not.
Fix RecordsSnapshotProducerIT#shouldGenerateSnapshotsForPartitionedTables
test after adding support for partitioned tables. Test assumed that
the parent table is not snapshotted and filters out duplicate records
which results into lossing `LAST` snapshot record. Keepting original
test by filtering parent table.
[1] https://www.postgresql.org/docs/11/release-11.html
2022-06-30 10:46:54 +02:00
Mickael Maison
5ff71aa992
DBZ-5335 Fix formatting issues in the connectors configdefs
2022-06-30 09:35:54 +02:00
harveyyue
20dc353262
DBZ-5170 Mysql Commit Timestamp
2022-06-27 15:50:52 +02:00
kanha gupta
1b17372d2d
DBZ-4902 Replace long durations with Duration
2022-06-27 14:29:51 +02:00
Vojtech Juranek
e15f148deb
DBZ-5070 Don't reset lsn when lastCommitLsn is null
...
Currently we update first `lsn` and then update `lastCommitLsn` in
`PostgresOffsetContext` constructor. However, when `lastCommitLsn`
is for whatever reason `null`, previously updated `lsn` is reset to
`null` as `updateLastCommit()` updates also `lsn`. This can have
unwanted consequences like streaming again records which were already
streamed. To prevent this, update `lsn` in `updateLastCommit()` only
when `lastCommitLsn` is not `null`.
2022-06-22 13:55:17 +02:00
Jiri Pechanec
4fc4c8c374
DBZ-5031 Stop connector on failure to find resume LSN
2022-06-20 12:00:05 +02:00
Oskar Polak
3e288b8385
DBZ-5031 Additional logging when offset flushing is not allowed
2022-06-20 12:00:05 +02:00
Jiri Pechanec
38cd6907ae
DBZ-3942 Load correct last commit LSN from offsets
2022-06-17 14:49:44 +02:00
Jiri Pechanec
04c474bac7
DBZ-5031 Enable LSN flushing only after processed message
2022-06-17 12:39:56 +02:00
Jiri Pechanec
5721dd7ace
DBZ-5031 Emit warning if not exact LSN is found
2022-06-17 12:39:56 +02:00
Jun Zhao
29fbdc03bf
DBZ-5031 Stop skipping message if last received lsn is higher or equal to the startStreamingLsn in WalPositionLocation
2022-06-17 12:39:56 +02:00
Chris Cranford
3fb5bf1339
DBZ-4451 Introduce SchemaChangeEvent factory methods
2022-06-16 09:19:41 +02:00
Chris Cranford
863abcd081
DBZ-4451 Store previous table id in alter schema change events
...
When a table is renamed with the ALTER TABLE statement, the schema
history record not only will reference the current table's unique id
in the "id" metadata, but will also refer to the old table name in
the "previousId" metadata field.
2022-06-16 09:19:41 +02:00
Chris Cranford
20bb2adea5
DBZ-4834 Fix incremental snapshot of table added to include list
2022-06-16 08:39:16 +02:00
Debezium Builder
6fff3a2876
[maven-release-plugin] prepare for next development iteration
2022-06-09 11:49:26 +00:00
Debezium Builder
b2e2e351df
[maven-release-plugin] prepare release v2.0.0.Alpha2
2022-06-09 11:49:26 +00:00
Chris Cranford
660e391851
DBZ-5204 Do not cache connection details in TypeRegistry
.
2022-06-08 09:21:04 +02:00
Vojtech Juranek
4a48eb33df
DBZ-5045 Remove legacy V1 source info
2022-06-08 09:11:00 +02:00
Vojtech Juranek
7b8cb693ed
DBZ-5045 Remove deprecated Postgres TOASTED_VALUE_PLACEHOLDER
2022-06-08 09:11:00 +02:00
Vojtech Juranek
1eacbdc590
DBZ-5045 Remove deprecated Postgres EXPORTED snapshot option
2022-06-08 09:11:00 +02:00
Vojtech Juranek
83dfd9f638
DBZ-5045 Remove deprecated Postgres TRUNCATE_HANDLING_MODE
2022-06-08 09:11:00 +02:00
Vojtech Juranek
b0b3066ed5
DBZ-5045 Remove deprecated COLUMN_BLACKLIST
2022-06-08 09:11:00 +02:00
Vojtech Juranek
5031594b75
DBZ-5045 Remove deprecated COLUMN_WHITELIST
2022-06-08 09:11:00 +02:00
Vojtech Juranek
f84893a8b4
DBZ-5045 Remove deprecated SCHEMA_BLACKLIST
2022-06-08 09:11:00 +02:00
Vojtech Juranek
261188482f
DBZ-5045 Remove deprecated SCHEMA_WHITELIST
2022-06-08 09:11:00 +02:00
Vojtech Juranek
6abbcee6a3
DBZ-5045 Remove deprecated TABLE_BLACKLIST
2022-06-08 09:11:00 +02:00
Vojtech Juranek
db08e894fc
DBZ-5045 Remove deprecated TABLE_WHITELIST
2022-06-08 09:11:00 +02:00
harveyyue
acb743bd34
DBZ-5206 Remove the deprecated monitored tables metrics
2022-06-07 16:13:29 -04:00
Chris Cranford
9d71296b5c
DBZ-4251 Support stopping incremental snapshots
2022-06-02 07:30:07 +02:00
Jiri Pechanec
88b7ae2050
DBZ-5136 Move sourceInfo to common class
2022-06-01 16:56:29 +02:00
Mark Bereznitsky
c64b8af31a
DBZ-5136 reintroduce the CommonOffsetContext class and refactor common functionality into it
2022-06-01 16:56:29 +02:00
Mark Bereznitsky
2d72dae649
DBZ-5136 further refining of the algorithm for determining position in snapshot and IT test fixes
2022-06-01 16:56:29 +02:00
Jiri Pechanec
08e8c3d795
DBZ-5136 Move common class to common package
2022-06-01 16:56:29 +02:00
Andrew Walker
d0759461a4
DBZ-5136: Convert RelationalOffsetContext to CommonOffsetContext
2022-06-01 16:56:29 +02:00
Andrew Walker
b6222d42bf
DBZ-5136: Add first flag and refactor OffsetContext
2022-06-01 16:56:29 +02:00
Andrew Walker
593c2769e6
DBZ-5136: Add last in table flag
2022-06-01 16:56:29 +02:00
Vojtech Juranek
0757c966d0
DBZ-5042 Add DB name logging support into Postgres connector
2022-05-27 14:20:30 -04:00
Chris Cranford
7d8c9486d6
DBZ-5119 Move Heartbeat creation to ConnectorConfig & descendants
2022-05-25 09:59:59 +02:00
Chris Cranford
7ff7826743
DBZ-5119 Pull heartbeat.action.query
support into debezium-core
2022-05-24 12:54:40 +02:00
Chris Cranford
7eee39800f
DBZ-5038 Fix test failures
2022-05-23 11:46:15 +02:00
Chris Cranford
2a4c76cabe
DBZ-5038 Support default values for PostgreSQL enum types
2022-05-23 11:46:15 +02:00
Jiri Pechanec
a11767d05b
DBZ-3921 Remove incorrect comment
2022-05-17 14:56:05 +02:00
troeselereos
836632e5dd
DBZ-3921 fixed logging
...
DBZ-3921: update message
Co-authored-by: Chris Cranford <ccranfor@redhat.com>
2022-05-17 14:56:05 +02:00
roeselert
6b72d22be8
DBZ-3921: fix postgres existing publication is not updated with the new table
2022-05-17 14:56:05 +02:00
Jiri Pechanec
cc90b1cfeb
DBZ-5014 Fix delete tests
2022-05-09 08:53:59 +02:00
Cesar Martinez
61a77c2467
DBZ-5014 Remove unused import
2022-05-09 08:53:59 +02:00
Cesar Martinez
c0ac30593c
DBZ-5014 Uncomment validations
2022-05-09 08:53:59 +02:00
Cesar Martinez
72e51e02c7
DBZ-5014 Remove invalid line
2022-05-09 08:53:59 +02:00
Cesar Martinez
6994c1db56
DBZ-5014 Test case for delete register with infinity date
2022-05-09 08:53:59 +02:00