Skip to content

Commit 3afe19e

Browse files
authored
[kafka] increase kafka memory limits (#1592)
* increase kafka memory limits * increase kafka memory limits
1 parent 3ee280d commit 3afe19e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ the release.
4343
([#1574](https://github.com/open-telemetry/opentelemetry-demo/pull/1574))
4444
* [flagd] Add flagd service to minimal docker compose deployment
4545
([#1585](https://github.com/open-telemetry/opentelemetry-demo/pull/1585))
46+
* [kafka] Increase memory and Java heap limits
47+
([#1592](https://github.com/open-telemetry/opentelemetry-demo/pull/1592))
4648

4749
## 1.9.0
4850

docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -607,15 +607,15 @@ services:
607607
deploy:
608608
resources:
609609
limits:
610-
memory: 500M
610+
memory: 600M
611611
restart: unless-stopped
612612
environment:
613613
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092
614614
- OTEL_EXPORTER_OTLP_ENDPOINT=http://${OTEL_COLLECTOR_HOST}:${OTEL_COLLECTOR_PORT_HTTP}
615615
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
616616
- OTEL_RESOURCE_ATTRIBUTES
617617
- OTEL_SERVICE_NAME=kafka
618-
- KAFKA_HEAP_OPTS=-Xmx250m -Xms250m
618+
- KAFKA_HEAP_OPTS=-Xmx400m -Xms400m
619619
healthcheck:
620620
test: nc -z kafka 9092
621621
start_period: 10s

0 commit comments

Comments
 (0)