Open derekgreer opened 4 years ago
@derekgreer
cp-all-in-one
has been verified on macOS and other operating systemsdocker-compose logs connect
?i use centos 7.5 also get this issue, so what should i do, the machine memory is 4g,not enough?
@RenlySir what error messages are you seeing in your environment? Please use docker-compose logs
to troubleshoot
Strange ... I gave up yesterday and decided to just play around with the kafka distro directly. I didn't have Java installed, so I had to install that. This morning, I tried running this again to look at the logs and lo and behold it's now working. Is it possible there is some dependency of the containers for Java to be installed on the host operating system?
@ybyzek is it still the case Windows is not supported?
I am learning kafka by following this artitle Quick Start for Apache Kafka using Confluent Platform (Docker) https://docs.confluent.io/current/quickstart/ce-docker-quickstart.html#ce-docker-quickstart
But I think i also have some issues using the datagenConnector and I dont know how I can fix it. See information below.
Admin@DCNI-014CS5J-LX MINGW64 /c/Code/Tools/cp-all-in-one/cp-all-in-one (5.5.1-post) $ docker-compose build --no-cache connect connect uses an image, skipping
Admin@DCNI-014CS5J-LX MINGW64 /c/Code/Tools/cp-all-in-one/cp-all-in-one (5.5.1-post) $ docker-compose exec connect ls /usr/share/confluent-hub-components/confluentinc-kafka-connect-datagen ls: cannot access C:/Program Files/Git/usr/share/confluent-hub-components/confluentinc-kafka-connect-datagen: No such file or directory
Note: I am also using windows 10.
@azimshaik Correct, Windows is not; the Linux containers are
@abbringas You are missing quotes, otherwise, it assumes a local file path...
docker-compose exec connect "ls /usr/share/confluent-hub-components/confluentinc-kafka-connect-datagen"
@derekgreer
Is it possible there is some dependency of the containers for Java to be installed on the host operating system?
Unlikely. Docker itself does not require Java, so therefore the containers have no external reliance on it either.
Connect container will exit because you need to configure Docker with more memory (at least 6GB, as mentioned in the linked docs)
Sounds like you've fixed your issue, though, so this can be closed?
Running Docker for windows.
Windows Version 10.0.18362 Build 18362
I'm working through the Confluent Platform Quick Start (Docker).
Initially, step 2 shows all containers running, but eventually the connect container exits:
For step 3, the Datagen Connector isn't found. I consulted the referenced Issue: Cannot locate the Datagen Connector, but the resolutions do not produce the desired results.
Upon issuing the following command:
docker-compose build --no-cache connect
The output is as follows:
Upon issuing the following command:
docker-compose logs connect | grep -i Datagen
There is no output.
Upon issuing the following command:
docker-compose exec connect ls /usr/share/confluent-hub-components/confluentinc-kafka-connect-datagen/lib/
The output is as follows:
If I attempt to restart the connect container and issue the above command again before it exits, it does produce the following: