Support Questions

Find answers, ask questions, and share your expertise

Delete message after consuming it from kafka topic is this possible ?

avatar
Explorer

is it possible for after consuming data from kafka topic data is deleted using java api please help me for this..

1 ACCEPTED SOLUTION

avatar
Super Collaborator

@vishal patil

I dont think this is possible as Kafka is not a consume-delete semantic framework and multiple consumers might be reading from the same queue.

This http://stackoverflow.com/questions/28586008/delete-message-after-consuming-it-in-kafka has details for your question.

Also refer https://www.quora.com/I-want-to-delete-the-message-from-a-Kafka-broker-after-consuming-it-How-can-I-....

View solution in original post

1 REPLY 1

avatar
Super Collaborator

@vishal patil

I dont think this is possible as Kafka is not a consume-delete semantic framework and multiple consumers might be reading from the same queue.

This http://stackoverflow.com/questions/28586008/delete-message-after-consuming-it-in-kafka has details for your question.

Also refer https://www.quora.com/I-want-to-delete-the-message-from-a-Kafka-broker-after-consuming-it-How-can-I-....