Skip to content

Unable to access StateStore running inside a Docker container #9977

@david-streamlio

Description

@david-streamlio

Describe the bug
If you run Pulsar in standalone mode inside a Docker container, calls (direct or indirect) to the StateStore using "localhost", e.g. bk://localhost:4181 fail because the StateStore client is using a different hostname

To Reproduce

  1. Start a Pulsar standalone instance inside a docker container
  2. Deploy a stateful function to the cluster
  3. Trigger the function

Expected behavior
One would expect these calls to succeed

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions