Allenhuangrui commented on code in PR #11624:
URL: https://github.com/apache/rocketmq/pull/11624#discussion_r4765463831
##########
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 hook currently receives the mutable heartbeat DTO after the cache key is
computed, so changing the group can make the cache key and the consumer
operation disagree; catching an exception does not restore it. I’ll narrow the
receive hook to the original group string, extension metadata, and the resolved
RemoteChannel, without exposing the DTO. The group is needed to scope the
channel-attached integration metadata. I’ll also strengthen the regression
tests for registration, unregistration, and hook failures. The wire format will
remain unchanged.
--
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]