Re: Readers and partitioned topics

2019-11-04 Thread Brian Candler
On 04/11/2019 16:34, Matteo Merli wrote: The documentation is correct in that a reader can only "read" a non-partitioned topic or one specific partition of a topic. To get a list of the partitions, you can use `PulsarClient.getPartitionsForTopic()` and then create a reader for each partitions.

Re: Readers and partitioned topics

2019-11-04 Thread Matteo Merli
The documentation is correct in that a reader can only "read" a non-partitioned topic or one specific partition of a topic. To get a list of the partitions, you can use `PulsarClient.getPartitionsForTopic()` and then create a reader for each partitions. -- Matteo Merli On Mon, Nov 4, 2019 at 3:

Re: Readers and partitioned topics

2019-11-04 Thread Jinfeng Huang
>From the code snippet, it seems that the description in the document is obsolete. If so, we can update the doc accordingly. Could any eng confirm the issue? Best Regards, Jennifer On Sun, Nov 3, 2019 at 4:51 PM Brian Candler wrote: > In the documentation >