Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar
New Member

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-....