Closed imbananko closed 3 years ago
Hello, I'm using manually built KafkaRAR And my question: Is there a way to control offset commitment of incoming messages? For example I have:
KafkaRAR
@OnRecord(topics = {"test-topic"}) public void getMessage(ConsumerRecords record) { //business }
If some exception happens, how can I tell producer to keep the current offset? Or to resend same message (with the same offset)?
Hi @imbananko,
Questions like this are best posted in our Payara Forum.
Thank you for your understanding, Alan
Hello, I'm using manually built
KafkaRAR
And my question: Is there a way to control offset commitment of incoming messages? For example I have:If some exception happens, how can I tell producer to keep the current offset? Or to resend same message (with the same offset)?