Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9476

Worker throws error "Scanner SubTypeScanner was not configured" when loading invalid jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      org.reflections 0.9.12 (this commit updates org.reflections from 0.9.11 to 0.9.12) has a issue 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.

       

       

      Attachments

        1. KAFKA-9476.ut.patch
          1 kB
          Chia-Ping Tsai

        Issue Links

          Activity

            People

              chia7712 Chia-Ping Tsai
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: