Search before asking
Environment
Linux
EventMesh version
1.10.0
What happened
Problem description: The server executes updateOffset, and the client ReceiveMsgHook.handle() does not receive the data on the stream.
Code link: On the gRPC stream push path, the runtime is after the server emitter.onNext succeeds in updateOffset (in StreamPushRequest). In the client, ReceiveMsgHook.handle() is executed after receiving the data on the gRPC stream, and is not included in the updateOffset decision condition.
Test scenario: version 1.10.0;
The scenario is dual consumer + Eventmesh pushed by gRPC; One of the processes was manually killed and restarted about a minute; The phenomenon is that the sum of the two consumers received < the number of Eventmesh sent, which is manifested as a lost message.
How to reproduce
Debug logs
Are you willing to submit PR?
Code of Conduct
Search before asking
Environment
Linux
EventMesh version
1.10.0
What happened
Problem description: The server executes updateOffset, and the client ReceiveMsgHook.handle() does not receive the data on the stream.
Code link: On the gRPC stream push path, the runtime is after the server emitter.onNext succeeds in updateOffset (in StreamPushRequest). In the client, ReceiveMsgHook.handle() is executed after receiving the data on the gRPC stream, and is not included in the updateOffset decision condition.
Test scenario: version 1.10.0;
The scenario is dual consumer + Eventmesh pushed by gRPC; One of the processes was manually killed and restarted about a minute; The phenomenon is that the sum of the two consumers received < the number of Eventmesh sent, which is manifested as a lost message.
How to reproduce
Debug logs
Are you willing to submit PR?
Code of Conduct