WIP
[demos/kafka/outbox] / src / main / java / de / juplo / kafka / outbox / polling / ApplicationProperties.java
diff --git a/src/main/java/de/juplo/kafka/outbox/polling/ApplicationProperties.java b/src/main/java/de/juplo/kafka/outbox/polling/ApplicationProperties.java
new file mode 100644 (file)
index 0000000..8b0bbff
--- /dev/null
@@ -0,0 +1,35 @@
+package de.juplo.kafka.outbox.polling;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+@ConfigurationProperties("outbox.polling")
+public class ApplicationProperties {
+    public String bootstrapServers = "localhost:9092";
+    public String topic = "outbox-polling";
+    public String consumerGroup = "polling";
+
+
+    public String getBootstrapServers() {
+        return bootstrapServers;
+    }
+
+    public void setBootstrapServers(String bootstrapServers) {
+        this.bootstrapServers = bootstrapServers;
+    }
+
+    public String getTopic() {
+        return topic;
+    }
+
+    public void setTopic(String topic) {
+        this.topic = topic;
+    }
+
+    public String getConsumerGroup() {
+        return consumerGroup;
+    }
+
+    public void setConsumerGroup(String consumerGroup) {
+        this.consumerGroup = consumerGroup;
+    }
+}