murong00 commented on issue #6394: Expect an option to disable auto creation of 
subscriptions
URL: https://github.com/apache/pulsar/issues/6394#issuecomment-589688854
 
 
   @sijie @jiazhai I am trying to work on this, any suggestions? So far I can 
think of the following:
   - provide a flag `allowAutoSubscriptionCreation`, defaults to `true`
   - when `allowAutoSubscriptionCreation` is disabled and the specified 
subscription on the topic does not exist when trying to subscribe via a 
consumer, the server should reject the request directly by `handleSubscribe` in 
`ServerCnx`
   - create the specified subscription on the topic from pulsar admin rest 
endpoint before create a consumer

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to