Chia-Ping Tsai created KAFKA-9476:
-------------------------------------

             Summary: the error "Scanner SubTypeScanner was not configured" 
caused by invalid jar when starting worker
                 Key: KAFKA-9476
                 URL: https://issues.apache.org/jira/browse/KAFKA-9476
             Project: Kafka
          Issue Type: Bug
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


org.reflections 0.9.12 (this 
[commit|https://github.com/apache/kafka/commit/a024e679c7207aee2242d72aef53dc441c60ca27]
 updates org.reflections from 0.9.11 to 0.9.12) has a 
[issue|https://github.com/ronmamo/reflections/issues/273] which throws an error 
when getting sub classes from invalid plugin (jar file). By contrast, 
org.reflections 0.9.11 does not. It is a breaking change, and Kafka Worker is 
impacted. The unit test in attached patch works with org.reflections 0.9.11 but 
it fails with org.reflections 0.9.12.

I noticed this issue when running IT of my project with latest Kafka. It is not 
a critical breaking but it would be better to keep the behavior compatibility. 
Hence, it seems to me that we can revert the update of org.reflections and then 
wait for the [issue|https://github.com/ronmamo/reflections/issues/273].

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to