update 优化 kafka 示例 支持自动创建 topic

This commit is contained in:
疯狂的狮子Li
2024-06-15 17:04:27 +08:00
parent 9a90030956
commit 681f6cc55a
2 changed files with 2 additions and 10 deletions

View File

@@ -33,6 +33,8 @@ spring:
streams:
properties:
application.id: kafka-streams-id # 应用ID
properties:
auto.create.topics.enable: true # 开启自动创建话题功能默认是false根据需要设置
--- # rocketmq 配置
rocketmq: