From f8a69008e148fdad606b9caf8325ba42fae22482 Mon Sep 17 00:00:00 2001 From: ACHRAF TAITAI <43656331+achraftt@users.noreply.github.com> Date: Mon, 4 Apr 2022 20:48:45 +0200 Subject: [PATCH] BAEL-3435 - Improve article "Guide to Spring Cloud Stream with Kafka, Apache Avro and Confluent Schema Registry" (#11998) --- .../src/main/java/com/baeldung/AvroKafkaApplication.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud/spring-cloud-stream/spring-cloud-stream-kafka/src/main/java/com/baeldung/AvroKafkaApplication.java b/spring-cloud/spring-cloud-stream/spring-cloud-stream-kafka/src/main/java/com/baeldung/AvroKafkaApplication.java index 47c060c143..b6e7729009 100644 --- a/spring-cloud/spring-cloud-stream/spring-cloud-stream-kafka/src/main/java/com/baeldung/AvroKafkaApplication.java +++ b/spring-cloud/spring-cloud-stream/spring-cloud-stream-kafka/src/main/java/com/baeldung/AvroKafkaApplication.java @@ -4,11 +4,11 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.stream.annotation.EnableBinding; import org.springframework.cloud.stream.messaging.Processor; -import org.springframework.cloud.stream.schema.client.EnableSchemaRegistryClient; @SpringBootApplication @EnableBinding(Processor.class) -@EnableSchemaRegistryClient +// The @EnableSchemaRegistryClient annotation needs to be uncommented to use the Spring native method. +// @EnableSchemaRegistryClient public class AvroKafkaApplication { public static void main(String[] args) {