Kafka on Docker on Photon with AppCatalyst
so, something to note with AppCatalyst; the Photon VMs are very small (memory-wise). as such, spooling up some containers, like spotify/kafka, won't start. so here's a simple one;
sudo docker run -d --name other_kafka -p 2181:2181 -p 9092:9092 --env ADVERTISED_HOST=localhost --env ADVERTISED_PORT=9092 --env KAFKA_HEAP_OPTS="-Xmx256M -Xms128M" spotify/kafka
the memory settings help get it off the ground on appcatalyst-photon.
(which kind of goes against the 12 factor grain of "close-to-production" as possible given the docker script is altered to fit the VM...)