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 2022/09/03 02:41:34 UTC

[GitHub] [pulsar] shibd commented on a diff in pull request #17289: [improve][client-c++]Support include message header size when check maxMessageSize

shibd commented on code in PR #17289:
URL: https://github.com/apache/pulsar/pull/17289#discussion_r962090388


##########
pulsar-client-cpp/lib/ProducerImpl.cc:
##########
@@ -500,9 +506,26 @@ void ProducerImpl::sendAsyncWithStatsUpdate(const Message& msg, const SendCallba
                 return;
             }
 
-            sendMessage(OpSendMsg{msgMetadata, encryptedPayload,
-                                  (chunkId == totalChunks - 1) ? callback : nullptr, producerId_, sequenceId,
-                                  conf_.getSendTimeout(), 1, uncompressedSize});
+            OpSendMsg op =
+                OpSendMsg{msgMetadata, encryptedPayload, (chunkId == totalChunks - 1) ? callback : nullptr,
+                          producerId_, sequenceId,       conf_.getSendTimeout(),

Review Comment:
   The code format is a bit strange



-- 
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-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org