Skip to content

Commit

Permalink
chore: group-instance-id ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
tteia committed Oct 30, 2024
1 parent eb2abbd commit be578c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/order/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM openjdk:17-jdk-alpine as stage1
FROM openjdk:17-jdk-slim as stage1

WORKDIR /app

Expand All @@ -14,7 +14,7 @@ RUN chmod 777 gradlew
RUN ./gradlew bootJar

# ๋‘ ๋ฒˆ์งธ ์Šคํ…Œ์ด์ง€
FROM openjdk:17-jdk-alpine
FROM openjdk:17-jdk-slim
WORKDIR /app

COPY --from=stage1 /app/build/libs/*.jar app.jar
Expand Down
3 changes: 2 additions & 1 deletion backend/order/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ spring:
bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS}
consumer:
group-id: order-group
group-instance-id: ${HOSTNAME}-instance
group-instance-id: ${HOSTNAME}-${INSTANCE_INDEX}

auto-offset-reset: earliest

logging:
Expand Down

0 comments on commit be578c1

Please sign in to comment.