apache / apache/pulsar-client-python

Disable consumer auto reconnect

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

描述

Could you provide an option to set the client's automatic reconnection strategy? I would like to use the admin API to force delete a subscription, but currently, the consumer immediately reconnects after being disconnected, causing the subscription to be recreated.

per https://github.com/apache/pulsar/pull/22423

貢獻指南

開啟貢獻指南

研究方向

先閱讀 issue 的背景資訊和 Apache Pulsar PR 22423,接著追蹤 consumer 的自動重新連線行為,以及 admin API 刪除 subscription 的流程。issue 中沒有指定任何檔案或測試;完成的條件是提供一個控制重新連線的 client 選項,讓已刪除的 subscription 不會立即被重新建立。

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

評估

技術堆疊
python
領域
backend, distributed-systems
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

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

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