lhotari commented on issue #22601:
URL: https://github.com/apache/pulsar/issues/22601#issuecomment-2119233183

   > error happen when messageKeyGenerationMode=random if without 
messageKeyGenerationMode, then error disappear
   
   This is a useful detail. When messageKeyGenerationMode is random and 
BatcherBuilder.KEY_BASED is used, each batch will be size of 1. This could hint 
that the problem is related to https://github.com/apache/pulsar/pull/16605 
changes, main difference here: 
https://github.com/apache/pulsar/blob/6b2938223cf45a9298f9d40ab6ae108bea9a5a6d/pulsar-client/src/main/java/org/apache/pulsar/client/impl/BatchMessageContainerImpl.java#L252-L286
 . 


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