Skip to content

Commit 085f271

Browse files
authored
BAEL-3435 - Improve article "Guide to Spring Cloud Stream with Kafka, Apache Avro and Confluent Schema Registry" (eugenp#11998)
1 parent 05e28d0 commit 085f271

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spring-cloud/spring-cloud-stream/spring-cloud-stream-kafka/src/main/java/com/baeldung/AvroKafkaApplication.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
import org.springframework.boot.autoconfigure.SpringBootApplication;
55
import org.springframework.cloud.stream.annotation.EnableBinding;
66
import org.springframework.cloud.stream.messaging.Processor;
7-
import org.springframework.cloud.stream.schema.client.EnableSchemaRegistryClient;
87

98
@SpringBootApplication
109
@EnableBinding(Processor.class)
11-
@EnableSchemaRegistryClient
10+
// The @EnableSchemaRegistryClient annotation needs to be uncommented to use the Spring native method.
11+
// @EnableSchemaRegistryClient
1212
public class AvroKafkaApplication {
1313

1414
public static void main(String[] args) {

0 commit comments

Comments
 (0)