You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "mingyen066 (via GitHub)" <gi...@apache.org> on 2026/04/21 16:19:15 UTC

[PR] KAFKA-20297 Move SecurityUtils, ConfigUtils, LogContext, AppInfoParser into internal [kafka]

mingyen066 opened a new pull request, #22110:
URL: https://github.com/apache/kafka/pull/22110

   We have exposed several classes in `org.apache.kafka.common.utils` as public APIs, which can be misleading since not all classes in this package are intended for external use.
   
   So move the following classes into the `internals` subpackage:
   - `SecurityUtils`
   - `ConfigUtils`
   - `LogContext`
   - `AppInfoParser`
   
   This is a pure move: class contents are unchanged and all existing callers are updated to the new package. The corresponding class-level tests (`SecurityUtilsTest`, `ConfigUtilsTest`, `AppInfoParserTest`) are also moved. `LogContext` has no dedicated test class. An extra reference in `docker/native/native-image-configs/reflect-config.json` (`AppInfoParser$AppInfo`, `AppInfoParser$AppInfoMBean`) is also updated to the new FQN.
   
   Follow-up to #22093, #22081, #22072, etc., for the KAFKA-20297 cleanup effort.


-- 
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-20297 Move SecurityUtils, ConfigUtils, LogContext, AppInfoParser into internal [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22110:
URL: https://github.com/apache/kafka/pull/22110#issuecomment-4340760959

   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


Re: [PR] KAFKA-20297 Move SecurityUtils, ConfigUtils, LogContext, AppInfoParser into internal [kafka]

Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #22110:
URL: https://github.com/apache/kafka/pull/22110


-- 
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-20297 Move SecurityUtils, ConfigUtils, LogContext, AppInfoParser into internal [kafka]

Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on PR #22110:
URL: https://github.com/apache/kafka/pull/22110#issuecomment-4390890748

   @mingyen066 @chia7712 -- This PR introduces some race condition on the test. Not sure why CI build did not hit it yet, but we say it in our internal testing.
   
   Opened a PR for it: https://github.com/apache/kafka/pull/22226
   
   Could you take a look?


-- 
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