如何将清理添加到Spring Application.AYML?
是否可以添加Spring Application.yaml“ callup.policy”和“ log.cleaner.max.compaction.lag.ms”以配置kafka compact?如果可能的话,如何?
现在我使用@Bean newtopic
Is it possible to add in spring application.yaml "cleanup.policy" and "log.cleaner.max.compaction.lag.ms" for configure kafka compact? If it is possible, how?
Now I do it with @Bean NewTopic
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须通过
newtopic
bean做到这一点;但是,您可以使用物业占位持有人设置值。You have to do it via a
NewTopic
bean; you can set the value using a property placeholder, however.