apache / apache/pulsar-client-node

Question: Key Shared sample.

Open
#350 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
164
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Looking for a sample on how to setup a producer and consumers using key shared. Using the pulsar node client, the only samples i can find are using java and thy have a key attribute that is not in the node api what i can see.

In the ProducerMessage there is a orderingKey, is this the corresponding key that will be used? When setting the ConsumerConfig.subscriptionType = KeyShared

Thanks for any input.
/J

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Node client's ProducerMessage orderingKey and ConsumerConfig.subscriptionType settings, especially KeyShared, and compare them with the Java examples mentioned in the issue. Done means providing a Node.js producer-and-consumers sample and clearly explaining whether orderingKey is the corresponding key for KeyShared subscriptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
distributed-systems, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.