美文网首页
kakfaStream 与kafka partitions动态增

kakfaStream 与kafka partitions动态增

作者: 七_seven | 来源:发表于2018-07-10 17:36 被阅读0次

    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。

    相关文章

      网友评论

          本文标题:kakfaStream 与kafka partitions动态增

          本文链接:https://www.haomeiwen.com/subject/ucdqpftx.html