Skip to content
Permalink
Browse files
fix: add header providers to PublisherStubSettings (#294)
  • Loading branch information
vinnyspb committed Jul 24, 2020
1 parent d56155b commit 6bd5016dafe85c7af92a44a8e9a34b2fcb95e64d
Showing with 2 additions and 1 deletion.
  1. +2 −1 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java
@@ -171,7 +171,8 @@ private Publisher(Builder builder) throws IOException {
.setCredentialsProvider(builder.credentialsProvider)
.setExecutorProvider(FixedExecutorProvider.create(executor))
.setTransportChannelProvider(builder.channelProvider)
.setEndpoint(builder.endpoint);
.setEndpoint(builder.endpoint)
.setHeaderProvider(builder.headerProvider);
stubSettings
.publishSettings()
.setRetryableCodes(

0 comments on commit 6bd5016

Please sign in to comment.