Description
Search before asking
- I searched in the issues and found nothing similar.
What issue do you find in Pulsar docs?
Since the simplifications done with PIP-117, it is no longer possible to use stateful functions in standalone mode.
It seems the only way out is to run the old setup with Zookeeper:
PULSAR_STANDALONE_USE_ZOOKEEPER=1 bin/pulsar standalone
This is however not documented, not here: https://pulsar.apache.org/docs/4.0.x/getting-started-standalone/ and not there: https://pulsar.apache.org/docs/4.0.x/functions-worker-stateful/. This makes life difficult for Pulsar newcomers.
What is your suggestion?
My proposal would be to mention the need for PULSAR_STANDALONE_USE_ZOOKEEPER=1
in standalone mode in section https://pulsar.apache.org/docs/4.0.x/functions-worker-stateful/.
However, the perfect solution would be to always support stateful functions by just running bin/pulsar standalone
... but that's beyond documentation.
Any reference?
Are you willing to submit a PR?
- I'm willing to submit a PR!