Skip to content
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

Update tutorial #407

Open
7 tasks
sscaling opened this issue Sep 29, 2018 · 4 comments
Open
7 tasks

Update tutorial #407

sscaling opened this issue Sep 29, 2018 · 4 comments

Comments

@sscaling
Copy link
Collaborator

sscaling commented Sep 29, 2018

Here is a master ticket to track all the required tutorial updates, rather than having multiple tickets open tracking separate bits of information

To update

@LazerJesus
Copy link

LazerJesus commented Nov 29, 2018

Tipp:
This command throws 2 errors. --zookeeper is not recognized and --bootstrap-server is missing.
$ $KAFKA_HOME/bin/kafka-console-consumer.sh --topic=topic --zookeeper=$ZK

This line works for me:

    $KAFKA_HOME/bin/kafka-console-consumer.sh --bootstrap-server `broker-list.sh` --topic topic --from-beginning

@barrer
Copy link

barrer commented Dec 19, 2018

For security, do not mount the /var/run/docker.sock configuration file into the container.

#403 (comment)

https://www.lvh.io/posts/dont-expose-the-docker-socket-not-even-to-a-container.html

@sscaling
Copy link
Collaborator Author

Now that markdown -> site generation has been fixed by #454, these updates should be possible.

@dzmitry-kankalovich
Copy link

dzmitry-kankalovich commented Feb 9, 2019

Follow up on #110 for MacOS.

Until you explicitly add --net kafka-docker_default to the start-kafka-shell.sh script, the internal docker DNS resolution for host zookeeper won't work, so further examples about producer/consumer cannot be run.

The correct script should look like this:

#!/bin/bash
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock --net kafka-docker_default -e HOST_IP=$1 -e ZK=$2 -i -t wurstmeister/kafka /bin/bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants