[
https://issues.apache.org/jira/browse/KAFKA-7491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17519412#comment-17519412
]
Karsten Schnitter commented on KAFKA-7491:
------------------------------------------
[[email protected]] I do not quite understand, how that would help. In
production I would not want to run with the shaded jar but use the originally
provided one. The test-util code is not necessary for production and using the
shaded jar would make me an owner of the entire kafka-streams code base. In the
end this will create an automatic module out of the kafka-streams.jar. In the
unit tests, I still cannot use the shaded-jar, since it conflicts with the
original. Did I understand your proposal correctly to always use the
kafka-streams-testability-patch.jar instead of the original kafa-streams.jar?
> Kafka streams and Kafka streams test utils have split packages
> --------------------------------------------------------------
>
> Key: KAFKA-7491
> URL: https://issues.apache.org/jira/browse/KAFKA-7491
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Reporter: Robin Van Praet
> Priority: Major
>
> When trying to test a Kafka Streams application using JDK 9+, using the
> module path, (test) compilation errors occur.
> The TopologyTestDriver cannot be located in kafka-streams-test-utils because
> package 'org.apache.kafka.streams' is already provided by module
> kafka-streams.
> Please make sure that packages are not re-used between production libraries
> and test util libraries.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)