alibaba/canal ? reverse-engineered prompt
Reverse engineered prompt
Build me a Java service that can read MySQL binlog changes and turn them into a simple change stream I can subscribe to. I want it to connect to MySQL like a replica, capture inserts, updates, and deletes, and let different clients consume those events in a clean way.
It should include a server side component, a basic client API, and a web based admin screen for managing instances, configs, and tasks. Please also make it easy to run with Docker, expose Prometheus metrics, and support sending events through a message queue like Kafka or RocketMQ if that fits naturally. The main goal is reliable incremental data sync, so focus on stability, easy setup, and clear documentation for getting started with a MySQL source and a sample consumer.
If you need to check current docs or best practices for MySQL binlog handling, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit