-
Notifications
You must be signed in to change notification settings - Fork 970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Wierd Limit error on TextToPubsub batching #809
Comments
@hoangn-athena , which version of this template are you using? |
|
Can you try the prior version |
There is a message available at: |
@mohamed-ali24, Thank you for the information. |
Yes, sorry, there was a bug released on Beam 2.48.0 and templates updated to that version recently -- we do have tests for this template but this happened in an edge case that wasn't covered. We are improving our test coverage too: #810 Thanks @mohamed-ali24 and @hoangn-athena! |
Added a note in the release too. |
Related Template(s)
TextToPubsub
What happened?
It only happen on SDK version 2.48.0
Beam Version
Newer than 2.46.0
Relevant log output
Error message from worker: javax.naming.SizeLimitExceededException: Pubsub message of length 264 exceeds maximum of 100 bytes, when considering the payload and attributes. See https://cloud.google.com/pubsub/quotas#resource_limits org.apache.beam.sdk.io.gcp.pubsub.PreparePubsubWriteDoFn.validatePubsubMessageSize(PreparePubsubWriteDoFn.java:101) org.apache.beam.sdk.io.gcp.pubsub.PubsubIO$Write$PubsubBoundedWriter.processElement(PubsubIO.java:1413)
The text was updated successfully, but these errors were encountered: