Jason918 commented on issue #11426: URL: https://github.com/apache/pulsar/issues/11426#issuecomment-972917578
I have located this issue, and the test case is actually ok, but it caused by a race condition in `PersistentDispatcherMultipleConsumers`, which indeed would causing the unordered consuming. One can reproduce it easily in local environment by changing the 100ms to 1ms here. https://github.com/apache/pulsar/blob/552360455382e33901b6d74c26f883ffb6907ba9/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentStickyKeyDispatcherMultipleConsumers.java#L294 I would submit an issue with detailed explanation about this. -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org