You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when closeSession, the session has downstreamed msg which is unAcked, and there is other session which is belonged to same consumer group, the unAcked msg will repush to other client with same group
The scene2 and scene3 have ack problem, because the msg does not put in unAckMap of the rechoosed session. When the rechoosed session repley ack, this leads EventMesh can not find the msg to ack .
Message downstream process in EventMesh:
select a session(client)
put the msg in a map of selected session
execute downstream action
Message ack process in EventMesh:
session(client) reply ack msg to EventMesh
EventMesh execute ack action in MessageAckTask.java
DownStreamMsgContext downStreamMsgContext = session.getPusher().getUnAckMsg().get(seq);
if (downStreamMsgContext != null) {
downStreamMsgContext.ackMsg();
session.getPusher().getUnAckMsg().remove(seq);
}else {
logger.warn("MessageAckTask, seq:{}, downStreamMsgContext not in downStreamMap,client:{}", seq, session.getClient());
}
The text was updated successfully, but these errors were encountered:
The scenes of message downstream action:
The scene2 and scene3 have ack problem, because the msg does not put in unAckMap of the rechoosed session. When the rechoosed session repley ack, this leads EventMesh can not find the msg to ack .
Message downstream process in EventMesh:
Message ack process in EventMesh:
MessageAckTask.java
The text was updated successfully, but these errors were encountered: