yx9o commented on code in PR #11624:
URL: https://github.com/apache/rocketmq/pull/11624#discussion_r4721107027
##########
proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncer.java:
##########
@@ -210,6 +244,7 @@ public ConsumeConcurrentlyStatus
consumeMessage(List<MessageExt> msgs, ConsumeCo
channel = remoteChannelMap.getOrDefault(key,
decodedChannel);
}
channel.setExtendAttribute(decodedChannel.getChannelExtendAttribute());
+ processHeartbeatData(data, channel);
Review Comment:
The receive hook can change `data.getGroup()` after the remote channel cache
key has been computed, and catching a hook exception does not undo that change.
Could the hook receive only the extension metadata so the cache and consumer
registration always use the same group?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]