- Set up a MySQL database
- Simulate events occurring on it
- Public binlog changes to Kafka
- Monitor the Kafka stream with a simple Rust client
- Extend this simple example to a Fluvio connector
- [start Rancher]
- make fluvio-start (topic create catfact)
- make kafka-start (start MySQL, Kafka, Debezium)
- make kafka-subscribe
- make start-fake-events (fake loop to insert cat facts into the database as simulated events)
- make kafka-watch (Debezium script to make sure the connector is working)
- make kafka-rust (my rust client to watch the Kafka stream)
- *make fluvio-kafka-connector (doesn't work, same logic as #6, I just can't yet get the Docker/Compose/Debezium/Fluvio pieces talking)
Result of #8
Successfully tagged fluvio-connectors-kafka-source:latest
2022-10-31T22:38:26.618508Z INFO kafka_source: Starting Kafka source connector connector_version="0.3.1" git_hash="161301ff696721dbe603ef9f318349b83eb79019"
2022-10-31T22:38:26.639575Z INFO fluvio::fluvio: Connecting to Fluvio cluster fluvio_crate_version="0.15.0" fluvio_git_hash="df561cd66c7d72824ba0290c189a0b0382b4a6c9"
Error: Socket error: socket
Caused by:
0: socket
1: Cannot assign requested address (os error 99)
make: *** [fluvio-kafka-connector] Error 1