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

   - Replaces repetitive lock handling logic with 
`withReadLockAndEnsureInitialized` to reduce duplication and improve 
readability.
   - Consolidates initialization logic in `initializeResources` and simplifies 
method arguments to better encapsulate configuration dependencies.
   - Extracted common code and reduced the usage of global variables.
   - Named the variables properly.
   
   Tests:
   - Existing UTs since this patch refactored the code.
   


-- 
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-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to