Is it a good pratice to create a kafka topic with ...
# spring
r
Is it a good pratice to create a kafka topic with Spring, or is creating using the CLI better?
google 2
t
uh, this is a complex question. creating with spring will create based on default configuration in the broker and it is possible only if the broker allows it. creating from cli allows you to configure things explicitly, like timeouts, # partitions etc. mostly, it depends what you want to do (as a developer, for me it was ok to let spring create topics, as that keeps deployments easy - thing having flyway vs having to remember to create/alter a table before deploying, as SRE they always complained and wanted to disallow the option)
👍 1