Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg authored Dec 18, 2019
1 parent 289bf82 commit 194e9d6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,32 @@ volumes:
### Logs
### Messaging
- [Kafka](#Kafka)
- [NATS](#NATS)
- [RabbitMQ](#RabbitMQ)
#### Kafka
```yaml
services:
zk:
image: confluentinc/cp-zookeeper
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181

kafka:
image: confluentinc/cp-kafka
ports:
- "9092:9092"
depends_on:
- zk
environment:
KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://kafka:9092"
KAFKA_ZOOKEEPER_CONNECT: zk:2181
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
```
#### NATS
```yaml
services:
Expand Down

0 comments on commit 194e9d6

Please sign in to comment.