2021-08-15 08:01:33 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>apache-kafka</artifactId>
|
|
|
|
<name>apache-kafka</name>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.kafka</groupId>
|
|
|
|
<artifactId>kafka-clients</artifactId>
|
|
|
|
<version>${kafka.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.kafka</groupId>
|
|
|
|
<artifactId>kafka-streams</artifactId>
|
|
|
|
<version>${kafka.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2021-08-17 04:51:04 -04:00
|
|
|
<version>${org.slf4j.version}</version>
|
2021-08-15 08:01:33 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
2021-08-17 04:51:04 -04:00
|
|
|
<version>${org.slf4j.version}</version>
|
2021-08-15 08:01:33 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
2023-03-17 10:41:16 -04:00
|
|
|
<artifactId>flink-connector-kafka</artifactId>
|
2021-08-15 08:01:33 -04:00
|
|
|
<version>${flink.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
2023-03-17 10:41:16 -04:00
|
|
|
<artifactId>flink-streaming-java</artifactId>
|
2021-08-15 08:01:33 -04:00
|
|
|
<version>${flink.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
|
|
|
<artifactId>flink-core</artifactId>
|
|
|
|
<version>${flink.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
|
|
|
<artifactId>flink-java</artifactId>
|
|
|
|
<version>${flink.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.flink</groupId>
|
2023-03-17 10:41:16 -04:00
|
|
|
<artifactId>flink-test-utils</artifactId>
|
2021-08-15 08:01:33 -04:00
|
|
|
<version>${flink.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.awaitility</groupId>
|
|
|
|
<artifactId>awaitility</artifactId>
|
|
|
|
<version>${awaitility.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.awaitility</groupId>
|
|
|
|
<artifactId>awaitility-proxy</artifactId>
|
|
|
|
<version>${awaitility.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>kafka</artifactId>
|
|
|
|
<version>${testcontainers-kafka.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
|
|
|
<version>${testcontainers-jupiter.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-core_2.11</artifactId>
|
|
|
|
<version>${org.apache.spark.spark-core.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-sql_2.11</artifactId>
|
|
|
|
<version>${org.apache.spark.spark-core.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-graphx_2.11</artifactId>
|
|
|
|
<version>${org.apache.spark.spark-core.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-streaming_2.11</artifactId>
|
|
|
|
<version>${org.apache.spark.spark-core.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-mllib_2.11</artifactId>
|
|
|
|
<version>${org.apache.spark.spark-core.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-streaming-kafka-0-10_2.11</artifactId>
|
|
|
|
<version>${org.apache.spark.spark-core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.datastax.spark</groupId>
|
|
|
|
<artifactId>spark-cassandra-connector_2.11</artifactId>
|
|
|
|
<version>${com.datastax.spark.spark-cassandra-connector.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.datastax.spark</groupId>
|
|
|
|
<artifactId>spark-cassandra-connector-java_2.11</artifactId>
|
|
|
|
<version>${com.datastax.spark.spark-cassandra-connector-java.version}</version>
|
|
|
|
</dependency>
|
2021-09-13 11:42:04 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2021-08-15 08:01:33 -04:00
|
|
|
</dependencies>
|
|
|
|
|
2023-03-17 10:41:16 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<argLine>
|
|
|
|
--add-opens java.base/java.time=ALL-UNNAMED
|
2023-04-04 20:06:38 -04:00
|
|
|
--add-opens
|
|
|
|
java.base/java.nio=ALL-UNNAMED
|
2023-03-17 10:41:16 -04:00
|
|
|
--add-opens java.base/java.util=ALL-UNNAMED
|
|
|
|
</argLine>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2021-08-15 08:01:33 -04:00
|
|
|
<properties>
|
2023-03-17 10:41:16 -04:00
|
|
|
<kafka.version>3.4.0</kafka.version>
|
2021-08-15 08:01:33 -04:00
|
|
|
<testcontainers-kafka.version>1.15.3</testcontainers-kafka.version>
|
|
|
|
<testcontainers-jupiter.version>1.15.3</testcontainers-jupiter.version>
|
2023-03-17 10:41:16 -04:00
|
|
|
<flink.version>1.16.1</flink.version>
|
2021-08-15 08:01:33 -04:00
|
|
|
<awaitility.version>3.0.0</awaitility.version>
|
|
|
|
<org.apache.spark.spark-core.version>2.4.8</org.apache.spark.spark-core.version>
|
|
|
|
<graphframes.version>0.8.1-spark3.0-s_2.12</graphframes.version>
|
|
|
|
<com.datastax.spark.spark-cassandra-connector.version>2.5.2</com.datastax.spark.spark-cassandra-connector.version>
|
|
|
|
<com.datastax.spark.spark-cassandra-connector-java.version>1.6.0-M1</com.datastax.spark.spark-cassandra-connector-java.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|