Skip to content

python pulsar-clinet create_reader causes "OperationNotSupported" exception #17800

Answered by merlimat
kyky19831214 asked this question in Q&A
Discussion options

You must be logged in to vote

@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

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@shibd
Comment options

shibd Sep 23, 2022
Collaborator

Comment options

You must be logged in to vote
1 reply
@kyky19831214
Comment options

Comment options

You must be logged in to vote
1 reply
@kyky19831214
Comment options

Answer selected by merlimat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants