MessageId Seek By feature doesn't work as expected for Partitioned topics #24021
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
-
Created topic "test-topic-test5" with 4 partitions
Created topic "test-topic-test6" with 4 partitions
Producer1 configure to produce 20 messages with the topic test-topic-test5
producer2 configure to produce 20 messages with the topic test-topic-test6
Created a standalone consumer. configure standalone consumer with seek the messages by partition Id and Multitopic subscription.
Run both producer together and produced total 40 messages.
Run standalone consumer
When we try to seek the messages from any specific partition from the given topic the Consumer activity faults.
Error - org.apache.pulsar.client.api.PulsarClientException: Illegal messageId, messageId can only be earliest/latest
at org.apache.pulsar.client.impl.MultiTopicsConsumerImpl.seekAsync(MultiTopicsConsumerImpl.java:803)
Standalone code -
Beta Was this translation helpful? Give feedback.
All reactions