Skip to content

[Doc] Stateful functions don't work in standalone mode since PIP-117 #24143

Open
@mouton0815

Description

@mouton0815

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?

PIP-117

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    doc-requiredYour PR changes impact docs and you will update later.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions