Örnek - Redis'e Stream
Şöyle yaparız. Burada Debezium Kafka yerine Redis'e yazıyor
debezium.sink.type=redis debezium.sink.redis.address=redis:6379 debezium.source.connector.class=io.debezium.connector.postgresql.PostgresConnector debezium.source.offset.storage.file.filename=data/offsets.dat debezium.source.offset.flush.interval.ms=0 debezium.source.database.hostname=postgres debezium.source.database.port=5432 debezium.source.database.user=postgres debezium.source.database.password=postgres debezium.source.database.dbname=postgres debezium.source.database.server.name=tutorial debezium.source.schema.whitelist=test_schema debezium.source.plugin.name=pgoutput
Örnek - Rabbitmq'ya
Şöyle yaparız. debezium.event_store.mt_events isimli exchange'e yazar
debezium.source.connector.class=io.debezium.connector.postgresql.PostgresConnector debezium.source.offset.storage.file.filename=data/offsets.dat debezium.source.database.hostname=localhost debezium.source.database.port=5432 debezium.source.database.user=postgres debezium.source.database.password=1234 debezium.source.database.dbname=MartenDB debezium.source.table.include.list=event_store.mt_events debezium.source.column.include.list=event_store.mt_events.data debezium.source.topic.prefix=debezium debezium.source.plugin.name=pgoutput debezium.sink.type=rabbitmq debezium.sink.rabbitmq.connection.host=localhost debezium.sink.rabbitmq.connection.port=5672 debezium.sink.rabbitmq.connection.username=guest debezium.sink.rabbitmq.connection.password=guest
Hiç yorum yok:
Yorum Gönder