Springify: Konfiguration erfolgt über `KafkaProperties`
[demos/kafka/training] / src / main / java / de / juplo / kafka / ApplicationProperties.java
index f852c00..005460c 100644 (file)
@@ -16,22 +16,8 @@ import java.time.Duration;
 @Setter
 public class ApplicationProperties
 {
-  @NotNull
-  @NotEmpty
-  private String bootstrapServer;
-  @NotNull
-  @NotEmpty
-  private String groupId;
-  @NotNull
-  @NotEmpty
-  private String clientId;
   @NotNull
   @NotEmpty
   private String topic;
-  @NotNull
-  @NotEmpty
-  private String autoOffsetReset;
-  @NotNull
-  private Duration commitInterval;
   private Duration throttle;
 }