You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "lh0156 (via GitHub)" <gi...@apache.org> on 2026/08/02 20:09:35 UTC
[PR] KAFKA-15513: Test SCRAM authentication for KRaft controllers [kafka]
lh0156 opened a new pull request, #23039:
URL: https://github.com/apache/kafka/pull/23039
## Summary
Add a focused system-test path for SCRAM authentication on isolated KRaft controller quorums. The test covers both SCRAM-SHA-256 and SCRAM-SHA-512.
The Kafka test service now bootstraps the controller quorum with the broker SCRAM credentials using `kafka-storage.sh --add-scram`, and the KafkaServer JAAS entry is selected from all enabled SASL mechanisms, including mechanisms used only by KRaft controller channels.
## Motivation
KAFKA-15513 is not covered by the system-test harness: controller-quorum SCRAM was explicitly skipped, and formatted controller metadata did not contain the initial credentials needed for authentication.
## Testing
- `./gradlew :core:test --tests kafka.tools.StorageToolTest.testBootstrapScramRecords --no-daemon --console=plain`
- `./gradlew checkstyleMain checkstyleTest spotlessCheck --no-daemon --console=plain`
- Python compilation and targeted SCRAM bootstrap assertions
- `git diff --check`
- The full ducktape test is not run locally because the ducktape/worker environment is unavailable; CI should execute `TestVerifiableProducer.test_isolated_kraft_controller_scram` for both mechanisms.
## Jira
https://issues.apache.org/jira/browse/KAFKA-15513
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-15513: Test SCRAM authentication for KRaft controllers [kafka]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23039:
URL: https://github.com/apache/kafka/pull/23039#issuecomment-5235601414
A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the `triage` label
should be removed to prevent this automation from happening again.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org