Skip to content

Commit

Permalink
chore(kafka): use apache/kafka official image
Browse files Browse the repository at this point in the history
  • Loading branch information
tranngoclam committed Apr 4, 2024
1 parent 06023dd commit d8ad09e
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 d8ad09e

Please sign in to comment.