temporalio / temporalio/temporal

Access and configure underlying gRPC connection for core components

Open
#2,905 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

Is your feature request related to a problem? Please describe.
Core Temporal components connect to each other over a gRPC connection configured within the Temporal server codebase. An individual instance of Temporal Server does not have access to and cannot configure the underlying connection.

Without the ability to configure/intercept that connection when a Temporal server component is started, we cannot add things like custom tracing or grpc.WithPerRPCCredentials.

These are necessary so we can properly identify services when they reach out Temporal frontend

Describe the solution you'd like
Temporal server components would expose access to their underlying gRPC connection during initialization. A user can set custom dial options and/or interceptors on the underlying connection.

Describe alternatives you've considered
As far as I've been able to tell, no implementation exists in Temporal Server for this level of control.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or initialization entry points. Start by locating how Temporal server core components create their gRPC connections, then determine the configuration or interception surface needed during component startup. Done means users can supply custom dial options or interceptors, including tracing and per-RPC credentials, with coverage for the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.