gaozhangmin edited a comment on issue #13431:
URL: https://github.com/apache/pulsar/issues/13431#issuecomment-1000689422
Direct reason:
`optTopic` is null:

Why?
After step-3 createPartitionedTopic, This topic is not owned by any broker,
the assignment is triggered by the lookup request in producer or consumer
action.
If you add this
`pulsarClient.newConsumer().subscriptionName("subscriptionName").topic(topic).subscribe();`
before step-4, this unit test will pass. you can try. @yuruguo
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]