Skip to content

Commit

Permalink
Update Readme.md (#47)
Browse files Browse the repository at this point in the history
* Update Readme.md

* Update README.md

* Update README.md
  • Loading branch information
dpcollins-google authored May 19, 2020
1 parent f7750cb commit 2b05194
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pubsublite-beam-io/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ soon.

...

PCollection<Message> messages = ...;
messages.apply("Write messages", PubsubLiteIO.write(
PublisherOptions.newBuilder()
Pipeline pipeline = ...;
PCollection<SequencedMessage> messages = pipeline.apply("Read messages", PubsubLiteIO.read(
SubscriberOptions.newBuilder()
.setSubscriptionPath(SubscriptionPaths.newBuilder()
.setZone(CloudZone.parse(ZONE))
.setProject(ProjectNumber.of(PROJECT_NUM))
Expand Down

0 comments on commit 2b05194

Please sign in to comment.