【发布时间】:2018-09-28 01:58:50
【问题描述】:
我有一个使用 Kstream-Kstream 连接和 Ktream-Ktable 连接的应用程序。 我已将输入源主题分区计数从 4 更新为 16,并且应用程序停止并出现以下错误。
Could not create internal topics: Existing internal topic application-test-processor-KSTREAM-JOINTHIS-0000000009-store-changelog has invalid partitions. Expected: 16 Actual: 4. Use 'kafka.tools.StreamsResetter' tool to clean up invalid topics before processing. Retry #3
如何在更新源主题分区计数时更新内部更改日志主题分区计数?
注意:我们使用的是kafka版本:0.10.2.1
我从这个链接查看了应用程序重置工具:https://docs.confluent.io/current/streams/developer-guide/app-reset-tool.html 但它没有说明如何更新 changelog 分区。
提前致谢。
【问题讨论】:
标签: apache-kafka kafka-consumer-api kafka-producer-api apache-kafka-streams