Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
server:
port: 8080

spring:
kafka:
bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS}
Expand Down
12 changes: 1 addition & 11 deletions src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
server:
port: 8080

spring:
kafka:
bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS}
properties:
security.protocol: PLAINTEXT

logging:
level:
root: INFO
org.todaybook: INFO
org.todaybook.bookpreprocessingworker: DEBUG
security.protocol: PLAINTEXT
3 changes: 0 additions & 3 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
server:
port: 8080

spring:
kafka:
bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS}
Expand Down
9 changes: 5 additions & 4 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ server:
spring:
application:
name: book-preprocessing-worker

profiles:
active: ${SPRING_PROFILES_ACTIVE:local}

kafka:
bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS}

consumer:
group-id: book-preprocessor
auto-offset-reset: earliest
Expand All @@ -25,10 +28,10 @@ spring:
management:
endpoints:
web:
base-path: /internal
exposure:
include: health,info,prometheus
exclude: env,heapdump,beans,loggers
base-path: /internal
endpoint:
health:
show-details: never
Expand All @@ -43,7 +46,5 @@ app:
input-topic: book.raw
csv-input-topic: csv-book.raw
output-topic: book.parsed
prefix:
env:
json-group-id: book-preprocessor-naver
csv-group-id: book-preprocessor-csv
csv-group-id: book-preprocessor-csv