Browse Source

Expose port for localhost kafka listener

This enables clients outside of docker network to connect,
to test this you can use a tool like kafkacat (kcat).

For example run on the docker compose host machine:

> kafkacat -b localhost:29092 -L
pull/2068/head
Philipp Theyssen 1 year ago
parent
commit
b21d1ae193
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/docker-compose.override.yml

+ 1
- 0
src/docker-compose.override.yml View File

@ -57,6 +57,7 @@ services:
# To learn about configuring Kafka for access across networks see # To learn about configuring Kafka for access across networks see
# https://www.confluent.io/blog/kafka-client-cannot-connect-to-broker-on-aws-on-docker-etc/ # https://www.confluent.io/blog/kafka-client-cannot-connect-to-broker-on-aws-on-docker-etc/
- "9092:9092" - "9092:9092"
- "29092:29092"
identity-api: identity-api:
environment: environment:


Loading…
Cancel
Save