Skip to content

Commit

Permalink
chore(kafka): use apache/kafka official image (open-telemetry#1480)
Browse files Browse the repository at this point in the history
  • Loading branch information
tranngoclam authored and AlexPSplunk committed Jul 10, 2024
1 parent d80d4b9 commit ab65dd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ services:
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
- OTEL_RESOURCE_ATTRIBUTES
- OTEL_SERVICE_NAME=kafka
- KAFKA_HEAP_OPTS=-Xmx200m -Xms200m
- KAFKA_HEAP_OPTS=-Xmx250m -Xms250m
healthcheck:
test: nc -z kafka 9092
start_period: 10s
Expand Down
4 changes: 2 additions & 2 deletions src/kafka/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# SPDX-License-Identifier: Apache-2.0


FROM confluentinc/cp-kafka:7.5.2
FROM apache/kafka:3.7.0

USER root
ARG version=2.0.0
ARG version=2.2.0
ADD https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v$version/opentelemetry-javaagent.jar /tmp/opentelemetry-javaagent.jar
RUN chmod go+r /tmp/opentelemetry-javaagent.jar

Expand Down

0 comments on commit ab65dd1

Please sign in to comment.