-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(dev): Use full path for Kafka container #28724
Conversation
When we [upgraded the kafka and zookeeper images we use][1], we did not update the volume to use the full path (as the [instructions indicate][2]), thus, started to see this error: > Command [/usr/local/bin/dub path /var/lib/kafka/data writable] FAILED ! This change adds the full path. [1]: #28574 [2]: https://docs.confluent.io/platform/current/installation/docker/operations/external-volumes.html#data-volumes-for-kafka-and-zk
Hi @avgupta456 would you mind verifying that this is fixed? It seems so from my inspecting. Thanks! Outside of docker run \
--net=host \
-e ZOOKEEPER_TICK_TIME=2000 \
-e ZOOKEEPER_CLIENT_PORT=32181 \
-v /var/lib/zookeeper/data \
-v /var/lib/zookeeper/log \
confluentinc/cp-zookeeper:6.2.0
docker run \
--net=host \
-e KAFKA_ZOOKEEPER_CONNECT=localhost:32181 \
-e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://localhost:39092 \
-v /var/lib/kafka \
confluentinc/cp-kafka:6.2.0 |
It works, thanks! |
…28574)" (#28672) This reverts commit b4bfb00. Originally (see [originally reported issue](#28574 (comment))), instead of reverting my change, I landed a fix that only seems to work on Apple M1 (see fix #28724). Nevertheless, It seems that the *Intel* images would still fail with the same error (see issue #29022) with: > Command [/usr/local/bin/dub path /var/lib/kafka/data writable] FAILED ! Let's revert it and I will try again later. Fixes #29022
Follow up to #28574.
When we upgraded the kafka and zookeeper images we use, we did not update the volume to
use the full path (as the instructions indicate), thus, started to see this error:
This change adds the full path.