Re: Regarding : Store stream for infinite time

2018-01-23 Thread Aman Rastogi
Thanks Matthias. This is really helpful. Regards, Aman On Wed, Jan 24, 2018 at 2:47 AM, Matthias J. Sax wrote: > It's simpler to set retention time to Long.MAX_VALUE instead of log > compaction and generating unique keys. This effectively disable > retention because the value is huge. > > The a

Re: Regarding : Store stream for infinite time

2018-01-23 Thread Matthias J. Sax
It's simpler to set retention time to Long.MAX_VALUE instead of log compaction and generating unique keys. This effectively disable retention because the value is huge. The advantage is, that you don't need to worry about generating unique keys. -Matthias On 1/23/18 10:39 AM, Aman Rastogi wrote:

Re: Regarding : Store stream for infinite time

2018-01-23 Thread Aman Rastogi
Thanks Svante. Regards, Aman On Tue, Jan 23, 2018 at 11:38 PM, Svante Karlsson wrote: > Yes, it will store the last value for each key > > 2018-01-23 18:30 GMT+01:00 Aman Rastogi : > > > Hi All, > > > > We have a use case to store stream for infinite time (given we have > enough > > storage). >

Re: Regarding : Store stream for infinite time

2018-01-23 Thread Svante Karlsson
Yes, it will store the last value for each key 2018-01-23 18:30 GMT+01:00 Aman Rastogi : > Hi All, > > We have a use case to store stream for infinite time (given we have enough > storage). > > We are planning to solve this by Log Compaction. If each message key is > unique and Log compaction is

Regarding : Store stream for infinite time

2018-01-23 Thread Aman Rastogi
Hi All, We have a use case to store stream for infinite time (given we have enough storage). We are planning to solve this by Log Compaction. If each message key is unique and Log compaction is enabled, it will store whole stream for infinite time. Just wanted to check if my assumption is correct