Der Consumer kann mit mehreren Topics konfiguriert werden
[demos/kafka/training] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
5   <modelVersion>4.0.0</modelVersion>
6
7   <parent>
8     <groupId>org.springframework.boot</groupId>
9     <artifactId>spring-boot-starter-parent</artifactId>
10     <version>2.7.2</version>
11     <relativePath/> <!-- lookup parent from repository -->
12   </parent>
13
14   <groupId>de.juplo.kafka</groupId>
15   <artifactId>spring-consumer</artifactId>
16   <name>Spring Consumer</name>
17   <description>Super Simple Consumer-Group, that is implemented as Spring-Boot application and configured by Spring Kafka</description>
18   <version>1.1-SNAPSHOT</version>
19
20   <properties>
21     <java.version>17</java.version>
22   </properties>
23
24   <dependencies>
25     <dependency>
26       <groupId>org.springframework.boot</groupId>
27       <artifactId>spring-boot-starter-web</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.springframework.boot</groupId>
31       <artifactId>spring-boot-starter-validation</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.springframework.boot</groupId>
35       <artifactId>spring-boot-starter-actuator</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.springframework.boot</groupId>
39       <artifactId>spring-boot-configuration-processor</artifactId>
40       <optional>true</optional>
41     </dependency>
42     <dependency>
43       <groupId>org.springframework.kafka</groupId>
44       <artifactId>spring-kafka</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.projectlombok</groupId>
48       <artifactId>lombok</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.springframework.boot</groupId>
52       <artifactId>spring-boot-starter-test</artifactId>
53       <scope>test</scope>
54     </dependency>
55     <dependency>
56       <groupId>org.springframework.kafka</groupId>
57       <artifactId>spring-kafka-test</artifactId>
58       <scope>test</scope>
59     </dependency>
60   </dependencies>
61
62   <build>
63     <plugins>
64       <plugin>
65         <groupId>org.springframework.boot</groupId>
66         <artifactId>spring-boot-maven-plugin</artifactId>
67         <executions>
68           <execution>
69             <goals>
70               <goal>build-info</goal>
71             </goals>
72           </execution>
73         </executions>
74       </plugin>
75       <plugin>
76         <groupId>io.fabric8</groupId>
77         <artifactId>docker-maven-plugin</artifactId>
78         <version>0.33.0</version>
79         <configuration>
80           <images>
81             <image>
82               <name>juplo/%a:%v</name>
83             </image>
84           </images>
85         </configuration>
86         <executions>
87           <execution>
88              <id>build</id>
89              <phase>package</phase>
90              <goals>
91                <goal>build</goal>
92              </goals>
93           </execution>
94         </executions>
95       </plugin>
96       <plugin>
97         <artifactId>maven-failsafe-plugin</artifactId>
98       </plugin>
99     </plugins>
100   </build>
101
102 </project>