[ 
https://issues.apache.org/jira/browse/BEAM-12080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406957#comment-17406957
 ] 

Daniel Thorn edited comment on BEAM-12080 at 8/30/21, 9:55 PM:
---------------------------------------------------------------

I am still impacted by this bug, on versions 2.28.0, 2.29.0, 2.30.0, 2.31.0, 
and 2.32.0


was (Author: relud):
I am still impacted by this bug, on version 2.28.0, 2.29.0, 2.30.0, 2.31.0, and 
2.32.0

> Writing a bounded source to PubsubLiteIO using DirectRunner does not exit
> -------------------------------------------------------------------------
>
>                 Key: BEAM-12080
>                 URL: https://issues.apache.org/jira/browse/BEAM-12080
>             Project: Beam
>          Issue Type: Bug
>          Components: extensions-java-gcp, runner-direct
>    Affects Versions: 2.28.0
>            Reporter: Tianzi Cai
>            Priority: P3
>              Labels: PubsubLiteIO, java
>
> Writing a bounded source (with a single message) to Pub/Sub Lite using 
> `PubsubLiteIO` via `DirectRunner` succeeds, but the pipeline does not exit 
> after the work is completed.
> When using `DataflowRunner`, the job stops and shuts down cleanly.
> {code:java}
> import com.google.cloud.pubsublite.Message;
> import org.apache.beam.sdk.io.gcp.pubsublite.PubsubLiteIO;
> // ...
> Message message =
>     Message.builder()
>         .setData(ByteString.copyFromUtf8("Hello world from Dataflow!"))
>         .setEventTime(fromMillis(System.currentTimeMillis()))
>         .build();
> pipeline
>     .apply(Create.of(message.toProto()))
>     .apply("Write to Pub/Sub Lite", PubsubLiteIO.write(publisherOptions));
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to