使用 Docker-Compose 部署 Kafka
1. Kafka 镜像选择
这里使用的是 Docker Hub 上使用最多的镜像:bitnami/kafka
,为什么使用这个镜像,看下官方的介绍:
- Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems.
- With Bitnami images the latest bug fixes and features are available as soon as possible.
- Bitnami containers, virtual machines and cloud images use the same components and configuration approach - making it easy to switch between formats based on your project needs.
- All our images are based on minideb -a minimalist Debian based container image t