You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a possibility to alter topic configurations in a similar way we can create new topics just by adding a NewTopic bean?
As far as I could see the configurations in the NewTopic beans are only used to create topics and increase partition size but when setting a configuration like retention.ms this will only be used to initially create the topic.
It just hasn't been given any priority, given that there is an easy work around with just a few lines of code. I have marked it as "ideal-for-user-contribution".
One concern I would have with doing it automatically every time an application starts is you might have 2 apps using the same topic, but with different configs and it would keep toggling back and forth.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a possibility to alter topic configurations in a similar way we can create new topics just by adding a
NewTopic
bean?As far as I could see the configurations in the
NewTopic
beans are only used to create topics and increase partition size but when setting a configuration likeretention.ms
this will only be used to initially create the topic.Beta Was this translation helpful? Give feedback.
All reactions