kakfaStream 与kafka partitions动态增

2018-07-10  本文已影响0人  七_seven

Partitions can be added to a Kafka topic dynamically. This example shows that an existing stream

 will not see the data published to the new partitions, and only when the existing streaming context is terminated

 and a new stream is started from a new context will that data be delivered.

kafka的主题分区可以动态增加,如果已经在运行的stream是不能发现新增的partition的数据的,必须重新启动一个新的stream。

上一篇下一篇

猜你喜欢

热点阅读