-
Bug
-
Resolution: Obsolete
-
Major
-
3.0.6.Final
-
False
-
-
False
In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.
Bug report
pgsql error in the callback,
2024-12-31 16:46:01,299 INFO || [task-thread-relation_cdc_server_1874013356035538945_1871754362766819329-0hread] Stopping down connector [io.debezium.connector.common.BaseSourceTask]
... 9 more
at io.debezium.connector.postgresql.PostgresStreamingChangeEventSource.execute(PostgresStreamingChangeEventSource.java:179)
at io.debezium.connector.postgresql.PostgresStreamingChangeEventSource.processMessages(PostgresStreamingChangeEventSource.java:217)
at io.debezium.connector.postgresql.connection.PostgresReplicationConnection$1.readPending(PostgresReplicationConnection.java:703)
at org.postgresql.core.v3.replication.V3PGReplicationStream.readPending(V3PGReplicationStream.java:82)
at org.postgresql.core.v3.replication.V3PGReplicationStream.readInternal(V3PGReplicationStream.java:125)
at org.postgresql.core.v3.replication.V3PGReplicationStream.receiveNextData(V3PGReplicationStream.java:160)
at org.postgresql.core.v3.CopyDualImpl.readFromCopy(CopyDualImpl.java:44)
at org.postgresql.core.v3.QueryExecutorImpl.readFromCopy(QueryExecutorImpl.java:1198)
at org.postgresql.core.v3.QueryExecutorImpl.processCopyResults(QueryExecutorImpl.java:1299)
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2713)
Where: slot "relation_cdc_server_1874013356035538945_1871754362766819329", output plugin "pgoutput", in the change callback, associated LSN 0/178B9108
Caused by: org.postgresql.util.PSQLException: ERROR: publication "relation_cdc_server_1871754362766819329" does not exist
at java.base/java.lang.Thread.run(Thread.java:1583)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:143)
at io.debezium.pipeline.ChangeEventSourceCoordinator.executeChangeEventSources(ChangeEventSourceCoordinator.java:203)
at io.debezium.pipeline.ChangeEventSourceCoordinator.streamEvents(ChangeEventSourceCoordinator.java:324)
at io.debezium.connector.postgresql.PostgresStreamingChangeEventSource.execute(PostgresStreamingChangeEventSource.java:42)
at io.debezium.connector.postgresql.PostgresStreamingChangeEventSource.execute(PostgresStreamingChangeEventSource.java:182)
at io.debezium.pipeline.ErrorHandler.setProducerThrowable(ErrorHandler.java:67)
org.apache.kafka.connect.errors.ConnectException: An exception occurred in the change event producer. This connector will be stopped.
What Debezium connector do you use and what version?
3.0.6.Final
What is the connector configuration?
{
"name": "relation_cdc_server_1874013356035538945_1871754362766819329",
"config":
,
"tasks": [
],
"type": "source"
}
What is the captured database version and mode of deployment?
pgsql 14
What behavior do you expect?
Collect database data normally
What behavior do you see?
After creating the task and writing database data, the connector encountered an exception
Do you see the same behaviour using the latest released Debezium version?
3.0.6.Final
Do you have the connector logs, ideally from start till finish?
pgsql_error_in_the_callback.txt![]()
How to reproduce the issue using our tutorial deployment?
<Your answer>
Feature request or enhancement
For feature requests or enhancements, provide this information, please:
Which use case/requirement will be addressed by the proposed feature?
<Your answer>
Implementation ideas (optional)
<Your answer>