Kafka Message retention time

By default Kafka retention time is 7 days but we can configure this in the Broker. We should have to use the below property and change it appropriately

retention.ms=7 Days [ log.retention.minutes]

Kafka 0.8.2.1 documentation

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s