Lightweight docker image with Apache Kafka (single broker mode) for development and testing
Local run:
docker run --rm -p 9092:9092 mgid/kafka.gitlab-ci.yml example:
integration-test:
stage: test
services:
- name: mgid/kafka:latest
alias: kafka
variables:
KAFKA_ADVERTISED_HOSTNAME: kafka
...docker-compose example:
services:
kafka:
image: mgid/kafka:latest
environment:
KAFKA_ADVERTISED_HOSTNAME: kafka