Hi - we are upgrading a service that uses debezium-embedded and debezium-connector-postgres from 3.1.3 to 3.3.0 and now see the following error logged once during startup:
java.lang.InterruptedException: sleep interrupted
at java.base/java.lang.Thread.sleep(Native Method)
at io.debezium.util.Metronome$1.pause(Metronome.java:57)
at io.debezium.connector.postgresql.connection.PostgresReplicationConnection$1.lambda$startKeepAlive$0(PostgresReplicationConnection.java:1007)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
The service does appear to start up correctly, and to continue functioning correctly (ie reading rows from Postgres WAL and writing records to Kafka).
I just want to make sure that seeing this exception in logs is not an indication of an actual problem that we need to address.
I did find
this other thread with the same exception. If it's related, we are using snapshot.mode=no_data.
If it helps, here are logs around the exception:
2025-10-08 12:02:15.015 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO io.debezium.util.Threads - Requested thread factory for component PostgresConnector, id = settings named = keep-alive
2025-10-08 12:02:15.015 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO io.debezium.util.Threads - Creating thread debezium-postgresconnector-settings-keep-alive
2025-10-08 12:02:15.016 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO i.d.c.p.PostgresStreamingChangeEventSource - Searching for WAL resume position
2025-10-08 12:02:15.017 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO i.d.c.p.c.WalPositionLocator - First LSN 'LSN{0/6E86250}' received
2025-10-08 12:02:15.023 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO i.d.c.p.c.WalPositionLocator - Received COMMIT LSN 'LSN{0/6E862E0}' larger than than last stored commit LSN 'LSN{0/6E86218}'
2025-10-08 12:02:15.023 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO i.d.c.p.c.WalPositionLocator - Will restart from LSN 'LSN{0/6E86250}' that is start of the first unprocessed transaction
2025-10-08 12:02:15.023 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO i.d.c.p.PostgresStreamingChangeEventSource - WAL resume position 'LSN{0/6E86250}' discovered
2025-10-08 12:02:15.024 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO io.debezium.util.Threads - Requested thread factory for component JdbcConnection, id = JdbcConnection named = jdbc-connection-close
2025-10-08 12:02:15.024 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO io.debezium.util.Threads - Creating thread debezium-jdbcconnection-JdbcConnection-jdbc-connection-close
2025-10-08 12:02:15.026 [debezium-jdbcconnection-JdbcConnection-jdbc-connection-close] INFO io.debezium.jdbc.JdbcConnection - Connection gracefully closed
2025-10-08 12:02:15.026 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO io.debezium.util.Threads - Requested thread factory for component JdbcConnection, id = JdbcConnection named = jdbc-connection-close
2025-10-08 12:02:15.026 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO io.debezium.util.Threads - Creating thread debezium-jdbcconnection-JdbcConnection-jdbc-connection-close
2025-10-08 12:02:15.026 [debezium-jdbcconnection-JdbcConnection-jdbc-connection-close] INFO io.debezium.jdbc.JdbcConnection - Connection gracefully closed
2025-10-08 12:02:15.024 [debezium-postgresconnector-settings-keep-alive] ERROR i.d.c.p.c.PostgresReplicationConnection - Unexpected exception while performing keepalive status update on the replication stream
java.lang.InterruptedException: sleep interrupted
at java.base/java.lang.Thread.sleep(Native Method)
at io.debezium.util.Metronome$1.pause(Metronome.java:57)
at io.debezium.connector.postgresql.connection.PostgresReplicationConnection$1.lambda$startKeepAlive$0(PostgresReplicationConnection.java:1007)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
2025-10-08 12:02:15.039 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO i.d.c.p.c.PostgresReplicationConnection - Initializing PgOutput logical decoder publication
2025-10-08 12:02:15.059 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO io.debezium.util.Threads - Requested thread factory for component PostgresConnector, id = settings named = keep-alive
2025-10-08 12:02:15.059 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO io.debezium.util.Threads - Creating thread debezium-postgresconnector-settings-keep-alive
2025-10-08 12:02:15.060 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO i.d.c.p.PostgresStreamingChangeEventSource - Processing messages
2025-10-08 12:02:15.060 [debezium-postgresconnector-settings-change-event-source-coordinator] INFO i.d.c.p.c.WalPositionLocator - Message with LSN 'LSN{0/6E86250}' arrived, switching off the filtering
Thanks,
Zach