-
Notifications
You must be signed in to change notification settings - Fork 580
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
pp: address several improvements to basic auth and the client cache #6626
pp: address several improvements to basic auth and the client cache #6626
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you do any analysis on the status codes as to the compatibility with other implementations?
5a7bfff
to
12644bf
Compare
12644bf
to
2d41e73
Compare
I still need to do this analysis. I spent too much time on cache eviction. |
Currently the Pandaproxy will handle the majority of HTTP errors as a Kafka Bad Request error. Instead each HTTP error should have an individual response. Fixes redpanda-data#6616
2d41e73
to
8cb9180
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you have any luck with the karapace tests? I can't image the new error codes would cause a regression, kafka_bad_request
probably isn't retriable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good. just a question about the debounce logic
@BenPope no luck with running the karapace tests yet |
8cb9180
to
2ae8c71
Compare
2ae8c71
to
b77eb0b
Compare
Previously client.stop() was not called on the evicted client until client garbage collection kicked in. This meant that resources were not freed until some later time. This commit instead triggers the eviction process when a client is removed from the cache. Closes redpanda-data#6607
b77eb0b
to
4184278
Compare
Cover letter
#6452 Introduced HTTP Basic Auth support and a kafka client cache to the Pandaproxy. There were, however, several nits left on that PR.
This PR addresses some of those comments and a few other minor points
Closes #6616
Closes #6607
Changes from force-push
8cb9180
:Changes from force-push
2ae8c71
andb77eb0b
:Changes from force-push
4184278
:Follow-ups left to do are:
#6617
#6595
Backport Required
UX changes
Release notes