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

[v24.3.x] kafka: add dedicated logger for authz failures #24718

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #24712

We currently log authz failures to the kafka log at info level, this
means we have per request possible log spam with no fine grained control
for them.

Rate limiting does not quite do the thing we want, rate limiting would
give us rate limiting at a global level, and what you would want is a
rate limit per principal or maybe per (principal, resource).

The simpler solution is to move the authz log to a dedicated logger so
that it can be controlled seperately, or temporarily disabled/enabled
for debugging.

Fixes: CORE-8666
(cherry picked from commit 459ef48)
@vbotbuildovich vbotbuildovich added this to the v24.3.x-next milestone Jan 8, 2025
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jan 8, 2025
@rockwotj rockwotj enabled auto-merge January 8, 2025 01:34
@rockwotj rockwotj merged commit 50675ed into redpanda-data:v24.3.x Jan 8, 2025
16 of 17 checks passed
@piyushredpanda piyushredpanda modified the milestones: v24.3.x-next, v24.3.3 Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants