Gleiphir2769 opened a new pull request, #805: URL: https://github.com/apache/pulsar-client-go/pull/805
<-- ### Contribution Checklist Master Issue: [#456](https://github.com/apache/pulsar-client-go/issues/456) ### Motivation Make pulsar go client support chunking to produce big messages. The earlier implementation ([#717](https://github.com/apache/pulsar-client-go/pull/717)) didn't take into account many details, so I decided to reimplement it. ### Modifications - Add `internalSingleSend` to send message without batch because batch message will not be received by chunk. - Moved `BlockIfQueueFull` check from `internalSendAsync` to `internalSend` (`canAddQueue`) to ensure the normal block in chunking. - Make partitionProducer send big messages by chunking. ### Verifying this change - [ ] Make sure that the change passes the CI checks. This change added tests and can be verified as follows: - Add to `TestProducerChunking` verify send big message by chunking. ### Does this pull request potentially affect one of the following parts: *If `yes` was chosen, please highlight the changes* - Dependencies (does it add or upgrade a dependency): no - The public API: no - The schema: no - The default values of configurations: no - The wire protocol: no ### Documentation - Does this pull request introduce a new feature? yes - If yes, how is the feature documented? not yet -- 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]
