bschofield edited a comment on pull request #678: URL: https://github.com/apache/pulsar-client-go/pull/678#issuecomment-985394760
I added `TestMaxBatchSize()` to `producer_test.go`, based on `TestMaxMessageSize()`. From the results of that test, it looks like the `<` in the size test should actually be `<=`, to accommodate the case where the new payload fits exactly in the container. -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org