You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Richard Fussenegger (Jira)" <ji...@apache.org> on 2022/05/16 07:16:00 UTC

[jira] [Comment Edited] (KAFKA-7955) Provide a BOM for EmbeddedConnectCluster and EmbeddedCluster

    [ https://issues.apache.org/jira/browse/KAFKA-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537373#comment-17537373 ] 

Richard Fussenegger edited comment on KAFKA-7955 at 5/16/22 7:15 AM:
---------------------------------------------------------------------

https://issues.apache.org/jira/browse/KAFKA-9060 can be considered a duplicate of this one, because one BOM for the entire {{org.apache.kafka}} group would be sufficient to cover everything.

Adding a BOM would require substantial rewrite of the Gradle build, because it currently configures all projects to be Java libraries. Using the Java platform plugin thus breaks various tasks that are expected to exist as well as publishing.


was (Author: fleshgrinder):
https://issues.apache.org/jira/browse/KAFKA-9060 can be considered a duplicate of this one, because one BOM for the entire {{org.apache.kafka}} group would be sufficient to cover everything.

> Provide a BOM for EmbeddedConnectCluster and EmbeddedCluster
> ------------------------------------------------------------
>
>                 Key: KAFKA-7955
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7955
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>    Affects Versions: 2.1.1
>            Reporter: Jeremy Custenborder
>            Priority: Major
>
> Using EmbeddedConnectCluster for testing connectors is a little difficult given the number of dependencies that are required. Providing a [BOM|https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html] will make it easier for connector developers. For example here are the dependencies that are required. 
> {code:xml}
>     <dependencies>
>         <dependency>
>             <groupId>org.apache.kafka</groupId>
>             <artifactId>connect-api</artifactId>
>             <version>${kafka.version}</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.kafka</groupId>
>             <artifactId>connect-runtime</artifactId>
>             <version>${kafka.version}</version>
>             <classifier>test</classifier>
>             <type>test-jar</type>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.kafka</groupId>
>             <artifactId>connect-runtime</artifactId>
>             <version>${kafka.version}</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.kafka</groupId>
>             <artifactId>kafka-clients</artifactId>
>             <version>${kafka.version}</version>
>         </dependency>
>         <dependency>
>             <groupId>junit</groupId>
>             <artifactId>junit</artifactId>
>             <version>4.12</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.kafka</groupId>
>             <artifactId>kafka-clients</artifactId>
>             <version>${kafka.version}</version>
>             <classifier>test</classifier>
>             <type>test-jar</type>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.kafka</groupId>
>             <artifactId>kafka_2.11</artifactId>
>             <version>${kafka.version}</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.kafka</groupId>
>             <artifactId>kafka_2.11</artifactId>
>             <type>test-jar</type>
>             <classifier>test</classifier>
>             <version>${kafka.version}</version>
>         </dependency>
>     </dependencies>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)