adevinta / zoe

The Kafka CLI for humans
https://adevinta.github.io/zoe
MIT License
286 stars 21 forks source link

[Feature Request] Set Rentention and Cleanup Policy When Creating Topics #7

Closed rsaltrelli closed 4 years ago

rsaltrelli commented 4 years ago
zoe topics create --partitions 6 --replication-factor 3 --retention-ms -1 --cleanup-policy compact MyNewTopic

I'd love to be able to do something like this when creating a new topic.

wlezzar commented 4 years ago

Hi @rsaltrelli. Thanks for the issue : )

Indeed, it's a useful feature to have. I just opened a PR in this regard here: https://github.com/adevinta/zoe/pull/8

Can you check the example and give me a feedback if this is what you needed?

rsaltrelli commented 4 years ago

Looks good to me. Thank you!

wlezzar commented 4 years ago

You're welcome!