Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate ContextMap through LoadBalancedAddress #2285

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

#2168 add ContextMap for LoadBalancer and ConnectionFactory, but
does not let the context go through LoadBalancedAddress.

Modifications:

  • Add LoadBalancedAddress#newConnection(ContextMap) method;
  • Deprecate LoadBalancedAddress#newConnection();

Result:

Caller context can be propagated through LoadBalancedAddress.

Motivation:

apple#2168 add `ContextMap` for `LoadBalancer` and `ConnectionFactory`, but
does not let the context go through `LoadBalancedAddress`.

Modifications:

- Add `LoadBalancedAddress#newConnection(ContextMap)` method;
- Deprecate `LoadBalancedAddress#newConnection()`;

Result:

Caller context can be propagated through `LoadBalancedAddress`.
@idelpivnitskiy idelpivnitskiy requested a review from tkountis July 22, 2022 00:45
@idelpivnitskiy idelpivnitskiy self-assigned this Jul 22, 2022
Copy link
Contributor

@bondolo bondolo left a comment

Choose a reason for hiding this comment

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

LGTM

@idelpivnitskiy idelpivnitskiy merged commit da06991 into apple:main Jul 26, 2022
@idelpivnitskiy idelpivnitskiy deleted the LoadBalancedAddress branch July 26, 2022 17:14
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.

3 participants