繁体   English   中英

org.apache.kafka.common.errors.InconsistentGroupProtocolException: 组成员支持的协议与现有协议不兼容

[英]org.apache.kafka.common.errors.InconsistentGroupProtocolException: The group member's supported protocols are incompatible with those of existing

我正在尝试使用 spring-boot 应用程序连接到 kafka 主题,但出现此错误:

org.apache.kafka.common.errors.InconsistentGroupProtocolException: The group member's supported protocols are incompatible with those of existing members or first group member tried to join with empty protocol type or empty protocol list.

当我配置我的消费者时,我提供

security.protocol = SASL_SSL
ssl.enabled.protocols = [TLSv1.2, TLSv1.3]
ssl.protocol = TLSv1.3

所以我不知道哪个协议丢失/为空。 过去有没有人解决过这个问题?

我试图搜索该站点,但那里发现的问题不适合我。 例如,partition.assignment.strategy 在服务器和我的 spring 启动应用程序中都是相同的并且默认使用。

这个非信息性错误的原因是从 Debezium 发布消息的 Kafka Connect 组的名称与消费者的group.id相同。 重命名消费者group.id后,问题解决。

暂无
暂无

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

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