dpcollins-google commented on pull request #15727:
URL: https://github.com/apache/beam/pull/15727#issuecomment-958169894


   This is confirmed to work with the following code, which runs indefininitely 
publishing new messages:
   
   ```
   with apache_beam.Pipeline(options=pipeline_options) as pipeline:
       sequenced = pipeline | 
ReadFromPubSubLite('SUBSCRIPTION_WITH_ONE_MESSAGE')
       messages = sequenced | 'get_just_message' >> apache_beam.Map(lambda 
message: message.message).with_output_types(PubSubMessage)
       messages | WriteToPubSubLite('SAME_TOPIC_AS_SUBSCRIPTION')
   ```


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


Reply via email to