rsamo edited a comment on issue #2795: namespace grant-permission Returns 500 
in 2.1.1-incubating
URL: https://github.com/apache/pulsar/issues/2795#issuecomment-432384264
 
 
   I though this was a bug but it turns out that it was an issue with how to 
enable authorization. I can't remember exactly where but the documentation was 
a bit confusing in which properties to enable for authentication vs. 
authorization. You will get this error if the following property is not set in 
your broker.conf files
   
   ```sh
   # Configuration to enable Authorization
   authorizationEnabled=true
   ```
   Once you bounce the broker with this update, the broker log file should 
contain a line similar to:
   ```sh
   [main] INFO  org.apache.pulsar.broker.authorization.AuthorizationService - 
org.apache.pulsar.broker.authorization.PulsarAuthorizationProvider has been 
loaded.
   ```
   
   I am using v2.1.1-incubating and it works like a champ.
   
   I hope this helps!
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to