--- /dev/null
+package de.trion.microservices.validateorder;
+
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+
+@ConfigurationProperties("take-order")
+public class ApplicationProperties
+{
+ String bootstrapServers = "kafka:9092";
+ String schemaRegistryUrl = "http://schema-registry:8081";
+ String ordersTopic = "orders";
+ String validationTopic = "validation";
+
+
+ public String getBootstrapServers()
+ {
+ return bootstrapServers;
+ }
+
+ public void setBootstrapServers(String bootstrapServers)
+ {
+ this.bootstrapServers = bootstrapServers;
+ }
+
+ public String getSchemaRegistryUrl()
+ {
+ return schemaRegistryUrl;
+ }
+
+ public void setSchemaRegistryUrl(String schemaRegistryUrl)
+ {
+ this.schemaRegistryUrl = schemaRegistryUrl;
+ }
+
+ public String getOrdersTopic()
+ {
+ return ordersTopic;
+ }
+
+ public void setOrdersTopic(String topic)
+ {
+ this.ordersTopic = topic;
+ }
+
+ public String getValidationTopic()
+ {
+ return validationTopic;
+ }
+
+ public void setValidationTopic(String topic)
+ {
+ this.validationTopic = topic;
+ }
+}