1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

add cp-kafka-mqtt

This commit is contained in:
kev 2019-05-02 07:11:16 +08:00
parent d44d930724
commit fb57740c81
3 changed files with 17 additions and 0 deletions

View File

@ -254,6 +254,7 @@ A collection of delicious docker recipes.
- [x] tutum/builder
- [x] browserless/chrome
- [x] certbot
- [x] confluentinc/cp-kafka-mqtt
- [x] confluentinc/cp-kafka-rest
- [x] streamsets/datacollector
- [x] cachethq/docker

4
kafka-mqtt/README.md Normal file
View File

@ -0,0 +1,4 @@
kafka-mqtt
==========
Confluent Docker Image for Kafka MQTT Proxy.

View File

@ -0,0 +1,12 @@
kafka-mqtt:
image: confluentinc/cp-kafka-mqtt
ports:
- "1883:1883"
environment:
- KAFKA_MQTT_BOOTSTRAP_SERVERS=kafka1:9092,kafka2:9092,kafka3:9092
- KAFKA_MQTT_TOPIC_REGEX_LIST=temperature:.*
extra_hosts:
- kafka1:10.0.0.21
- kafka2:10.0.0.22
- kafka3:10.0.0.23
restart: unless-stopped