1 package de.trion.microservices.takeorder;
4 import org.springframework.boot.context.properties.ConfigurationProperties;
7 @ConfigurationProperties("take-order")
8 public class ApplicationProperties
10 String bootstrapServers = "kafka:9092";
11 String schemaRegistryUrl = "http://schema-registry:8081";
12 String topic = "orders";
13 String path = "http://details:8092/orders/";
16 public String getBootstrapServers()
18 return bootstrapServers;
21 public void setBootstrapServers(String bootstrapServers)
23 this.bootstrapServers = bootstrapServers;
26 public String getSchemaRegistryUrl()
28 return schemaRegistryUrl;
31 public void setSchemaRegistryUrl(String schemaRegistryUrl)
33 this.schemaRegistryUrl = schemaRegistryUrl;
36 public String getTopic()
41 public void setTopic(String topic)
46 public String getPath()
51 public void setPath(String path)