refactor: `RestProducer` wird explizit erzeugt
[demos/kafka/training] / src / main / java / de / juplo / kafka / ApplicationProperties.java
index ab26890..78b6085 100644 (file)
@@ -4,6 +4,7 @@ import lombok.Getter;
 import lombok.Setter;
 import org.springframework.boot.context.properties.ConfigurationProperties;
 
+
 @ConfigurationProperties(prefix = "producer")
 @Getter
 @Setter
@@ -12,6 +13,9 @@ public class ApplicationProperties
   private String bootstrapServer;
   private String clientId;
   private String topic;
+  private Integer partition;
   private String acks;
-  private int throttleMs;
+  private Integer batchSize;
+  private Integer lingerMs;
+  private String compressionType;
 }