kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manikumar Reddy <ku...@nmsworks.co.in>
Subject Re: Delete message after consuming it
Date Mon, 04 Aug 2014 17:32:25 GMT
Hi,

It depends on your use-case.

https://kafka.apache.org/documentation.html#uses

Log retention(size/time) policy is sufficient for normal messaging system
like use-cases.

Refer Kafka documentation for more details.

Manikumar

On Mon, Aug 4, 2014 at 12:14 PM, anand jain <anandjain1984@gmail.com> wrote:

> Thanks Mani,
>
> Eager to know, which one is better to use?
>
> Could you please let me know the pros/cons of one over another?
>
> Regards
> Anand
>
> On Fri, Aug 1, 2014 at 6:12 PM, Manikumar Reddy <kumar@nmsworks.co.in>
> wrote:
>
> > Hi,
> >
> > Kafka supports two types of log/messages retention policies.
> >
> > Log retention(size/time): The messages will be discarded after
> > log.retention.minutes or  when the log size reaches log.retention.bytes
> >
> > Log compaction: which ensures that Kafka will always retain at least the
> > last known value for each message key within the log of data for a single
> > topic partition.
> >
> > https://kafka.apache.org/documentation.html#compaction
> >
> >
> > Kumar
> >
> >
> > On Fri, Aug 1, 2014 at 4:02 PM, anand jain <anandjain1984@gmail.com>
> > wrote:
> >
> > > I want to delete the message from a Kafka broker after consuming
> it(Java
> > > consumer). How can I do that?
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message