|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <projectxmlns="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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | | -<modelVersion>4.0.0</modelVersion> |
5 | | -<parent> |
6 | | -<groupId>org.springframework.boot</groupId> |
7 | | -<artifactId>spring-boot-starter-parent</artifactId> |
8 | | -<version>2.1.9.RELEASE</version> |
9 | | -<relativePath/><!-- lookup parent from repository--> |
10 | | -</parent> |
11 | | -<groupId>com.telkomdev.consumerboot</groupId> |
12 | | -<artifactId>ConsumerSpringBoot</artifactId> |
13 | | -<version>0.0.1-SNAPSHOT</version> |
14 | | -<name>ConsumerSpringBoot</name> |
15 | | -<description>Demo Spring Boot Kafka Consumer</description> |
| 3 | +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | +<modelVersion>4.0.0</modelVersion> |
| 5 | +<parent> |
| 6 | +<groupId>org.springframework.boot</groupId> |
| 7 | +<artifactId>spring-boot-starter-parent</artifactId> |
| 8 | +<version>2.1.9.RELEASE</version> |
| 9 | +<relativePath/><!-- lookup parent from repository--> |
| 10 | +</parent> |
| 11 | +<groupId>com.telkomdev.consumerboot</groupId> |
| 12 | +<artifactId>ConsumerSpringBoot</artifactId> |
| 13 | +<version>0.0.1-SNAPSHOT</version> |
| 14 | +<name>ConsumerSpringBoot</name> |
| 15 | +<description>Demo Spring Boot Kafka Consumer</description> |
16 | 16 |
|
17 | | -<properties> |
18 | | -<java.version>1.8</java.version> |
19 | | -</properties> |
| 17 | +<properties> |
| 18 | +<java.version>1.8</java.version> |
| 19 | +</properties> |
20 | 20 |
|
21 | | -<dependencies> |
22 | | -<dependency> |
23 | | -<groupId>org.springframework.boot</groupId> |
24 | | -<artifactId>spring-boot-starter</artifactId> |
25 | | -</dependency> |
| 21 | +<dependencies> |
| 22 | +<dependency> |
| 23 | +<groupId>org.springframework.boot</groupId> |
| 24 | +<artifactId>spring-boot-starter</artifactId> |
| 25 | +</dependency> |
26 | 26 |
|
27 | | -<dependency> |
28 | | -<groupId>org.springframework.boot</groupId> |
29 | | -<artifactId>spring-boot-starter-test</artifactId> |
30 | | -<scope>test</scope> |
31 | | -</dependency> |
| 27 | +<dependency> |
| 28 | +<groupId>org.springframework.boot</groupId> |
| 29 | +<artifactId>spring-boot-starter-test</artifactId> |
| 30 | +<scope>test</scope> |
| 31 | +</dependency> |
32 | 32 |
|
33 | | -<!-- https://mvnrepository.com/artifact/org.springframework.kafka/spring-kafka--> |
34 | | -<dependency> |
35 | | -<groupId>org.springframework.kafka</groupId> |
36 | | -<artifactId>spring-kafka</artifactId> |
37 | | -<version>2.2.6.RELEASE</version> |
38 | | -</dependency> |
| 33 | +<!-- https://mvnrepository.com/artifact/org.springframework.kafka/spring-kafka--> |
| 34 | +<dependency> |
| 35 | +<groupId>org.springframework.kafka</groupId> |
| 36 | +<artifactId>spring-kafka</artifactId> |
| 37 | +<version>2.2.6.RELEASE</version> |
| 38 | +</dependency> |
39 | 39 |
|
40 | | -<!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java--> |
41 | | -<dependency> |
42 | | -<groupId>com.google.protobuf</groupId> |
43 | | -<artifactId>protobuf-java</artifactId> |
44 | | -<version>3.9.2</version> |
45 | | -</dependency> |
| 40 | +<!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java--> |
| 41 | +<dependency> |
| 42 | +<groupId>com.google.protobuf</groupId> |
| 43 | +<artifactId>protobuf-java</artifactId> |
| 44 | +<version>3.9.2</version> |
| 45 | +</dependency> |
46 | 46 |
|
47 | | -<!-- https://mvnrepository.com/artifact/org.apache.avro/avro--> |
48 | | -<dependency> |
49 | | -<groupId>org.apache.avro</groupId> |
50 | | -<artifactId>avro</artifactId> |
51 | | -<version>1.9.1</version> |
52 | | -</dependency> |
| 47 | +<!-- https://mvnrepository.com/artifact/org.apache.avro/avro--> |
| 48 | +<dependency> |
| 49 | +<groupId>org.apache.avro</groupId> |
| 50 | +<artifactId>avro</artifactId> |
| 51 | +<version>1.9.1</version> |
| 52 | +</dependency> |
53 | 53 |
|
54 | 54 |
|
55 | | -<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson--> |
56 | | -<dependency> |
57 | | -<groupId>com.google.code.gson</groupId> |
58 | | -<artifactId>gson</artifactId> |
59 | | -<version>2.8.5</version> |
60 | | -</dependency> |
| 55 | +<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson--> |
| 56 | +<dependency> |
| 57 | +<groupId>com.google.code.gson</groupId> |
| 58 | +<artifactId>gson</artifactId> |
| 59 | +<version>2.8.5</version> |
| 60 | +</dependency> |
61 | 61 |
|
62 | | -</dependencies> |
| 62 | +</dependencies> |
63 | 63 |
|
64 | | -<build> |
65 | | -<plugins> |
66 | | -<!-- avro generate--> |
67 | | -<plugin> |
68 | | -<groupId>org.apache.avro</groupId> |
69 | | -<artifactId>avro-maven-plugin</artifactId> |
70 | | -<version>1.9.1</version> |
71 | | -<executions> |
72 | | -<execution> |
73 | | -<phase>generate-sources</phase> |
74 | | -<goals> |
75 | | -<goal>schema</goal> |
76 | | -</goals> |
77 | | -<configuration> |
78 | | -<sourceDirectory>${project.basedir}/src/main/avro/</sourceDirectory> |
79 | | -<outputDirectory>${project.basedir}/src/main/java/</outputDirectory> |
80 | | -</configuration> |
81 | | -</execution> |
82 | | -</executions> |
83 | | -</plugin> |
84 | | -<!-- build--> |
85 | | -<plugin> |
86 | | -<groupId>org.springframework.boot</groupId> |
87 | | -<artifactId>spring-boot-maven-plugin</artifactId> |
88 | | -</plugin> |
89 | | -</plugins> |
90 | | -</build> |
| 64 | +<build> |
| 65 | +<plugins> |
| 66 | +<!-- avro generate--> |
| 67 | +<plugin> |
| 68 | +<groupId>org.apache.avro</groupId> |
| 69 | +<artifactId>avro-maven-plugin</artifactId> |
| 70 | +<version>1.9.1</version> |
| 71 | +<executions> |
| 72 | +<execution> |
| 73 | +<phase>generate-sources</phase> |
| 74 | +<goals> |
| 75 | +<goal>schema</goal> |
| 76 | +</goals> |
| 77 | +<configuration> |
| 78 | +<sourceDirectory>${project.basedir}/src/main/avro/</sourceDirectory> |
| 79 | +<outputDirectory>${project.basedir}/src/main/java/</outputDirectory> |
| 80 | +</configuration> |
| 81 | +</execution> |
| 82 | +</executions> |
| 83 | +</plugin> |
| 84 | +<!-- build--> |
| 85 | +<plugin> |
| 86 | +<groupId>org.springframework.boot</groupId> |
| 87 | +<artifactId>spring-boot-maven-plugin</artifactId> |
| 88 | +</plugin> |
| 89 | +</plugins> |
| 90 | +</build> |
91 | 91 |
|
92 | 92 | </project> |