Skip to content

chore: expose the user set executor on TransportProvider#13557

Open
igorbernstein2 wants to merge 2 commits into
googleapis:mainfrom
igorbernstein2:tp-executor
Open

chore: expose the user set executor on TransportProvider#13557
igorbernstein2 wants to merge 2 commits into
googleapis:mainfrom
igorbernstein2:tp-executor

Conversation

@igorbernstein2

Copy link
Copy Markdown
Contributor

This allows service clients to reuse that executor for other transport related things in addition to gax

@igorbernstein2 igorbernstein2 requested review from a team as code owners June 25, 2026 16:44

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new getExecutor() method to the TransportChannelProvider interface and implements it across various channel provider classes. Feedback on the changes highlights that adding a new abstract method to a public interface is a breaking change for external implementations, and suggests providing a default implementation returning null to maintain backward compatibility.

This allows service clients to reuse that executor for other transport related things in addition to gax
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