【openeuler/kafka docker image overview】

在这里插入图片描述

Quick reference

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

TagsCurrentlyArchitectures
3.7.0-oe2203sp3Apache Kafka server 3.7.0 on openEuler 22.03-LTS-SP3amd64, arm64

Usage

In this usage, users can select the corresponding {Tag} and container startup options based on their requirements.

  • Pull the openeuler/kafka image from docker

    docker pull openeuler/kafka:{Tag}
    
  • Start a kafka instance

    docker run -d --name my-kafka -p 9092:9092 openeuler/kafka:{Tag}
    

    After the instance my-kafka is started, access the kafka service through http://localhost:9092.
    在这里插入图片描述

  • Container startup options

    OptionDescription
    -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 property logs.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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值