简体   繁体   English

重新分配 __consumer_offsets 主题的分区会导致问题吗?

[英]Does reassigning partitions of __consumer_offsets topic cause problems?

We are runnning 25 brokers.我们正在运行 25 个经纪人。 But partitions of the __consumer_offsets topic spreads on only 3 brokers and it's not fully available as we intended.但是 __consumer_offsets 主题的分区仅分布在 3 个代理上,并且它并不像我们预期的那样完全可用。 This may not a problem because kafka supports reassigning partition across brokers.这可能不是问题,因为 kafka 支持跨代理重新分配分区。 But we hesitate to reassign them because topic is __consumer_offsets.但是我们犹豫要重新分配它们,因为主题是 __consumer_offsets。

Cluster information :集群信息:

  • Broker version: 0.11.0.2代理版本:0.11.0.2
  • number of brokers : 25经纪人数量:25

__consumer_offsets topic status : __consumer_offsets 主题状态:

  • number of partitions : 50分区数:50
  • number of replica : 3副本数量:3
  • Broker spread : 3 (50 partitions are placed on 3 partitions)经纪商点差:3(50 个分区放在 3 个分区上)

My questions is : Does reassigning partitions of __consumer_offsets topic leads problem or not?我的问题是:重新分配 __consumer_offsets 主题的分区是否会导致问题?

您可以重新分配 __consumer_offset 的分区,不会有任何问题,因为它的重新分配与其他主题的处理方式相同

Currently, we are using Kafka 2.11-1.1.1.目前,我们使用的是 Kafka 2.11-1.1.1。 I had a problem with reassigning some partitions of consumer_offset.我在重新分配 consumer_offset 的某些分区时遇到了问题。 it caused a rolling restart of all Kafka instances due to this exception in fetcher thread.由于 fetcher 线程中的此异常,它导致所有 Kafka 实例滚动重启。

kafka.common.OffsetsOutOfOrderException: Out of order offsets found in append to __consumer_offsets-31.

I don't know why but I think we should do it in silence time.我不知道为什么,但我认为我们应该在沉默的时间里做。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM