I am using spring boot Kafka to send messages to a topic. My requirement is to read data incrementally from a table and publish it into a topic based on a date time field and as it is a scheduled process i need to store the date-time field from each message after each successful send message to Kafka.
Any suggestions what is the best way of doing this.I believe i cannot use asynchronous callback for something like this as i need to update the variable after each call to the producer.
Also i cannot use Kafka connect due to infrastructural constraint.