lhotari commented on code in PR #22372:
URL: https://github.com/apache/pulsar/pull/22372#discussion_r1541925716


##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/TypedMessageBuilderImpl.java:
##########
@@ -141,9 +142,9 @@ public TypedMessageBuilder<T> orderingKey(byte[] 
orderingKey) {
     @Override
     public TypedMessageBuilder<T> value(T value) {
         if (value == null) {
-            msgMetadata.setNullValue(true);

Review Comment:
   this shouldn't be removed since `.value` might be called multiple times.



-- 
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]

Reply via email to