we use Debezium in Spring Boot and make a log entry for every SourceRecord with a Handler. In my first test with a oracle db the duration between oracle db entry (create time) and the log time in debezium between 1-3s. Our requirments we need a max duration < 1000ms. Is that normal or what is missing in the configuration?
Spring Boot-Config:
@Bean
public io.debezium.config.Configuration eventConnector() {
return io.debezium.config.Configuration.create()
.with("name", "xx.adapter.cdc2")
.with("connector.class", "io.debezium.connector.oracle.OracleConnector")
.with("
offset.flush.interval.ms", 6000)
// try optimizing start
.with("
poll.interval.ms", "500")
.with("
signal.poll.interval.ms", "500")
.with("snapshot.locking.mode", "none")
// optimizing end
//.with("max.batch.size", "128")
//.with("max.queue.size", "256")
.with("task.max", 1)
.with("database.hostname", "xxxx")
.with("database.port", "xxxx")
.with("database.user", "c##dbzuser")
.with("database.password", "xxxx") //dbz
.with("topic.prefix", "xxxx")
.with("database.dbname", "xxxx")
.with("
database.pdb.name", "xxxx")
.with("
database.server.name", "xxxx")
//.with("include.schema.changes", "false")
.with("log.mining.strategy", "online_catalog")
.with("snapshots.max.threads",4)
.with("offset.storage.file.filename", "/tmp/xx_adapter_cdc_storage2.dat")
.with("database.history.file.filename", "/tmp/xx_adapter_cdc_db_history2.dat")
.with("database.history", "io.debezium.relational.history.FileDatabaseHistory")
.with("schema.history.internal", "io.debezium.storage.file.history.FileSchemaHistory")
.with("schema.history.internal.file.filename", "/tmp/xx_adapter_cdc_schema2.dat")
.with("table.include.list", "xx.Tabelle")
.with("transforms","changes, convertTimezone")
.with("transforms.changes.type","io.debezium.transforms.ExtractChangedRecordState")
.with("
transforms.changes.header.changed.name","Changed")
.with("
transforms.changes.header.unchanged.name","Unchanged")
.with("transforms.convertTimezone.type","io.debezium.transforms.TimezoneConverter")
.with("transforms.convertTimezone.converted.timezone","Europe/Berlin")
//.with("decimal.handling.mode", "double")
.build();