kafka icon indicating copy to clipboard operation
kafka copied to clipboard

Fix quickstart script.

Open kasterma opened this issue 8 years ago • 1 comments

The quickstart script was failing for me for a variety of reasons. This version works for me. I'll be happy to incorporate suggestions and fixes.

kasterma avatar Nov 08 '16 13:11 kasterma

Thanks for the PR! Some thoughts I have after trying to get the quickstart script working:

  • Should we fail fast if minimesosFile is missing in the root directory? ** Accordingly, add a .gitignore for minimesosFile?
  • if there are other versions of kafka-mesos in /tmp the script will fail because it finds duplicates, should we clean old ones out before copying the current in?
  • Once I got everything working it seems like the initial broker add/update/start fails because the HTTP server isn't fully initialized (although it is listening on the correct port). Perhaps its better to run broker list until it returns back successfully? Or curl /api/broker/list until it returns a 200?
  • Should we name the launched kafka-mesos scheduler container, and run it with --rm to remove the container when it exits?

steveniemitz avatar Jan 25 '17 20:01 steveniemitz