Skip to content
Discussion options

You must be logged in to vote

The data written to Kafka is pretty verbose because we write the full write requests where series labels are repeated on each request. Ingesters typically consume from Kafka with a subsecond delay so, theoretically, you would just need few seconds of retention in Kafka. In practice, a longer retention is required to compensate for the case ingesters are unhealthy or lagging behind.

I agree that 24h Kafka retention is very high and it's reasonable (and safe) to set the retention to a lower value.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ssams
Comment options

Answer selected by ssams
Comment options

You must be logged in to vote
1 reply
@ssams
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants