前言问题描述
1、搞了个pre环境,Jenkins集成部署的包部署上去就可以的消费,可是自己打的包就是不能消费,诡异的很,所以不断各种定位结果还是
:9092 (id: 0 rack: null)
2022-07-27 10:22:28.135 [ai_to_bus-0-C-1] INFO o.a.k.c.c.i.ConsumerCoordinator - [Consumer clientId=mc_pre75-0, groupId=mc_pre75] Setting offset for partition ai_to_bus-0 to the committed offset FetchPosition{offset=0, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=10.xx.xx.75:9092 (id: 0 rack: null), epoch=0}}
做了哪些努力呢?
1、修改监听分组
@KafkaListener(clientIdPrefix = "#{mcProperties.groupId}", groupId = "#{mcProperties.groupId}",
添加了这俩货可是还是不行。
设置打印日志是显示成功了的!