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

Sources and maven artifact in runtime classpath

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.8.0
    • Fix Version/s: None
    • Component/s: build, config
    • Labels:
      None

      Description

      Started new kafka-2.8.0 with scala 2.13 and while checking the runtime I found theĀ 

      • kafka_2.13-2.8.0-sources.jar
      • maven-artifact-3.6.3.jar

      in kafka's classpath:

      java [...] -cp [...]/home/kafka/kafka/bin/../libs/kafka_2.13-2.8.0-sources.jar:[...]:/home/kafka/kafka/bin/../libs/maven-artifact-3.6.3.jar:[...] kafka.Kafka /home/kafka/kafka/config/server.properties

      Is there a reason for these jars to be there ?

      I believe these should not be included in classpath at all.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cosming Cosmin Giurgiu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: