[Bug] Reader stuck after call hasMessageAvailable when enable replicateSubscriptionState #22571
Closed
3 tasks done
Labels
type/bug
The PR fixed a bug or issue reported a bug
Search before asking
Read release policy
Version
Minimal reproduce step
In geo-replication case. Let's say there are two clusters:
r1
,r2
, will replicator topic:my-topic
fromr1
andr2
.The consumer1 subscribes to the topic
my-topic
ofr1
and enablesreplicateSubscriptionState
. After the subscription state sync tor2
:my-topic
, create areader
read the message fromr2
:my-topic
will stuck onreadNext
.Please copy this test to
ReplicatorSubscriptionTest
to run it.What did you expect to see?
Test can passed.
What did you see instead?
Test will stuck.
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: