WIP:TaskExecutor-NEU
[demos/kafka/training] / src / main / java / de / juplo / kafka / ApplicationProperties.java
index fa731c5..a4cc8b8 100644 (file)
@@ -9,25 +9,13 @@ import javax.validation.constraints.NotEmpty;
 import javax.validation.constraints.NotNull;
 
 
-@ConfigurationProperties(prefix = "consumer")
+@ConfigurationProperties(prefix = "simple.consumer")
 @Validated
 @Getter
 @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;
 }