Last active
October 2, 2019 14:18
-
-
Save sohangp/0f3975726942ef94e00caf23e20c347a to your computer and use it in GitHub Desktop.
Debezium Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
@Bean | |
public io.debezium.config.Configuration debeziumDataBaseConfig() { | |
return io.debezium.config.Configuration.create() | |
.with("connector.class", "io.debezium.connector.postgresql.PostgresConnector") | |
.with("name", "outbox-postgres-connector") | |
.with("database.server.name", "pg-outbox-server") | |
.with("database.hostname", databaseHostName) | |
.with("database.port", databasePort) | |
.with("database.user",databaseUserName) | |
.with("database.password", databasePassword) | |
.with("database.dbname", databaseName) | |
.with("table.whitelist", "public.outbox") | |
.build(); | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment