WIP
[demos/kafka/training] / src / main / java / de / juplo / kafka / ApplicationProperties.java
index 673613a..7d5f105 100644 (file)
@@ -8,29 +8,13 @@ import javax.validation.constraints.NotEmpty;
 import javax.validation.constraints.NotNull;
 
 
-@ConfigurationProperties(prefix = "producer")
+@ConfigurationProperties(prefix = "sumup.gateway")
 @Getter
 @Setter
 public class ApplicationProperties
 {
-  @NotNull
-  @NotEmpty
-  private String bootstrapServer;
-  @NotNull
-  @NotEmpty
-  private String clientId;
   @NotNull
   @NotEmpty
   private String topic;
   private Integer partition;
-  @NotNull
-  @NotEmpty
-  private String acks;
-  @NotNull
-  private Integer batchSize;
-  @NotNull
-  private Integer lingerMs;
-  @NotNull
-  @NotEmpty
-  private String compressionType;
 }