Skip to content

Is there a way to get the status of client connection? #158

Description

@abmoussaoui

Hello,

When the pulsar server go down after a succressful connection to the python client, is there a way to check if that the connection is destroyed. like for instance

a boolean: client.is_closed()

Thanks

Activity

  1. BewareMyPower commented on Oct 26, 2023

    @BewareMyPower
    Contributor

    It's an internal detail and should not be exposed.

    Currently, a Client is associated with a connection pool that manages connections to different brokers. It's meaningless to add an is_closed() method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions