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

Integrate tower::Service into client infrastructure #250

Open
pscoro opened this issue Nov 7, 2024 · 0 comments
Open

Integrate tower::Service into client infrastructure #250

pscoro opened this issue Nov 7, 2024 · 0 comments

Comments

@pscoro
Copy link
Collaborator

pscoro commented Nov 7, 2024

Description

In order to provide middleware (in particular for telemetry), we want to make use of tower::Service in our clients. We intend to wrap http and grpc client implementations each in tower services and enable middleware such as tower_http::TraceLayer to be used.

Acceptance Criteria

  • All http and grpc clients are layered tower services
  • the client services properly support http, grpc, streaming and middleware while using tower
  • client invocation is updated to execute through service.call()
  • helper functions are added to http/grpc clients to simplify tower service calls
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

No branches or pull requests

1 participant