This is an automated email from the ASF dual-hosted git repository.
nkurihar 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 cc79c67 Support Set Replication Clusters (#67)
cc79c67 is described below
commit cc79c67c3c330be0667203bf369b5de625eb0044
Author: かとかい <[email protected]>
AuthorDate: Thu Feb 6 10:25:53 2020 +0900
Support Set Replication Clusters (#67)
---
src/Message.cc | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/Message.cc b/src/Message.cc
index 3c527d5..d5f755a 100644
--- a/src/Message.cc
+++ b/src/Message.cc
@@ -181,9 +181,7 @@ pulsar_message_t *Message::BuildMessage(Napi::Object conf) {
for (int i = 0; i < length; i++) {
SetString(arr, clusters.Get(i).ToString().Utf8Value().c_str(), i);
}
- // TODO: temoporalily commented out unless 2.3.1 which includes
interface change of
- // pulsar_message_set_replication_clusters (#3729) is released
- // pulsar_message_set_replication_clusters(cMessage, (const char **)arr,
length);
+ pulsar_message_set_replication_clusters(cMessage, (const char **)arr,
length);
FreeStringArray(arr, length);
}
}