test debezium postgre integration with redpanda kafka
incoming kafka message can be decoded by using avro decoder from redpanda schema registry at localhost:8081
redpanda schema registry documentation
https://redpanda.com/blog/schema_registry/
golang library to decode message from schema registry
https://github.com/riferrei/srclient
rpk topic consume pg_order.public.sb_order --brokers=0.0.0.0:29092
after running docker compose, execute this request to upload connector config to debezium connector
curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" 127.0.0.1:8083/connectors/ --data "@connector/debezium-connector.json"
if you want to delete existing connector, so we can set the new one, run this command
curl -i -X DELETE localhost:8083/connectors/debezium-connector