Cosmin Giurgiu created KAFKA-12688:
--------------------------------------
Summary: Sources and maven artifact in runtime classpath
Key: KAFKA-12688
URL: https://issues.apache.org/jira/browse/KAFKA-12688
Project: Kafka
Issue Type: Bug
Components: build, config
Affects Versions: 2.8.0
Reporter: Cosmin Giurgiu
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:
{code:java}
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{code}
Is there a reason for these jars to be there ?
I believe these should not be included in classpath at all.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)