kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anand jain <anandjain1...@gmail.com>
Subject Re: Delete message after consuming it
Date Mon, 04 Aug 2014 06:44:19 GMT
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