Open SultanaJon opened 2 weeks ago
Hi @SultanaJon,
Thanks for reaching out!
It sounds like you are using partitioned topics, is that correct?
To help us resolve the issue, could you please fill out the bug report template? Make sure to include a small sample of everything you do in DotPulsar to recreate the error.
Thanks!
So, I am new to pulsar and I am running into some issues that are causing some confusion. I have setup a client, producer, consumer, and a reader. The client, producer, consumer, and reader all build with no error and seem to establish a connection when monitoring.
The first issue that I am having is that when I setup the reader, I request
GetLastMessageIds
. This will return me twoMessageId
's. The first with a topic that has 'partition-0` concatenated to the end and the second with 'partition-1' concatenated to the end of the topic. Once I read these, I then start to request the messages with the following code:When reading the messages, I can read the first message but once it attempts to read the second message, it hangs and the second message is never received. This is strange to me because
GetLastMessageIds()
told me there were two messages.The second issue is with the consumer. Similar to the first issue, I can request the
LastMessageIds
but with the consumer, I cannot read the earliest messages. Attempting to get the messages from the consumer just hangs on the foreach and neither the first or last message are received.GetLastMessageIds
but I can only read one with the reader?