I'm studying kafka and saw how the producer and consumer structure works, I found it very useful and simple.
Producer:
$ ./kafka-console-producer.sh --broker-list "BootstrapBrokerStringTls" --producer.config client.properties --topic AWSKafkaTutorialTopic
Consumer:
$ ./kafka-console-consumer.sh --bootstrap-server "BootstrapBrokerStringTls" --consumer.config client.properties --topic AWSKafkaTutorialTopic --from-beginning
But to try to do something closer to the real world, I want to do when I send a json in my products, be inserted the data in a mysql table. Does anyone have any tips on how to do this?
I saw this link, but here the consumer is watching when I enter a data in mysql, and that's not what I want. On the contrary, I want what I write in the producer to be inserted in the BD.