Implement MessageSenderService

This commit is contained in:
woozu.shin
2021-11-21 20:53:20 +09:00
parent 1505227037
commit c97c8dc01f
24 changed files with 175 additions and 74 deletions

View File

@@ -0,0 +1,7 @@
spring:
config:
activate:
on-profile: local
import:
- classpath:/local/webclient.yml
- "configserver:http://localhost:20085"

View File

@@ -4,7 +4,7 @@ spring:
main:
allow-bean-definition-overriding: true
profiles:
active: ${SPRING_ACTIVE_PROFILE:development}
active: ${SPRING_ACTIVE_PROFILE:local}
freemarker:
enabled: false

View File

@@ -0,0 +1,5 @@
webclient:
init: true
units:
- unit-name: ppn-processor-api
base-url: http://localhost:20081

View File

@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<springProperty name="DEFAULT_LEVEL_CONFIG" source="log.defaultLevel" />
<springProfile name="local">
<include resource="logback/logback-development.xml" />
<logger name="org.apache.kafka" level="INFO" />
</springProfile>
<springProfile name="development">
<include resource="logback/logback-development.xml" />
<logger name="org.apache.kafka" level="INFO" />