Kafka Cheat Sheet Pdf
1 if exists 0 if not commands generic commands for all types.
Kafka cheat sheet pdf. This cheat sheet is designed for you if you have already started learning ansible but needs a quick and handy reference to recall what you have learned. Download a printable pdf of this cheat sheet. Usage examples links snippets and more. Redis cheatsheet v1 0 starting the server cd redis.
Bin kafka console producer sh broker list localhost 9092 topic test topic file log listing. Embed embed this gist in your website. The one page guide to docker cli. Last active aug 7 2020.
Clone via https. Share copy sharable link for this gist. Download the refcard today for a deep dive into apache kafka including a review of the components quick start guides for apache kafka and apache connect and example code for setting up kafka. Messages should be one per line.
List all images that are locally stored with the docker engine docker image ls delete an image from the local image store docker image rm alpine 3 4 share run run a container from the alpine version 3 9. What would you like to do. Display topic information kafka topics sh describe zookeeper localhost 2181 topic beacon topic beacon partitioncount 6 replicationfactor 1 configs. Bin kafka topics sh create zookeeper localhost 2181 replication factor 1 partitions 3 topic test topic list topics bin kafka topics sh list zookeeper localhost 2181 push a file of messages to kafka.
Docker cheat sheet build build an image from the dockerfile in the current directory and tag the image docker build t myimage 1 0. From pyspark import sparkcontext sc sparkcontext master. Redis server running the client redis cli command exists key test if specified key exists.