apache / apache/pulsar-client-node

Question: Key Shared sample.

Ouverte
#350 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
164
Forks
98
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, node.js
Domaine
distributed-systems, documentation
Type d'issue
Documentation
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.