apache / apache/pulsar-client-node

producer times out and closes

未关闭
#104 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage/week-29 type/question
主要语言
C++
星标
164
派生
98
PR 合并指标
30 天内没有已合并 PR

描述

Hello

My use case is for a long running system that produces messages by event triggers (think something like a web server that produces data for pulsar on HTTP events)

I find this works ok for a brief period of time, but then the producer times out and subsequent events then fail to get sent to pulsar

my work around is to open the connection, use the producer to send the data to pulsar, then close the connection every time -- this seems like a waste of time connecting/disconnecting

is there a way (or can there be a way) to make the producer connection long lasting? or auto-reconnecting?

thanks

贡献指南

这个仓库没有索引到贡献指南

调研方向

未指定文件、测试或入口点。首先在 NodeJS 客户端中重现长时间运行的 producer 超时,并检查 producer 的生命周期和连接处理;完成的标准是后续由事件触发的发送能够继续工作,而无需关闭并重新打开连接。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, nodejs
领域
backend, distributed-systems
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。