Skip to content

Commit

Permalink
chore: 카프카 설정 수정 > 내부 아이피로 변경
Browse files Browse the repository at this point in the history
- OUTSIDE는 필요없는 거 같음
  • Loading branch information
kyeonkim committed Oct 16, 2024
1 parent 7630dd7 commit 5775b66
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ services:
depends_on:
- zookeeper
environment:
KAFKA_ADVERTISED_LISTENERS: INSIDE://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT
KAFKA_LISTENERS: INSIDE://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092
KAFKA_ADVERTISED_LISTENERS: INSIDE://kafka:29092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT
KAFKA_LISTENERS: INSIDE://0.0.0.0:29092
KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
networks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spring:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
kafka:
bootstrap-servers: 0.0.0.0:9092
bootstrap-servers: kafka:9092
consumer:
group-id: order-service-group
auto-offset-reset: earliest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spring:
show-sql: false
database-platform: org.hibernate.dialect.MySQLDialect
kafka:
bootstrap-servers: 0.0.0.0:9092
bootstrap-servers: kafka:9092
producer:
key-serializer: org.apache.kafka.common.serialization.StringSerializer
value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spring:
port: 6380

kafka:
bootstrap-servers: 0.0.0.0:9092
bootstrap-servers: kafka:9092
listener:
ack-mode: MANUAL
producer:
Expand Down

0 comments on commit 5775b66

Please sign in to comment.