Skip to content

Commit

Permalink
add missing partitions config and removes JMX
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Sep 2, 2023
1 parent f76309d commit a5e3fbc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ services:
extra_hosts: [ 'host.docker.internal:host-gateway' ]
ports:
- "9092:9092"
- "9101:9101"
healthcheck:
test: [ "CMD-SHELL", "nc -z localhost 9092" ]
interval: 30s
Expand All @@ -60,11 +59,10 @@ services:
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: 'CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT'
KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT://broker:29092,PLAINTEXT_HOST://localhost:9092'
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS: 32
KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
KAFKA_JMX_PORT: 9101
KAFKA_JMX_HOSTNAME: localhost
KAFKA_PROCESS_ROLES: 'broker,controller'
KAFKA_NODE_ID: 1
KAFKA_CONTROLLER_QUORUM_VOTERS: '1@broker:29093'
Expand Down

0 comments on commit a5e3fbc

Please sign in to comment.