BewareMyPower commented on code in PR #17125:
URL: https://github.com/apache/pulsar/pull/17125#discussion_r963339142
##########
pulsar-client-cpp/include/pulsar/Message.h:
##########
@@ -92,6 +93,13 @@ class PULSAR_PUBLIC Message {
*/
std::string getDataAsString() const;
+ /**
+ * Get key value message.
+ *
+ * @return key value message.
+ */
+ KeyValue getKeyValueData(const KeyValueEncodingType& keyValueEncodingType)
const;
Review Comment:
Use a value parameter for enum types.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]