apache / apache/pulsar-client-python

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

未關閉
#158 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
75
分支
53
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

開啟貢獻指南

研究方向

此 issue 未指定檔案、測試或進入點。首先定位 Python 用戶端的連線生命週期,以及現有的連線狀態測試;當確定是否支援連線狀態檢查或應新增該檢查,並驗證 Pulsar 伺服器停止執行時的行為後,即可視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
backend
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。