Einfacher geht es nicht mehr
[demos/kafka/training] / src / main / java / de / juplo / kafka / ApplicationProperties.java
diff --git a/src/main/java/de/juplo/kafka/ApplicationProperties.java b/src/main/java/de/juplo/kafka/ApplicationProperties.java
deleted file mode 100644 (file)
index 005460c..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-package de.juplo.kafka;
-
-import lombok.Getter;
-import lombok.Setter;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.validation.annotation.Validated;
-
-import javax.validation.constraints.NotEmpty;
-import javax.validation.constraints.NotNull;
-import java.time.Duration;
-
-
-@ConfigurationProperties(prefix = "sumup.adder")
-@Validated
-@Getter
-@Setter
-public class ApplicationProperties
-{
-  @NotNull
-  @NotEmpty
-  private String topic;
-  private Duration throttle;
-}