File tree Expand file tree Collapse file tree
consumer_producer_kafka_avro
sample-kafka-avro-consumer
sample-kafka-avro-producer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 </properties >
2424
2525 <modules >
26- <module >sample-kafka-avro-schema</module >
2726 <module >sample-kafka-avro-producer</module >
2827 <module >sample-kafka-avro-consumer</module >
2928 </modules >
Original file line number Diff line number Diff line change 1313 <artifactId >sample-kafka-avro-consumer</artifactId >
1414 <packaging >jar</packaging >
1515
16+ <properties >
17+ <avro .version>1.12.0</avro .version>
18+ </properties >
19+
1620 <dependencies >
1721 <dependency >
18- <groupId >org.springframework.cloud </groupId >
19- <artifactId >spring-cloud-contract-sample-kafka- avro-schema </artifactId >
20- <version >${project .version} </version >
22+ <groupId >org.apache.avro </groupId >
23+ <artifactId >avro</artifactId >
24+ <version >${avro .version} </version >
2125 </dependency >
2226 <dependency >
2327 <groupId >org.springframework.boot</groupId >
6266
6367 <build >
6468 <plugins >
69+ <plugin >
70+ <groupId >org.apache.avro</groupId >
71+ <artifactId >avro-maven-plugin</artifactId >
72+ <version >1.11.3</version >
73+ <executions >
74+ <execution >
75+ <phase >generate-sources</phase >
76+ <goals >
77+ <goal >schema</goal >
78+ </goals >
79+ <configuration >
80+ <sourceDirectory >${project.basedir} /src/main/resources/avro</sourceDirectory >
81+ <outputDirectory >${project.build.directory} /generated-sources/avro</outputDirectory >
82+ <stringType >String</stringType >
83+ </configuration >
84+ </execution >
85+ </executions >
86+ </plugin >
6587 <plugin >
6688 <groupId >org.springframework.boot</groupId >
6789 <artifactId >spring-boot-maven-plugin</artifactId >
File renamed without changes.
Original file line number Diff line number Diff line change 1313 <artifactId >sample-kafka-avro-producer</artifactId >
1414 <packaging >jar</packaging >
1515
16+ <properties >
17+ <avro .version>1.12.0</avro .version>
18+ </properties >
19+
1620 <dependencies >
1721 <dependency >
18- <groupId >org.springframework.cloud </groupId >
19- <artifactId >spring-cloud-contract-sample-kafka- avro-schema </artifactId >
20- <version >${project .version} </version >
22+ <groupId >org.apache.avro </groupId >
23+ <artifactId >avro</artifactId >
24+ <version >${avro .version} </version >
2125 </dependency >
2226 <dependency >
2327 <groupId >org.springframework.boot</groupId >
6266
6367 <build >
6468 <plugins >
69+ <plugin >
70+ <groupId >org.apache.avro</groupId >
71+ <artifactId >avro-maven-plugin</artifactId >
72+ <version >1.11.3</version >
73+ <executions >
74+ <execution >
75+ <phase >generate-sources</phase >
76+ <goals >
77+ <goal >schema</goal >
78+ </goals >
79+ <configuration >
80+ <sourceDirectory >${project.basedir} /src/main/resources/avro</sourceDirectory >
81+ <outputDirectory >${project.build.directory} /generated-sources/avro</outputDirectory >
82+ <stringType >String</stringType >
83+ </configuration >
84+ </execution >
85+ </executions >
86+ </plugin >
6587 <plugin >
6688 <groupId >org.springframework.cloud</groupId >
6789 <artifactId >spring-cloud-contract-maven-plugin</artifactId >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments