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

[feat] Add Reader interceptor #961

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

dao-jun
Copy link
Member

@dao-jun dao-jun commented Feb 21, 2023

Fixes #937

Motivation

Add Reader interceptor

Modifications

Describe the modifications you've done.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Documentation

  • Does this pull request introduce a new feature? (yes)
  • If yes, how is the feature documented? (GoDocs)

@dao-jun
Copy link
Member Author

dao-jun commented Feb 21, 2023

Tests to be completed

@dao-jun dao-jun self-assigned this Feb 22, 2023
@shibd
Copy link
Member

shibd commented Mar 13, 2023

@dao-jun Can you resolve the conflict and add a unit test?

@treuherz
Copy link

It would be much easier to use this interceptor with tracing libraries like OpenTelemetry if a Context was included in the signature. I've gone into more detail in this other PR but the short version is that if span IDs, timings, etc can be passed through the context then it removes the need to maintain an external data structure, managed by the interceptor, for every request.

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.

[feature request] Support reader interceptor
3 participants