apache / apache/pulsar-client-node

NodeJS Message router implementation

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

描述

Hello,

My goal is to ensure a consumer will always receive key associated messages.
But from my tests, on adding/removing consumers there are cases where Pulsar will do a rebalance.

So I think my best shot is to publish to a specific partition and subscribe to this specific partition with my customer.

So what I would do is implement the Message Router interface [as explained here](https://pulsar.apache.org/docs/3.0.x/concepts-messaging/#routing-modes).
But I could not make it in the Node.js client, as it does not seem to exist.

Will that be implemented in the future ?

Let me know if I'm mistaking or if it's unclear, as I'm pretty new to Apache Pulsar.
Thanks for reading.

贡献指南

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

调研方向

首先阅读链接的 Pulsar 路由模式文档,然后检查 Node.js 客户端中的 Producer APIs,以及任何现有的 Message Router 接口或路由测试。当客户端提供所请求的 message-router 行为,并支持将带键消息路由到目标分区且不会发生不必要的重新平衡时,即视为完成。

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

评估

技术栈
javascript, node.js
领域
backend, distributed-systems
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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