Skip to content

Commit 7501aaf

Browse files
author
Sergio García Prado
committed
ISSUE #?
* Update `KAFKA_ADVERTISED_HOST_NAME`. * Fix typo.
1 parent 66c8536 commit 7501aaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ services:
104104
depends_on:
105105
- zookeeper
106106
environment:
107-
KAFKA_ADVERTISED_HOST_NAME: kafka
107+
KAFKA_ADVERTISED_HOST_NAME: localhost
108108
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
109109
postgres:
110110
restart: always
@@ -715,7 +715,7 @@ Execute the following command to start the microservice:
715715
python foo/main.py
716716
```
717717

718-
Now, if a new instance is created (with a rest call, like in the [previous section](#Expose a Command)), the `FooCreated` event will be handled and the microservice's console will print something like:
718+
Now, if a new instance is created (with a rest call, like in the [previous section](#expose-a-command)), the `FooCreated` event will be handled and the microservice's console will print something like:
719719

720720
```
721721
A Foo was created: Event(...)

0 commit comments

Comments
 (0)