pulsar-client-python
pulsar-client-python copied to clipboard
Is there a way to get the status of client connection?
trafficstars
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
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.