apache/pulsar-dotpulsar

Unable to read messages for partitioned topic

chenjing1294 opened this issue · 1 comments

Description

I have a topic with three partitions. When using IReaderBuilder to read messages, the partition number must be set, such as persistent://my-tenant/my-namespace/pusers-partition-0, if i use persistent://my-tenant/my-namespace/pusers could not read messages.

Reproduction Steps

  1. Create a topic with partitions
  2. Build an IReaderBuilder and read messages using a topic name without a partition number

Expected behavior

Messages that should be read to each partition

Actual behavior

No messages were read and a new non-partitioned topic was created

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response