Skip to content

Commit

Permalink
Change the default pubsub client to the GRPC client from the json one.
Browse files Browse the repository at this point in the history
  • Loading branch information
git committed Dec 28, 2019
1 parent 452a9ca commit 4782148
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public class PubsubIO {
private static final Logger LOG = LoggerFactory.getLogger(PubsubIO.class);

/** Factory for creating pubsub client to manage transport. */
private static final PubsubClient.PubsubClientFactory FACTORY = PubsubJsonClient.FACTORY;
private static final PubsubClient.PubsubClientFactory FACTORY = PubsubGrpcClient.FACTORY;

/**
* Project IDs must contain 6-63 lowercase letters, digits, or dashes. IDs must start with a
Expand Down

0 comments on commit 4782148

Please sign in to comment.