Skip to content
Discussion options

You must be logged in to vote

From a configuration this is something possible with Kafka.
You should set the log.retention.ms at -1 which will apply no time limit. More info log.retention.ms
Taking into account that the log.retention.bytes is -1 by default, you should have retention "forever" and not deleting on size or time.
Of course, it could be dangerous because your disk could be run out of space if log segments are not deleted periodically and you could have a not working broker soon (even not able to start).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sreejesh-radhakrishnan-db
Comment options

@sreejesh-radhakrishnan-db
Comment options

Answer selected by ppatierno
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants