diff --git a/samples/sample-07/src/main/java/com/example/sample07/Sample07Application.java b/samples/sample-07/src/main/java/com/example/sample07/Sample07Application.java index 3d8905a59c..020e1a00aa 100644 --- a/samples/sample-07/src/main/java/com/example/sample07/Sample07Application.java +++ b/samples/sample-07/src/main/java/com/example/sample07/Sample07Application.java @@ -18,7 +18,6 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.kafka.annotation.EnableKafka; /** * New consumer rebalance protocol sample which purpose is only to demonstrate the application @@ -29,7 +28,6 @@ * @since 3.2.0 */ -@EnableKafka @SpringBootApplication public class Sample07Application { diff --git a/samples/sample-07/src/main/resources/application.yaml b/samples/sample-07/src/main/resources/application.yaml index 8e0f91b92a..557545e087 100644 --- a/samples/sample-07/src/main/resources/application.yaml +++ b/samples/sample-07/src/main/resources/application.yaml @@ -10,7 +10,6 @@ spring: kafka: consumer: bootstrap-servers: localhost:10000 - group-id: sample07 key-deserializer: org.apache.kafka.common.serialization.StringDeserializer value-deserializer: org.apache.kafka.common.serialization.StringDeserializer properties: