BewareMyPower opened a new issue, #489: URL: https://github.com/apache/pulsar-client-cpp/issues/489
Currently the producer cannot send a null value message, which is used as a tombstone for a specific key on a compacted topic. In addition, the consumer cannot differ empty values from null values, because all these values are presented as empty `std::string`s. To solve this issue, we might need to add the following method to `MessageBuilder`: ```c++ MessageBuilder& setNullValue(); ``` The method above should set the following field in `MessageMetadata`: ```proto message MessageMetadata { // ... // Indicate if the message payload value is set optional bool null_value = 25 [default = false] ``` Then we can add a method to `Message` to indicate if the message has null value ```c++ bool isNullValue() const; ``` -- 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: commits-unsubscr...@pulsar.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org