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
Cesar Martinez
840979a454
DBZ-5014 Add AbstractRecordsProducerTest.tableIdFromDeleteStmt(String)
2022-05-09 08:53:59 +02:00
Cesar Martinez
46f6db2d50
DBZ-5014 Add infinity date constants (Date & LocalDate
2022-05-09 08:53:59 +02:00
Cesar Martinez
24173cc548
DBZ-5014 Parse infinity date on delete
2022-05-09 08:53:59 +02:00
Cesar Martinez
b1f7fa1a47
DBZ-5014 Add test case for (+/-)infinity date
2022-05-09 08:53:59 +02:00
Jiri Pechanec
6e092d39f2
DBZ-5074 No separate connection for pgoutput decoder
2022-05-06 16:36:28 +02:00
Jiri Pechanec
88dab4d8d3
DBZ-5074 Track connections by name; close heartbeat connection by default
2022-05-06 16:36:28 +02:00
Mark Allanson
0edb86d861
DBZ-5097: Add tests to cover PostgresErrorHandler behaviour
...
The error handler had no unit tests at all, so I thought it might be a good idea
to add some tests to verify the behaviour given there's a bunch of different
ways to determine if something is retryable.
2022-05-06 09:55:06 -04:00
Mark Allanson
dd815f5226
DBZ-5097: Add two new retryable postgresql error messages
...
These two error messages can occur when running inside docker and the
postgres container is either killed (sigtermed) or brought down
using `docker stop`.
In both cases these are retryable as the postgres server can be
restarted shortly thereafter.
2022-05-06 09:55:06 -04:00
Debezium Builder
901825810a
[maven-release-plugin] prepare for next development iteration
2022-04-28 13:51:13 +00:00
Debezium Builder
05dcb45647
[maven-release-plugin] prepare release v2.0.0.Alpha1
2022-04-28 13:51:12 +00:00
Jiri Pechanec
d186ec800f
DBZ-703 Remove support for messages without metadata
2022-04-22 09:57:15 +02:00
Jiri Pechanec
d299c9e707
DBZ-4156 Remove wal2json support
2022-04-22 09:57:15 +02:00
Mohammad Yousuf Minhaj Zia
6f706fc087
DBZ-4948 Added connection has been closed PSQLException as retriable
2022-04-07 12:35:27 +02:00
Debezium Builder
4a6de64c25
[maven-release-plugin] prepare for next development iteration
2022-04-05 14:49:52 +00:00
Debezium Builder
683851fd90
[maven-release-plugin] prepare release v1.9.0.Final
2022-04-05 14:49:51 +00:00
Jiri Pechanec
1355067ef0
DBZ-4814 Use schema not catalog in table id
2022-03-31 15:26:12 +02:00
zalmane
1f64e8f8da
DBZ-4814 exclude spatial_ref_sys
2022-03-30 20:08:38 +02:00
Debezium Builder
ab7fe3b96a
[maven-release-plugin] prepare for next development iteration
2022-03-25 16:45:06 +00:00
Debezium Builder
d19fc234ee
[maven-release-plugin] prepare release v1.9.0.CR1
2022-03-25 16:45:06 +00:00
Sergei Morozov
b258674782
DBZ-3535: Introduce schema.name.adjustment.mode
2022-03-24 09:37:05 +01:00
Sergei Morozov
3a03ff0186
DBZ-3535: Remove unused EventDispatcher constructor parameter
2022-03-24 09:37:05 +01:00
Clément Loiselet
ba33e483ae
DBZ-4861: change log for schema snapshot postgres
...
Update debezium-connector-postgres/src/main/java/io/debezium/connector/postgresql/PostgresSnapshotChangeEventSource.java
2022-03-16 09:51:15 +01:00
Gunnar Morling
d20a6f00e7
DBZ-4801 Using JdbcConfiguration in JdbcConnection
2022-03-07 17:53:45 +01:00
Gunnar Morling
c1c322ecf0
DBZ-4801 Simplifying JdbcConnection constructors
2022-03-07 17:53:45 +01:00
Debezium Builder
fece16039c
[maven-release-plugin] prepare for next development iteration
2022-03-03 17:00:08 +00:00
Debezium Builder
e0d8a0d809
[maven-release-plugin] prepare release v1.9.0.Beta1
2022-03-03 17:00:08 +00:00
Sergei Morozov
6d0aa9408c
DBZ-4478: Add Partition parameter to io.debezium.pipeline.source.spi.*Listener interfaces
2022-02-16 11:31:38 +01:00
Jiri Pechanec
54ba2cd598
DBZ-4736 Handle string NULL default values correctly
2022-02-11 12:06:55 +01:00
Jiri Pechanec
b8bafdb4c6
DBZ-2306 Avoid long running TX for publication query
2022-02-10 15:50:37 +01:00
Debezium Builder
7a47f478a4
[maven-release-plugin] prepare for next development iteration
2022-02-09 07:23:10 +00:00
Debezium Builder
b1dd35025e
[maven-release-plugin] prepare release v1.9.0.Alpha2
2022-02-09 07:23:10 +00:00
Andrei Isac
4dee34922e
DBZ-4710: fix replication role check on RDS Postgres
...
According to Debezium documentation[1], on AWS RDS, the `rds_replication` role
is enough to read the wal_log. However, on the connection validation step,
this case is omitted and the connector cannot start. The issue is pressent
starting at least v1.4.x.Final.
[1] https://debezium.io/documentation/reference/1.8/connectors/postgresql.html#postgresql-on-amazon-rds
2022-02-08 08:42:32 +01:00
Chris Cranford
06d682707f
DBZ-4701 Fix PostgreSQL tests DDL execution
2022-02-07 06:21:11 +01:00
Debezium Builder
33e2f5cd0f
[maven-release-plugin] prepare for next development iteration
2022-01-26 19:00:20 +00:00
Debezium Builder
a77b6f8b8e
[maven-release-plugin] prepare release v1.9.0.Alpha1
2022-01-26 19:00:20 +00:00
Chris Cranford
35ef67852c
DBZ-4562 Reduce log verbosity
2022-01-25 18:41:06 +01:00
Jiri Pechanec
58469cd381
DBZ-4592 Make OID not found exception retriable
2022-01-24 14:55:15 +01:00
Chris Cranford
62e2fd48c4
DBZ-4419 Fix test failure
2022-01-22 00:33:21 +01:00
Chris Cranford
383f619ce1
DBZ-4419 Map truncate handling mode internally to skipped ops
2022-01-22 00:33:21 +01:00
Chris Cranford
9b6ade3165
DBZ-4419 Fix field validation test error
2022-01-22 00:33:21 +01:00
Chris Cranford
27fe106912
DBZ-4419 Default skipped.operations
to "t" for PostgreSQL, add tests
2022-01-22 00:33:21 +01:00
Chris Cranford
773debc340
DBZ-4419 Deprecate TruncateHandlingMode, favor skipped.operations
2022-01-22 00:33:21 +01:00
Gunnar Morling
0c62da2aa5
DBZ-4520 Making static collections immutable
2022-01-21 18:03:57 +01:00
Gunnar Morling
9b35294fe8
DBZ-4520 Making collection immutable
2022-01-21 13:39:09 +01:00
Jiri Pechanec
6a89f1ee6a
DBZ-4520 Add backend errors among retriable
2022-01-21 13:26:48 +01:00
Jiri Pechanec
f1b03c176e
DBZ-3953 Mark wal2json plugin as deprecated
2022-01-21 11:21:17 +01:00
Jiri Pechanec
664d989e42
DBZ-4577 Provide custom error message handling
2022-01-21 10:24:19 +01:00
Jiri Pechanec
632a61ee98
DBZ-4517 Enable correct config opts for retrying
2022-01-19 16:17:10 +01:00
Jiri Pechanec
9509e5976a
DBZ-4566 Used topic names for Debezium Engine converters
2022-01-19 11:32:45 +01:00
Jiri Pechanec
8fd3243a86
DBZ-2224 Test logging based on logback
2022-01-18 11:24:21 +01:00
Jiri Pechanec
3f957aa02e
DBZ-4131 Test with PostgreSQL 10 by default
2022-01-14 15:48:00 +01:00
Anisha Mohanty
d6c5ad2e7c
DBZ-4460 Renaming all openapi occurrences to schema
2022-01-07 15:05:34 +01:00
Anisha Mohanty
3d1988cf6f
DBZ-4460 Set default values for format & output directory
2022-01-07 15:05:34 +01:00
Gunnar Morling
a4497cae96
DBZ-3657 Enabling export of domain type array columns via include.unknown.datatypes
2022-01-06 20:23:08 +01:00
sarumont
edbee2e8f6
DBZ-3657: add null check when building array converters
2022-01-06 20:23:08 +01:00
harveyyue
291e8ac221
DBZ-4351 Add create/update/delete event seen metrics for monitor upstream dml operation
2022-01-06 19:03:46 +01:00
harveyyue
792187f669
DBZ-4472 Make connector task partition readability for log
2021-12-20 15:58:14 +01:00
Jiri Pechanec
967432ad08
DBZ-4469 Test should run with any Postgres version
2021-12-17 13:57:53 +01:00
Debezium Builder
67c9663c98
[maven-release-plugin] prepare for next development iteration
2021-12-16 10:11:29 +00:00
Debezium Builder
8d532d895f
[maven-release-plugin] prepare release v1.8.0.Final
2021-12-16 10:11:28 +00:00
Chris Cranford
63731a2a09
DBZ-3940 Unify EventRouter tests for connectors
2021-12-13 13:52:31 +01:00
Jiri Pechanec
740b6b21f6
DBZ-4298 Support non-JDBC logical values in keys for incremental snapshots
...
Incremental snapshot source gets the PK values after they are processed
by value converter. This is usally correct solution. The values are
passed to chunk queries. There are few datatypes like unconstrained
NUMERIC in PostgreSQL that must be converted to a Debezium specific
class to keep and enrich the value. Such class is not known to JDBC
driver. This commit intorduce a marker interface that enables the code
to identify the value not recognized by JDBC and provides a method to
obtain the original value.
2021-12-13 12:29:21 +01:00
Gunnar Morling
0023cb10a5
DBZ-4393 Create a Debezium Schema Generator for Debezium connectors
...
* added an API generator for Debezium connectors and static API definitions for connectors in a separate module
* added Maven plug-in
* added GH workflow for debezium-schema-generator
Co-authored-by: rkerner <rkerner.mobil@gmail.com>
Co-authored-by: Anisha Mohanty <anishamohanty23@gmail.com>
2021-12-10 12:35:09 +01:00
Debezium Builder
f53e6c00df
[maven-release-plugin] prepare for next development iteration
2021-12-09 20:16:04 +00:00
Debezium Builder
826837701a
[maven-release-plugin] prepare release v1.8.0.CR1
2021-12-09 20:16:04 +00:00
Chris Cranford
c095cb7090
DBZ-2792 Remove test
2021-12-07 14:57:23 +01:00
Debezium Builder
b5439b54bf
[maven-release-plugin] prepare for next development iteration
2021-11-30 09:38:47 +00:00
Debezium Builder
125f6e5aa2
[maven-release-plugin] prepare release v1.8.0.Beta1
2021-11-30 09:38:47 +00:00
Chris Cranford
2347b58250
DBZ-4272 Added javadoc
2021-11-30 09:28:44 +01:00
Chris Cranford
0a10d5b484
DBZ-4272 Trigger schema refresh before snapshot; only for PostgreSQL
2021-11-30 09:28:44 +01:00
Chris Cranford
652f41f7fb
DBZ-4272 Add drop column schema change to test
2021-11-30 09:28:44 +01:00
Gunnar Morling
74bb80aae7
DBZ-2363 Removing unused methods
2021-11-29 14:55:49 +01:00
Gunnar Morling
a8cda23ef2
DBZ-4370 Only setting "messages" option on PG 14+;
...
Also avoiding setting stream options repeatedly.
2021-11-29 14:55:49 +01:00
Gunnar Morling
2157256398
DBZ-4364 Awaiting table metadata to become queryable
2021-11-29 09:23:18 +01:00
Gunnar Morling
a041a6bd5c
DBZ-4364 Removing unused methods
2021-11-29 09:23:18 +01:00
Gunnar Morling
5866056a41
DBZ-2363 Using prefix as message key
2021-11-26 18:15:25 +01:00
Gunnar Morling
560ef2babd
DBZ-2363 Misc. adjustments;
...
* Adding Strings::isBlank()
* Simplifying test
* Using long in cases where we know it's present
* Removing some unused code
* Testing binary handling mode
* Avoiding TX id value overflow
* Assigning names to schemas to avoid issues as in DBZ-650
2021-11-26 14:29:15 +01:00
Gunnar Morling
b85a9d2f20
DBZ-2363 Extracting separate test class for logical decoding message tests
2021-11-26 14:29:15 +01:00
Lairen Hightower
450998b49e
DBZ-2363 Replace logicalDecodingMessageHandlingMode with a prefix filtering configuration
2021-11-26 14:29:15 +01:00
Gunnar Morling
fcfc9bc785
DBZ-2363 Misc. adjustments;
...
* Removing unused method
* Unifying update() handling
* Member ordering
* Avoiding NPE in error handler
2021-11-26 14:29:15 +01:00
lairen
a0898ed440
DBZ-2363 Adding support for pg_logical_emit messages in Postgres connector for the pgoutput plugin
2021-11-26 14:29:15 +01:00
Jiri Pechanec
dc3ee488f1
DBZ-4343 Use schema component for incremental snapshot TableId
2021-11-24 10:25:33 +01:00
Andrey Yegorov
b6d2c41fb0
DBZ-4309 Avoid calling 'LoggerFactory.getLogger(getClass())' for each new instance of the RelationalChangeRecordEmitter
2021-11-18 22:37:51 +01:00
Vojtech Juranek
c0a65743f8
DBZ-1042 Allow Postgres connector to use numeric slot names
...
To be able to use numeric slot names, the slot name has to be quoted.
This may be consider as s bug in Postgres driver as Debezium passes the
slot name as string. To workaround this issue, quote the slot name on
the Debezium side.
2021-11-18 10:27:48 +01:00
Vojtech Juranek
1ca917a428
DBZ-1042 Allow numeric slot names
2021-11-18 10:27:48 +01:00
Vojtech Juranek
50da5e31dc
DBZ-1931 Allow to specify number of fraction digits for the money type
2021-11-17 09:30:15 +01:00