Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the option to specify topic.retention.ms during topic creation #640

Closed
wants to merge 1 commit into from
Closed

Added the option to specify topic.retention.ms during topic creation #640

wants to merge 1 commit into from

Conversation

gontcharovd
Copy link

I have extended the create-topics.sh script to include the option to specify the retention (in milliseconds) during topic creation.
The retention is specified by extending the existing topic creation syntax: name:partitions:replicas:cleanup.policy:retention.ms.
If topicConfig[4] exists, the retention is set for that topic.

@renatomefi
Copy link

Hey, I'm proposing something similar, check it out: #642

@gontcharovd
Copy link
Author

Ah yes, I think your PR makes more sense

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

Successfully merging this pull request may close these issues.

2 participants