You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/02/27 07:31:31 UTC

[GitHub] yush1ga commented on a change in pull request #1283: Add prefix setting for C++/Python reader

yush1ga commented on a change in pull request #1283: Add prefix setting for C++/Python reader
URL: https://github.com/apache/incubator-pulsar/pull/1283#discussion_r170834939
 
 

 ##########
 File path: pulsar-client-cpp/python/src/config.cc
 ##########
 @@ -142,5 +142,7 @@ void export_config() {
             .def("receiver_queue_size", &ReaderConfiguration::setReceiverQueueSize)
             .def("reader_name", &ReaderConfiguration::getReaderName, return_value_policy<copy_const_reference>())
             .def("reader_name", &ReaderConfiguration::setReaderName)
+            .def("reader_name", &ReaderConfiguration::getSubscriptionRolePrefix, return_value_policy<copy_const_reference>())
+            .def("reader_name", &ReaderConfiguration::setSubscriptionRolePrefix)
 
 Review comment:
   Sorry, fixed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services