-
Notifications
You must be signed in to change notification settings - Fork 682
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
ksql-datagen exits. Can't connect to broker #75
Comments
I'm not sure |
@OneCricketeer I ended up backing down to version 5.5.5 (I'm not sure if that has anything to do with it) and then allocating 8 GB of memory to Docker instead of 6. After that, I can run it successfully. I have not tried to do the same with 6.2.0. Occasionaly, |
I don't think I've personally tried starting all components recently, but it usually is a memory issue from what I've seen. If you don't need the REST Proxy or Control Center, for example while you use ksql, you may comment them out in the yaml |
Clean install of docker. Clone of https://github.com/confluentinc/cp-all-in-one/blob/6.2.0-post/cp-all-in-one/docker-compose.yml, docker-compose up, and containers exit. Memory allocated: 8gb This goes beyond memory allocation - there is an issue with this docker compose config. |
I just started that file (after removing REST Proxy and Connect services and references to them), and I get a page saying there's a healthy cluster on http://localhost:9021 , no containers have exited after 5 minutes Mac: 11.5.2 update Adding back Connect and REST Proxy still works; no exited containers |
Thank you for the comment - taking a double look and will report back. |
The broker fails, triggering failure of the other images. Mac: 11.4 (and I updated to 11.5.2, it doesn't work) Steps:
|
I don't know what HTTP servlet Kafka (rather "Confluent Server") is trying to run, but I don't think that's related to the actual container crashing You should try the community one instead, which runs a less customized Kafka broker https://github.com/confluentinc/cp-all-in-one/blob/6.2.0-post/cp-all-in-one-community/docker-compose.yml |
ah thank you - this seems to have gotten the Kafka broker working, but the schema registry is failing.
this seems related to char errors I was seeing with the broker in my previous tests. maybe there is something going on here with the 6.x.x releases. |
localstack/localstack#4456 (comment) I see an issue with alpine linux JDK on M1 with an illegal charset - potential problem here could be afflicting confluent images |
Think you said you were running Last I checked, Confluent Platform is not supported on ARM based systems |
sorry about that - yeah I am running on m1. I will try specifying a platform |
ok - I see an issue thread open about support for ARM here confluentinc/common-docker#117 |
to those looking for a working M1 ARM broker+zookeeper+schema-registry, here is my docker-compose.yml
|
This is what worked for me in my M1 Chip:
|
Description
I followed the steps listed here (https://docs.confluent.io/platform/current/quickstart/ce-docker-quickstart.html#) to start up a local Kafka instance on Docker.
ksql-datagen
exits after a couple of minutes due to no connection to thebroker
Troubleshooting
I think this may be related to issues #53, #51, #25, #24, #12, and #10. I'm seeing the same behavior.
1.) I run
docker-compose up -d
and I can see all of the containers up and running.2.) http://locahost:9021 shows no response
2.) Then I run
docker-compose ps
and see thatksql-datagen
has exited.3.) Running
docker logs ksql-datagen
shows that it can't connect to the broker.Connection to node -1 (broker/192.168.224.3:29092) could not be established. Broker may not be available.
I have made no changes to the
docker-compose.yml
Environment
The text was updated successfully, but these errors were encountered: