tvalentyn commented on PR #37345: URL: https://github.com/apache/beam/pull/37345#issuecomment-4272171627
Seeing this error in postcommit suites: ``` 2026-04-14T11:05:36.1052305Z [31m[1mERROR [0m apache_beam.runners.common:common.py:1608 Cannot publish a message with an ordering key when message ordering is not enabled. [while running 'WriteToPubSub/ParDo(_PubSubWriteDoFn)'] 2026-04-14T11:05:36.1053051Z Traceback (most recent call last): 2026-04-14T11:05:36.1053753Z File "/runner/_work/beam/beam/sdks/python/apache_beam/runners/common.py", line 1555, in _invoke_bundle_method 2026-04-14T11:05:36.1054272Z bundle_method() 2026-04-14T11:05:36.1054798Z File "/runner/_work/beam/beam/sdks/python/apache_beam/runners/common.py", line 622, in invoke_finish_bundle 2026-04-14T11:05:36.1055362Z self.signature.finish_bundle_method.method_value()) 2026-04-14T11:05:36.1055896Z File "/runner/_work/beam/beam/sdks/python/apache_beam/io/gcp/pubsub.py", line 656, in finish_bundle 2026-04-14T11:05:36.1056356Z self._flush() 2026-04-14T11:05:36.1056773Z File "/runner/_work/beam/beam/sdks/python/apache_beam/io/gcp/pubsub.py", line 673, in _flush 2026-04-14T11:05:36.1057242Z future = self._pub_client.publish( 2026-04-14T11:05:36.1059887Z File "/runner/_work/beam/beam/build/gradleenv/417525523/lib/python3.10/site-packages/google/cloud/pubsub_v1/publisher/client.py", line 375, in publish 2026-04-14T11:05:36.1060538Z raise ValueError( 2026-04-14T11:05:36.1060972Z ValueError: Cannot publish a message with an ordering key when message ordering is not enabled. 2026-04-14T11:05:36.1061819Z [31m[1mERROR [0m apache_beam.runners.worker.sdk_worker:sdk_worker.py:320 Error processing instruction inst002. Original traceback is 2026-04-14T11:05:36.1062395Z Traceback (most recent call last): 2026-04-14T11:05:36.1062938Z File "/runner/_work/beam/beam/sdks/python/apache_beam/runners/common.py", line 1555, in _invoke_bundle_method 2026-04-14T11:05:36.1063570Z bundle_method() 2026-04-14T11:05:36.1064057Z File "/runner/_work/beam/beam/sdks/python/apache_beam/runners/common.py", line 622, in invoke_finish_bundle 2026-04-14T11:05:36.1064617Z self.signature.finish_bundle_method.method_value()) 2026-04-14T11:05:36.1065236Z File "/runner/_work/beam/beam/sdks/python/apache_beam/io/gcp/pubsub.py", line 656, in finish_bundle 2026-04-14T11:05:36.1065695Z self._flush() 2026-04-14T11:05:36.1066112Z File "/runner/_work/beam/beam/sdks/python/apache_beam/io/gcp/pubsub.py", line 673, in _flush 2026-04-14T11:05:36.1066575Z future = self._pub_client.publish( 2026-04-14T11:05:36.1067326Z File "/runner/_work/beam/beam/build/gradleenv/417525523/lib/python3.10/site-packages/google/cloud/pubsub_v1/publisher/client.py", line 375, in publish 2026-04-14T11:05:36.1067994Z raise ValueError( 2026-04-14T11:05:36.1068424Z ValueError: Cannot publish a message with an ordering key when message ordering is not enabled. ``` -- 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]
