python pulsar-clinet create_reader causes "OperationNotSupported" exception #17800
-
the pulsar-client version is 2.9.2,
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I will look at it. |
Beta Was this translation helpful? Give feedback.
-
@kyky19831214 - would you consider editing your question so that it has text instead of screen shots? Text is much easier to find when searching for results with search engines. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@kyky19831214 You're creating a reader over a partitioned topic. You should create the reader on the individual partitions instead. You can get the list of partitions using |
Beta Was this translation helpful? Give feedback.
@kyky19831214 You're creating a reader over a partitioned topic. You should create the reader on the individual partitions instead.
You can get the list of partitions using
client.get_topic_partitions()
: https://pulsar.apache.org/api/python/2.10.1/pulsar.html#Client.get_topic_partitions