This repository was archived by the owner on Oct 1, 2020. It is now read-only.
add demo documentation#64
Open
abacaphiliac wants to merge 1 commit intospotify:masterfrom
abacaphiliac:demo-doc
Open
add demo documentation#64abacaphiliac wants to merge 1 commit intospotify:masterfrom abacaphiliac:demo-doc
abacaphiliac wants to merge 1 commit intospotify:masterfrom
abacaphiliac:demo-doc
Conversation
…ka` as the `ADVERTISED_HOST`, creates a topic, starts a Producer in another container, and starts a Consumer in another container. Producer and Consumer will self-destruct when the user quits of the `exec` commands.
Author
|
thanks to @kpankonen for helping me understand how ADVERTISED_HOST affects other containers. |
|
I don't see why most people (anyone?) would bother with docker run -d --name kafka --hostname kafka gg77/kafka
docker exec -it kafka /bin/bash -c "echo 'get /brokers/ids/0' | ~kafka/kafka/bin/zookeeper-shell.sh localhost:2181" | grep endpoints
{"jmx_port":-1,"timestamp":"1484877403562","endpoints":["PLAINTEXT://kafka:9092"],"host":"kafka","version":3,"port":9092}What am I missing? |
Author
|
@gg7 thanks for the tip regarding deprecation. i wasn't aware. i'm new to Kafka and found this project to be the easiest to work with out of the small set i tried. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add demo documentation. user starts container named
kafkawithkafkaas theADVERTISED_HOST, creates a topic, starts a Producer in another container window, and starts a Consumer in another container window. Producer and Consumer will self-destruct when the user quits of theexeccommands.i thought i'd bring my findings back to this project, since i ran into the same n00b issues as some users here:
#49
copied from a gist i made this morning:
https://gist.github.com/abacaphiliac/f0553548f9c577214d16290c2e751071
no sweat if you think these docs don't belong in your project. thanks for making a very simple container to work with : )