pabloem commented on a change in pull request #14767:
URL: https://github.com/apache/beam/pull/14767#discussion_r629738068
##########
File path: sdks/python/apache_beam/io/gcp/pubsub.py
##########
@@ -294,6 +327,9 @@ def message_to_proto_str(element):
raise TypeError(
'Unexpected element. Type: %s (expected: PubsubMessage), '
'value: %r' % (type(element), element))
+ # message_id and publish_time cannot be written back to pubsub
Review comment:
can you tell me more about this? will pubsub reject the message? would
it make sense to make a copy of the message to avoid mutating the original
message?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]