1 package de.trion.microservices.details;
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 applicationServer = "details:8092";
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 getApplicationServer()
48 return applicationServer;
51 public void setApplicationServer(String applicationServer)
53 this.applicationServer = applicationServer;