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
{{ message }}
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
Hi,
For reasons I don't yet understand, when I do a docker restart container_id, I can no longer send messages to the topics previously created (the kafka client gets the following: org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.).
If I connect to the running container and just stop the kafka process directly, supervisord successfully restarts it and I don't have any issues, so I'm assuming this probably is docker-specific.
The text was updated successfully, but these errors were encountered:
Same Problem here using boot2docker and docker-machine. Using 'docker run' everything works fine, but when I stop the container and start it again with 'docker start' the queue does not receive the messages and I get the timeout metadata error.
I also had the same issue and i solved it by adding a --net=somename to the command.
Here is my run command
" docker run --net=host -p 2181:2181 -p 9092:9092 --env ADVERTISED_HOST= --env ADVERTISED_PORT=9092 --env LOG_RETENTION_HOURS=1 --env LOG_RETENTION_BYTES=250000000 spotify/kafka "
Please try it.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
For reasons I don't yet understand, when I do a docker restart container_id, I can no longer send messages to the topics previously created (the kafka client gets the following: org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.).
If I connect to the running container and just stop the kafka process directly, supervisord successfully restarts it and I don't have any issues, so I'm assuming this probably is docker-specific.
The text was updated successfully, but these errors were encountered: