Skip to content

Commit 29a1ae3

Browse files
authored
formatting
1 parent bf6c349 commit 29a1ae3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,15 @@ docker-compose -f zk-multiple-kafka-multiple.yml down
118118
## Kafka
119119

120120
Q: Kafka's log is too verbose, how can I reduce it?
121+
121122
A: Add the following line to your docker-compose environment variables: `KAFKA_LOG4J_LOGGERS: "kafka.controller=INFO,kafka.producer.async.DefaultEventHandler=INFO,state.change.logger=INFO"`. Full logging control can be accessed here: https://github.com/confluentinc/cp-docker-images/blob/master/debian/kafka/include/etc/confluent/docker/log4j.properties.template
122123

123124
Q: How do I delete data to start fresh?
125+
124126
A: Your data is persisted from within the docker compose folder, so if you want for example to reset the data in the full-stack docker compose, first do a `docker-compose -f full-stack.yml down`, then remove the directory `full-stack`, for example by doing `rm -r -f full-stack`.
125127

126128
Q: Can I change the zookeeper ports?
129+
127130
A: yes. Say you want to change `zoo1` port to `12181` (only relevant lines are shown):
128131
```
129132
zoo1:
@@ -138,6 +141,7 @@ A: yes. Say you want to change `zoo1` port to `12181` (only relevant lines are s
138141
```
139142

140143
Q: Can I change the Kafka ports?
144+
141145
A: yes. Say you want to change `kafka1` port to `12345` (only relevant lines are shown). Note only `LISTENER_DOCKER_EXTERNAL` changes:
142146
```
143147
kafka1:

0 commit comments

Comments
 (0)