RobertIndie commented on a change in pull request #12403:
URL: https://github.com/apache/pulsar/pull/12403#discussion_r775149194
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java
##########
@@ -1178,12 +1190,46 @@ protected boolean
verifyLocalBufferIsNotCorrupted(OpSendMsg op) {
}
}
+ static class ChunkedMessageCtx {
Review comment:
I think it's necessary. `OpSendMsg` is used to manage the publishing of
a single chunk (or a single no-chunk message) but not the whole chunk message.
When sending a chunk message, we need to create multiple `OpSendMsg`, but we
only need one `ChunkedMessageCtx` to manage the context of all the chunks of
that message.
--
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]