You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Mudit Kumar <mu...@askme.in> on 2016/06/14 12:29:14 UTC

Delete Message From topic

Hey,

How can I delete particular messages from particular topic?Is that possible?

Thanks,
Mudit


Re: Delete Message From topic

Posted by Mudit Kumar <mu...@askme.in>.
Hi Christian,

Thanks.I just wanted to delete few messages so that if any consumer start from beginning,they shouldn’t see those messages.

Thanks,
Mudit




On 6/14/16, 9:02 PM, "Christian Posta" <ch...@gmail.com> wrote:

>Might be worth describing your use case a bit to see if there's another way
>to help you?
>
>On Tue, Jun 14, 2016 at 5:29 AM, Mudit Kumar <mu...@askme.in> wrote:
>
>> Hey,
>>
>> How can I delete particular messages from particular topic?Is that
>> possible?
>>
>> Thanks,
>> Mudit
>>
>>
>
>
>-- 
>*Christian Posta*
>twitter: @christianposta
>http://www.christianposta.com/blog
>http://fabric8.io


Re: Delete Message From topic

Posted by Christian Posta <ch...@gmail.com>.
Might be worth describing your use case a bit to see if there's another way
to help you?

On Tue, Jun 14, 2016 at 5:29 AM, Mudit Kumar <mu...@askme.in> wrote:

> Hey,
>
> How can I delete particular messages from particular topic?Is that
> possible?
>
> Thanks,
> Mudit
>
>


-- 
*Christian Posta*
twitter: @christianposta
http://www.christianposta.com/blog
http://fabric8.io

Re: Delete Message From topic

Posted by Mudit Agarwal <mu...@yahoo.com.INVALID>.
Thanks Tom!

      From: Todd Palino <tp...@gmail.com>
 To: "users@kafka.apache.org" <us...@kafka.apache.org> 
 Sent: Tuesday, 14 June 2016 10:01 PM
 Subject: Re: Delete Message From topic
   
Well, if you have a log compacted topic, you can issue a tombstone message
(key with a null message) to delete it. Outside of that, what Tom said
applies.

-Todd


On Tue, Jun 14, 2016 at 9:13 PM, Mudit Kumar <mu...@askme.in> wrote:

> Thanks Tom!
>
>
>
>
> On 6/14/16, 8:55 PM, "Tom Crayford" <tc...@heroku.com> wrote:
>
> >Hi Mudit,
> >
> >Sorry this is not possible. The only deletion Kafka offers is retention or
> >whole topic deletion.
> >
> >Thanks
> >
> >Tom Crayford
> >Heroku Kafka
> >
> >On Tuesday, 14 June 2016, Mudit Kumar <mu...@askme.in> wrote:
> >
> >> Hey,
> >>
> >> How can I delete particular messages from particular topic?Is that
> >> possible?
> >>
> >> Thanks,
> >> Mudit
> >>
> >>
>
>


-- 
*Todd Palino*
Staff Site Reliability Engineer
Data Infrastructure Streaming



linkedin.com/in/toddpalino


   

Re: Delete Message From topic

Posted by Todd Palino <tp...@gmail.com>.
Well, if you have a log compacted topic, you can issue a tombstone message
(key with a null message) to delete it. Outside of that, what Tom said
applies.

-Todd


On Tue, Jun 14, 2016 at 9:13 PM, Mudit Kumar <mu...@askme.in> wrote:

> Thanks Tom!
>
>
>
>
> On 6/14/16, 8:55 PM, "Tom Crayford" <tc...@heroku.com> wrote:
>
> >Hi Mudit,
> >
> >Sorry this is not possible. The only deletion Kafka offers is retention or
> >whole topic deletion.
> >
> >Thanks
> >
> >Tom Crayford
> >Heroku Kafka
> >
> >On Tuesday, 14 June 2016, Mudit Kumar <mu...@askme.in> wrote:
> >
> >> Hey,
> >>
> >> How can I delete particular messages from particular topic?Is that
> >> possible?
> >>
> >> Thanks,
> >> Mudit
> >>
> >>
>
>


-- 
*Todd Palino*
Staff Site Reliability Engineer
Data Infrastructure Streaming



linkedin.com/in/toddpalino

Re: Delete Message From topic

Posted by Mudit Kumar <mu...@askme.in>.
Thanks Tom!




On 6/14/16, 8:55 PM, "Tom Crayford" <tc...@heroku.com> wrote:

>Hi Mudit,
>
>Sorry this is not possible. The only deletion Kafka offers is retention or
>whole topic deletion.
>
>Thanks
>
>Tom Crayford
>Heroku Kafka
>
>On Tuesday, 14 June 2016, Mudit Kumar <mu...@askme.in> wrote:
>
>> Hey,
>>
>> How can I delete particular messages from particular topic?Is that
>> possible?
>>
>> Thanks,
>> Mudit
>>
>>


Re: Delete Message From topic

Posted by Tom Crayford <tc...@heroku.com>.
Hi Mudit,

Sorry this is not possible. The only deletion Kafka offers is retention or
whole topic deletion.

Thanks

Tom Crayford
Heroku Kafka

On Tuesday, 14 June 2016, Mudit Kumar <mu...@askme.in> wrote:

> Hey,
>
> How can I delete particular messages from particular topic?Is that
> possible?
>
> Thanks,
> Mudit
>
>