This is an automated email from the ASF dual-hosted git repository.
hrsakai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git
The following commit(s) were added to refs/heads/master by this push:
new 1a90410 Adds key shared subscription type. (#71)
1a90410 is described below
commit 1a90410c8783eb9b322ddd33cf9b9f3d6b10c852
Author: Michael Kaufman <[email protected]>
AuthorDate: Tue Feb 18 18:03:06 2020 -0500
Adds key shared subscription type. (#71)
* 1.1.0-rc.1
* Adds key shared subscription type.
Co-authored-by: hrsakai <[email protected]>
---
src/ConsumerConfig.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/ConsumerConfig.cc b/src/ConsumerConfig.cc
index b687b98..10963bd 100644
--- a/src/ConsumerConfig.cc
+++ b/src/ConsumerConfig.cc
@@ -39,6 +39,7 @@ static const std::string CFG_LISTENER = "listener";
static const std::map<std::string, pulsar_consumer_type> SUBSCRIPTION_TYPE = {
{"Exclusive", pulsar_ConsumerExclusive},
{"Shared", pulsar_ConsumerShared},
+ {"KeyShared", pulsar_ConsumerKeyShared},
{"Failover", pulsar_ConsumerFailover}};
static const std::map<std::string, initial_position> INIT_POSITION = {