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/07/12 07:51:45 UTC

[GitHub] [pulsar-client-go] cocktail828 commented on issue #447: pulsar-client-go appears to report message too large before compressing it.

cocktail828 commented on issue #447:
URL: https://github.com/apache/pulsar-client-go/issues/447#issuecomment-1181436992

   > This issue is now becoming a problem for us in Go pulsar functions again, due to occasional large JSON messages which would likely compress very well, only they appear to be failing with `AddToBatchFailed` which is about as descriptive as saying "there was a failure". Does anyone have time to work on this one? Is there any interest in @cocktail828 's fix? I'm happy to clean it up and issue a PR, if necessary, so I guess I'll just do that if I don't hear anything else here first.
   
   @flowchartsman Sorry for late reply, I have just issue a PR for this issue, please check that.
   Currently golang SDK does not support 'chunk message' so the fix is much easier. Refer to c++ implement, it will check compressed-message size again when the raw message is too big.


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