1 package de.trion.kafka.outbox;
3 import org.springframework.boot.context.properties.ConfigurationProperties;
5 @ConfigurationProperties("outbox.polling")
6 public class ApplicationProperties {
7 public String bootstrapServers = "localhost:9092";
8 public String topic = "outbox-polling";
9 public String consumerGroup = "polling";
12 public String getBootstrapServers() {
13 return bootstrapServers;
16 public void setBootstrapServers(String bootstrapServers) {
17 this.bootstrapServers = bootstrapServers;
20 public String getTopic() {
24 public void setTopic(String topic) {
28 public String getConsumerGroup() {
32 public void setConsumerGroup(String consumerGroup) {
33 this.consumerGroup = consumerGroup;