You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After run up one producer, one consumer, everything is OK, **but when I run second consumer(sometimes run the third consumer**, the port of local machine changed automatily. then producer or consumer will disconnected...
Not very familiar with docker/kafka, so don't know why this happen. Hope hear your sound, thx in advanced
The text was updated successfully, but these errors were encountered:
If ports are changing on the same service, then it's crashing and you'll need to look at the server logs...
One solution - Don't use 3 Kafka brokers locally with plain port exposure. Main reason - you're "wasting" disk space/cycles if you have replication factor more than 1; you can use one broker with a static port.
Or, you need to edit the listeners on the three services such that their ports don't overlap, then statically assign them to your host
After run up one producer, one consumer, everything is OK, **but when I run second consumer(sometimes run the third consumer**, the port of local machine changed automatily. then producer or consumer will disconnected... Not very familiar with docker/kafka, so don't know why this happen. Hope hear your sound, thx in advanced
The text was updated successfully, but these errors were encountered: