【openeuler/kafka docker image overview】
【代码】【openeuler/kafka docker image overview】

Quick reference
-
The official Kafka docker image.
-
Maintained by: openEuler CloudNative SIG.
-
Where to get help: openEuler CloudNative SIG, openEuler.
Kafka | openEuler
Current Kafka docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications.
Learn more on Kafka website.
Supported tags and respective Dockerfile links
The tag of each kafka docker image is consist of the version of kafka and the version of basic image. The details are as follows
| Tags | Currently | Architectures |
|---|---|---|
| 3.7.0-oe2203sp3 | Apache Kafka server 3.7.0 on openEuler 22.03-LTS-SP3 | amd64, arm64 |
Usage
In this usage, users can select the corresponding {Tag} and container startup options based on their requirements.
-
Pull the
openeuler/kafkaimage from dockerdocker pull openeuler/kafka:{Tag} -
Start a kafka instance
docker run -d --name my-kafka -p 9092:9092 openeuler/kafka:{Tag}After the instance
my-kafkais started, access the kafka service throughhttp://localhost:9092.
-
Container startup options
Option Description -p 9092:9092Expose Apache Kafka server on localhost:9092.-e ZOOKEEPER_HOST=<zookeeper>Hostname for the related Zookeeper instance. -e ZOOKEEPER_PORT=2181Port for the related Zookeeper instance. -v /path/to/config/file:/etc/kafka/server.propertiesLocal Kafka configuration file. -v kafkaData:/var/lib/kafka"Persist data in a docker volume named kafkaData. " "Make sure that the mount point is consistent with the configuration propertylogs.dirs. -
View container running logs
docker logs -f my-kafka -
To get an interactive shell
docker exec -it my-kafka /bin/bash
Question and answering
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.
鲲鹏昇腾开发者社区是面向全社会开放的“联接全球计算开发者,聚合华为+生态”的社区,内容涵盖鲲鹏、昇腾资源,帮助开发者快速获取所需的知识、经验、软件、工具、算力,支撑开发者易学、好用、成功,成为核心开发者。
更多推荐



所有评论(0)