Closed frankjkelly closed 4 years ago
@frankjkelly
We need to provide documentation for setting up authentication/authorization in standalone. That part is not well documented.
At the same time, you need to configure broker-client authentication parameters. These are used for function workers to talk to brokers for function related operations.
https://github.com/apache/pulsar/blob/master/conf/broker.conf#L535
Or you consider disabling functions in standalone by running standalone using bin/pulsar standalone -nfw
.
You can take a look at this video to understand authentication/authorization for deploying a Pulsar cluster. https://www.youtube.com/watch?v=sTISVpyq73o&list=PLqRma1oIkcWhWAhKgImEeRiQi5vMlqTc-&index=10
Awesome - thanks so much @sijie - will watch the video.
BTW what does -nfw
do I searched for that and could not find it.
@frankjkelly -nfw
is short for "--no-functions-worker"
Thanks @jiazhai - I saw mention of -nss
is that related somehow also?
-nss
is not related. -nfw
is the one fixed the issue.
Describe the bug Turning on
authorizationEnabled=true
causes Pulsar to be unable to startupTo Reproduce Steps to reproduce the behavior:
/conf/standalone.conf
and setauthorizationEnabled=true
/bin/pulsar standalone
Expected behavior Pulsar starts up as normal OR the provided authorization documentation here https://pulsar.apache.org/docs/en/security-authorization/ provides details to work-around this
Screenshots Initially we start to see some warnings . . .
finally after some retries we see
Desktop (please complete the following information):
Additional context Add any other context about the problem here.