Version des Simple-Consumer, mit Auto-Konfiguration durch Spring Kafka
[demos/kafka/training] / src / main / java / de / juplo / kafka / ApplicationProperties.java
index 5675db7..a4cc8b8 100644 (file)
@@ -15,19 +15,7 @@ import javax.validation.constraints.NotNull;
 @Setter
 public class ApplicationProperties
 {
-  @NotNull
-  @NotEmpty
-  private String bootstrapServers;
-  @NotNull
-  @NotEmpty
-  private String groupId;
-  @NotNull
-  @NotEmpty
-  private String clientId;
   @NotNull
   @NotEmpty
   private String topic;
-  @NotNull
-  @NotEmpty
-  private String autoOffsetReset;
 }