You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pulsar.apache.org by yp <li...@163.com> on 2019/10/18 13:48:22 UTC

question of multi-tenancy

Hey Guys:
   I would like to create a read-only(just consume) namespace and i have try to run this command .

***************************************
  $ apache-pulsar-2.4.1/bin/pulsar-admin namespaces grant-permission custom1/namespace1 --actions consume --role justconsume
***************************************

 But i just got error:


***************************************
 Authorization is not enabled


Reason: HTTP 501 Not Implemented
***************************************


(1) 
and i don't understand the use of the role parameter,if




  

Re: question of multi-tenancy

Posted by yp <li...@163.com>.
Hey Guys:
   I would like to create a read-only(just consume) namespace and i have try to run this command .

***************************************
  $ apache-pulsar-2.4.1/bin/pulsar-admin namespaces grant-permission custom1/namespace1 --actions consume --role justconsume
***************************************

 But i just got error:


***************************************
 Authorization is not enabled


Reason: HTTP 501 Not Implemented
***************************************


I don't know what this means.


(1) 
How to use role this parameter

(2)
Is it possible to set read-only for tenants (not namespace) ?

Many thanks.

- lan.liang




  
On 10/18/2019 21:48,yp<li...@163.com> wrote:
Hey Guys:
   I would like to create a read-only(just consume) namespace and i have try to run this command .

***************************************
  $ apache-pulsar-2.4.1/bin/pulsar-admin namespaces grant-permission custom1/namespace1 --actions consume --role justconsume
***************************************

 But i just got error:


***************************************
 Authorization is not enabled


Reason: HTTP 501 Not Implemented
***************************************


(1) 
and i don't understand the use of the role parameter,if