Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
1.2.0.Final
-
None
Description
The integration tests for kinesis and pubsub adapters fail with the following error: io.debezium.DebeziumException: Creation of replication slot failed
Here are the logs:
io.debezium.DebeziumException: Creation of replication slot failed at io.debezium.connector.postgresql.PostgresConnectorTask.start(PostgresConnectorTask.java:131) at io.debezium.connector.common.BaseSourceTask.start(BaseSourceTask.java:101) at io.debezium.embedded.EmbeddedEngine.run(EmbeddedEngine.java:756) at io.debezium.embedded.ConvertingEngineBuilder$2.run(ConvertingEngineBuilder.java:170) at io.debezium.server.DebeziumServer.lambda$start$1(DebeziumServer.java:133) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.postgresql.util.PSQLException: ERROR: logical decoding requires wal_level >= logical at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2533) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2268) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:313) at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:448) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:369) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:310) at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:296) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:273) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:268) at io.debezium.connector.postgresql.connection.PostgresReplicationConnection.createReplicationSlot(PostgresReplicationConnection.java:354) at io.debezium.connector.postgresql.PostgresConnectorTask.start(PostgresConnectorTask.java:124) ... 7 more [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.973 s <<< FAILURE! - in io.debezium.server.DebeziumServerIT [ERROR] testPostgres Time elapsed: 3.801 s <<< ERROR! io.debezium.DebeziumException: Creation of replication slot failed Caused by: org.postgresql.util.PSQLException: ERROR: logical decoding requires wal_level >= logical Jul 02, 2020 10:02:57 PM io.debezium.server.DebeziumServer stop INFO: Received request to stop the engine Jul 02, 2020 10:02:57 PM io.debezium.embedded.EmbeddedEngine stop INFO: Stopping the embedded engine Test consumer destroyed Jul 02, 2020 10:02:57 PM io.quarkus.bootstrap.runner.Timing printStopTime INFO: Quarkus stopped in 0.022s [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] DebeziumServerIT.testPostgres » Debezium Creation of replication slot failed