Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-9391

Debezium Could not Start Properly

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.

      Bug report

      For bug reports, provide this information, please:

      What Debezium connector do you use and what version?

      postgres connector & debezium v3.1.2.Final

      What is the connector configuration?

      <Your answer>

      What is the captured database version and mode of deployment?

      debezium server on vm.
      postgresql v15.13

      What behavior do you expect?

      debezium started properly

      What behavior do you see?

      Aug 26 02:49:39 db-ex bash[1927843]: 2025-08-26 02:49:39,633 WARN  [io.deb.con.pos.con.PostgresReplicationConnection] (debezium-postgresconnector-db-ex-change-event-source-coordinator) Failed to start replication stream at LSN{332/E207D790}, waiting for PT10S ms and retrying, attempt number 1 over 6: org.postgresql.util.PSQLException: ERROR: replication slot "jb_slot" is active for PID 1929342
      Aug 26 02:49:39 db-ex bash[1927843]:         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2713)
      Aug 26 02:49:39 db-ex bash[1927843]:         at org.postgresql.core.v3.QueryExecutorImpl.processCopyResults(QueryExecutorImpl.java:1299)
      Aug 26 02:49:39 db-ex bash[1927843]:         at org.postgresql.core.v3.QueryExecutorImpl.startCopy(QueryExecutorImpl.java:968)
      Aug 26 02:49:39 db-ex bash[1927843]:         at org.postgresql.core.v3.replication.V3ReplicationProtocol.initializeReplication(V3ReplicationProtocol.java:60)
      Aug 26 02:49:39 db-ex bash[1927843]:         at org.postgresql.core.v3.replication.V3ReplicationProtocol.startLogical(V3ReplicationProtocol.java:44)
      Aug 26 02:49:39 db-ex bash[1927843]:         at org.postgresql.replication.fluent.ReplicationStreamBuilder$1.start(ReplicationStreamBuilder.java:38)
      Aug 26 02:49:39 db-ex bash[1927843]:         at org.postgresql.replication.fluent.logical.LogicalStreamBuilder.start(LogicalStreamBuilder.java:41)
      Aug 26 02:49:39 db-ex bash[1927843]:         at io.debezium.connector.postgresql.connection.PostgresReplicationConnection.startPgReplicationStream(PostgresReplicationConnection.java:815)
      Aug 26 02:49:39 db-ex bash[1927843]:         at io.debezium.connector.postgresql.connection.PostgresReplicationConnection.createReplicationStream(PostgresReplicationConnection.java:661)
      Aug 26 02:49:39 db-ex bash[1927843]:         at io.debezium.connector.postgresql.connection.PostgresReplicationConnection.startStreaming(PostgresReplicationConnection.java:447)
      Aug 26 02:49:39 db-ex bash[1927843]:         at io.debezium.connector.postgresql.PostgresStreamingChangeEventSource.execute(PostgresStreamingChangeEventSource.java:183)
      Aug 26 02:49:39 db-ex bash[1927843]:         at io.debezium.connector.postgresql.PostgresStreamingChangeEventSource.execute(PostgresStreamingChangeEventSource.java:42)
      Aug 26 02:49:39 db-ex bash[1927843]:         at io.debezium.pipeline.ChangeEventSourceCoordinator.streamEvents(ChangeEventSourceCoordinator.java:322)
      Aug 26 02:49:39 db-ex bash[1927843]:         at io.debezium.pipeline.ChangeEventSourceCoordinator.executeChangeEventSources(ChangeEventSourceCoordinator.java:203)
      Aug 26 02:49:39 db-ex bash[1927843]:         at io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:143)
      Aug 26 02:49:39 db-ex bash[1927843]:         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
      Aug 26 02:49:39 db-ex bash[1927843]:         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
      Aug 26 02:49:39 db-ex bash[1927843]:         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
      Aug 26 02:49:39 db-ex bash[1927843]:         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
      Aug 26 02:49:39 db-ex bash[1927843]:         at java.base/java.lang.Thread.run(Thread.java:1583)

      Do you see the same behaviour using the latest released Debezium version?

      (Ideally, also verify with latest Alpha/Beta/CR version)

      <Your answer>

      Do you have the connector logs, ideally from start till finish?

      (You might be asked later to provide DEBUG/TRACE level log)

      <Your answer>

      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>

              Unassigned Unassigned
              nlsrrr Nur Laila (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: