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

Optimize transfer-encoding for http-kafka correlated response #45

Closed
jfallows opened this issue May 18, 2022 · 0 comments · Fixed by #50
Closed

Optimize transfer-encoding for http-kafka correlated response #45

jfallows opened this issue May 18, 2022 · 0 comments · Fixed by #50
Labels
enhancement New feature or request

Comments

@jfallows
Copy link
Contributor

Currently, when we deliver the correlated response for http-kafka produce capability bindings, we omit the content-length so in HTTP/1.1 the response uses chunked transfer-encoding due to indeterminate length.

Instead we should use the kafka deferred length to set the http response content-length in http-kafka, then HTTP/1.1 will no longer need to use chunked transfer-encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant