Issue
I'm trying to develop an spring application which will take input from user and store it to topic and then I wan't to load it to cassandra from this topic (Note:- not using confluent kafka version). SO, far I was able to write a producer and consumer logic in spring and now need to load data from kafka topic to cassandra. How can I do this??? When I look over internet it was suggested to go with API provided by confluent kafka. But, I would like to do it in Spring. I'm not sure how to code and not sure if I can achieve this with non confluent flavour of apache kafka.
Thanks in advance
Solution
If the data is already published on a Kafka topic, you can just use the DataStax Kafka connector for Apache Cassandra, DataStax Enterprise and Astra DB.
The connector lets you save records from a Kafka topic to Cassandra tables. It is open-source so it's free to use. Cheers!
Answered By - Erick Ramirez
Answer Checked By - Dawn Plyler (JavaFixing Volunteer)