Skip to content

Conversation

Spikhalskiy
Copy link
Contributor

What was changed

Added

  • WorkflowServiceStubsOptions#channelInitializer mimicking Netty's addChannelInitializer
  • SimpleSslContextBuilder#configure() mimicking GrpcSslContexts

that provide a more flexible approach to configuration.

Why?

Previously users were able to either use basic config functionality of WorkflowServiceStubsOptions OR a fully custom channel. This works fine until users need to tweak or change some exotic parameter of the gRPC channel. To do that they have to fall back to a fully custom channel and stop using the whole Temporal built-in configuration.

Now users can use the full standard Temporal configuration and tune some parameters of the channel right before it gets built using a listener.

@Spikhalskiy Spikhalskiy force-pushed the channel-configuration-hook branch from 734bc6d to 8c16d7b Compare January 18, 2022 16:24
@Spikhalskiy Spikhalskiy force-pushed the channel-configuration-hook branch from 8c16d7b to 3f16b63 Compare January 18, 2022 16:41
@Spikhalskiy Spikhalskiy merged commit 5f8a0d3 into temporalio:master Jan 18, 2022
@Spikhalskiy Spikhalskiy added this to the 1.8.0 milestone Jan 18, 2022
@Spikhalskiy Spikhalskiy deleted the channel-configuration-hook branch April 15, 2022 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants