gharris1727 commented on PR #17741:
URL: https://github.com/apache/kafka/pull/17741#issuecomment-2533532836

   > There is another unrelated issue I came across while testing this PR. 
There might be a regression in https://github.com/apache/kafka/pull/16604
   
   Great catch! That regression hasn't been released yet and would definitely 
be a blocker for the release. Please open a blocker ticket for that we can fix 
it.
   
   > The fix I made was to use overrideClassLoaders(source.loaders() instead of 
addClassLoader
   
   I think this is the right fix. It looks like Classgraph by default expects 
parent-first loaders, while our loaders are child-first. When the same class is 
defined multiple times, it masks all later copies, which would hide all of the 
other versions of the plugins.


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