apache / apache/pulsar-client-node

Thousands of producers are getting created

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

描述

Hi, I'm using node pulsar client to publish messages on a partitioned pulsar topic with 100 partitions. I'm spawning 20 node processes and reusing the same producer(I'm not closing the producer) that means there should be only 20 producers. But, when I see topic stats it shows a lot of producers (in thousands). What I'm doing wrong? Also, is there a difference b/w a producer and a publisher?

贡献指南

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

调研方向

首先使用 20 个 Node 进程、一个包含 100 个分区的 topic 以及复用的 producers 重现报告,然后将 topic stats 中的 producer 数量与 client 生命周期进行比较。跟踪 Node Pulsar client 如何创建 producers,并阐明 producer 与 publisher 之间的区别。当意外的数量和报告的使用情况得到解释,并确定了任何所需的修正时,即视为完成。

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

评估

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

把新 issue 发到你的邮箱

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