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/06 15:34:30 UTC

[GitHub] [pulsar] MarvinCai commented on issue #17492: [Bug] Java Pulsar Producer - ProducerBuilder loadConf() throws RuntimeException when loading "maxPendingMessages" property from config map.

MarvinCai commented on issue #17492:
URL: https://github.com/apache/pulsar/issues/17492#issuecomment-1238317078

   I tried your code snippet, if you scroll down there're more exception message
   `Caused by: com.fasterxml.jackson.databind.JsonMappingException: maxPendingMessagesAcrossPartitions needs to be >= maxPendingMessages`
   which means you need to set none of them or set both of them.
   And I'm afraid the doc is outdated, sorry for the confusion, seem default for `maxPendingMessages` and `maxPendingMessagesAcrossPartitions` are set to 0 in this pr: https://github.com/apache/pulsar/commit/11bfc0e95dc210c0dce70d1f53eb6eb43dbe835d, we will update the doc


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