Skip to content

Conversation

see-quick
Copy link
Contributor

Basically, one of the refactor tasks. In this PR, I have moved DelegationTokenPublisher to the metadata module. Similar to the ScramPublisher migration (commit feee50f), I have moved DelegationTokenManager to the server-common module, as it would otherwise create a circular dependency. Moreover, I have made multiple changes throughout the codebase to reference DelegationTokenManager from server-common instead of the server module.

P.S.: This is based on the ScramPublisher branch, so I would need to rebase when it is merged (that's why it is in draft).

@github-actions github-actions bot added triage PRs from the community core Kafka Broker kraft labels Sep 4, 2025
Signed-off-by: see-quick <[email protected]>

# Conflicts:
#	core/src/main/scala/kafka/server/BrokerServer.scala
#	metadata/src/main/java/org/apache/kafka/metadata/publisher/ScramPublisher.java
#	server-common/src/main/java/org/apache/kafka/security/CredentialProvider.java
#	server-common/src/main/java/org/apache/kafka/server/common/CredentialProvider.java
#	server/src/main/java/org/apache/kafka/security/CredentialProvider.java
Signed-off-by: see-quick <[email protected]>
Signed-off-by: see-quick <[email protected]>
Signed-off-by: see-quick <[email protected]>
@see-quick see-quick force-pushed the delegation-token-publisher-refactor branch from a3f263a to 18e2e68 Compare September 11, 2025 08:26
Signed-off-by: see-quick <[email protected]>
Signed-off-by: see-quick <[email protected]>
Signed-off-by: see-quick <[email protected]>
Signed-off-by: see-quick <[email protected]>
@see-quick see-quick marked this pull request as ready for review September 11, 2025 08:52
Signed-off-by: see-quick <[email protected]>
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Kafka Broker kraft needs-attention triage PRs from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant