apache-kafka - Apache kafka 的 inter.broker.protocol.version 中的后缀
问题描述
在滚动升级 Kafka 代理时,我发现官方文档说的不匹配。
默认值为inter.broker.protocol.version=2.3-IV1
,
和https://kafka.apache.org/documentation/#upgrade_2_3_0说设置inter.broker.protocol.version=2.3
2.3-IV1
使用和有什么区别2.3
吗?
解决方案
通过查看代码,2.3 将是 2.3-IV0(参见https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/api/ApiVersion.scala#L305)和2.3-IV0 和 IV1 之间的区别是Add rack_id to FetchRequest, preferred_read_replica to FetchResponse, and replica_id to OffsetsForLeaderRequest
- 根据此评论
推荐阅读
- javascript - 使用用户 uid 从 firestore 获取数据
- python - 带有 UTC 支持/时区问题的 Django 开放时间
- discord.py - 我的赠品 cog 命令由于某种原因无法正常工作
- react-native - expo react-native sdk 33.0.0 ENOENT 存档似乎已损坏
- java - Gremlin:使用 gremlin-driver 在 Java 中获取 json 响应
- excel - 还款方式公式
- c++ - 如何使用从 C++ 中的二进制文件读取的字节创建对象?
- excel - 在 Excel 中合并数据透视表的列
- python - SQLAlchemy Alembic:SQLServer 的 URL 问题
- c - 使用 C API 对单个 SQlite 数据库进行多线程读取和写入