SeekBy message id is not working as expected if messages are sent in between the Execution #23948
deepakks-tibco
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If we provide any incorrect/future message id in the LedgerID, EntryID fields. Start the Consumer and Producer activity parallelly and send the messages from the producer in between the execution. The consumer will consume the messages even if the Seek by values are not met.
Created a standalone consumer app. Produced 30 messages . produced message id from 15:30:-1 (ledger Id:15 entry id:30) to 15:59:-1 When I use seek() with incorrect/future message id example entry id given 15:112:-1 from standalone consumer. The consumer starts consuming all messages.
Here is the standalone consumer code.
Beta Was this translation helpful? Give feedback.
All reactions