jai1 commented on a change in pull request #1129: Added end to end encryption in C++ client URL: https://github.com/apache/incubator-pulsar/pull/1129#discussion_r164588488
########## File path: pulsar-client-cpp/lib/ConsumerConfiguration.cc ########## @@ -74,4 +74,30 @@ void ConsumerConfiguration::setUnAckedMessagesTimeoutMs(const uint64_t milliSeco } impl_->unAckedMessagesTimeoutMs = milliSeconds; } + +bool ConsumerConfiguration::isEncryptionEnabled() const { + if (impl_->cryptoKeyReader != NULL) { Review comment: return impl_->cryptoKeyReader != NULL ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services