What should be the replication factor of changelog/repartition topics

前端 未结 1 604
庸人自扰
庸人自扰 2021-01-22 07:42

I know it is possible to configure replication factor these internal topics for the kafka streams, our application uses for normal application topics with replication factor 3 b

相关标签:
1条回答
  • 2021-01-22 07:54

    Yes, you'll want to use the same replication factor of your application topics for your changelog/repartition topics.

    You can specify the replication factor your changelog/repartition topics via

    properties.put(StreamsConfig.REPLICATION_FACTOR_CONFIG, 3)
    

    HTH, Bill

    0 讨论(0)
提交回复
热议问题