Reintroduce avro wildcard types in schema registry sample
See this issue in Spring Cloud Function: https://github.com/spring-cloud/spring-cloud-function/issues/611
This commit is contained in:
@@ -34,6 +34,11 @@
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-function-context</artifactId>
|
||||
<version>3.0.12.BUILD-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-stream-binder-kafka</artifactId>
|
||||
|
||||
@@ -3,7 +3,7 @@ spring:
|
||||
stream:
|
||||
bindings:
|
||||
supplier-out-0:
|
||||
contentType: application/+avro
|
||||
contentType: application/*+avro
|
||||
destination: sensor-topic
|
||||
schema-registry-client:
|
||||
endpoint: http://localhost:8990
|
||||
|
||||
@@ -34,6 +34,11 @@
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-function-context</artifactId>
|
||||
<version>3.0.12.BUILD-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-stream-binder-kafka</artifactId>
|
||||
@@ -47,6 +52,10 @@
|
||||
<artifactId>avro</artifactId>
|
||||
<version>${avro.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
@@ -3,7 +3,7 @@ spring:
|
||||
stream:
|
||||
bindings:
|
||||
supplier-out-0:
|
||||
contentType: application/+avro
|
||||
contentType: application/*+avro
|
||||
destination: sensor-topic
|
||||
schema-registry-client:
|
||||
endpoint: http://localhost:8990
|
||||
|
||||
Reference in New Issue
Block a user