confluentinc / demo-scene

👾Scripts and samples to support Confluent Demos and Talks. ⚠️Might be rough around the edges ;-) 👉For automated tutorials and QA'd code, see https://github.com/confluentinc/examples/
https://developer.confluent.io
Apache License 2.0
1.5k stars 896 forks source link

Issue when trying to run demo on Mac #74

Closed groda closed 5 years ago

groda commented 5 years ago

I’m following https://github.com/confluentinc/demo-scene/blob/master/ksql-intro/demo_ksql-intro.adoc After running the setup, I get an error message at:

ksql> PRINT 'orders';
Could not find topic 'orders', or the KSQL user does not have permissions to list the topic.

I can run SHOW TOPICS; and indeed orders does not appear in the listing (there are only topics like _confluent* and one _schemas)

My OS: MacOS High Sierra

I’m available if you need any further information on how to reproduce the issue.

rmoff commented 5 years ago

@groda what's the output of docker-compose ps ?

groda commented 5 years ago
      Name                    Command                State                  Ports              
-----------------------------------------------------------------------------------------------
control-center     bash -c echo "Waiting two  ...   Up         0.0.0.0:9021->9021/tcp          
elasticsearch      /usr/local/bin/docker-entr ...   Up         0.0.0.0:9200->9200/tcp, 9300/tcp
kafka              /etc/confluent/docker/run        Exit 137                                   
kafka-connect-01   bash -c echo "Installing d ...   Up         0.0.0.0:8083->8083/tcp, 9092/tcp
kibana             /usr/local/bin/kibana-docker     Up         0.0.0.0:5601->5601/tcp          
ksql-cli           /bin/sh                          Up                                         
ksql-server        /etc/confluent/docker/run        Up         0.0.0.0:8088->8088/tcp          
schema-registry    /etc/confluent/docker/run        Up         0.0.0.0:8081->8081/tcp          
zookeeper          /etc/confluent/docker/run        Up         2181/tcp, 2888/tcp, 3888/tcp   
rmoff commented 5 years ago

If kafka is down then there's definitely problems.

How much memory have you allocated to Docker on your Mac? 8GB is recommended.

If you've already allocated 8GB then can you post the end of the output of docker-compose logs kafka to see why it exited.