xavier-brochard / pluralsight-getting-started-with-apache-kafka

Following the Pluralsight course "Getting Started with Apache Kafka" by Ryan Plant.

Home Page:https://app.pluralsight.com/library/courses/apache-kafka-getting-started/table-of-contents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitpod ready-to-code

Getting started with Apache Kafka

Following the Pluralsight course Getting Started with Apache Kafka by Ryan Plant.

Starting Zookeeper

/path/to/kafka/bin/zookeeper-server-start /path/to/kafka/libexec/config/zookeeper.properties

Checking Zookeeper

telnet localhost 2181
srvr

Starting a Kafka broker

/path/to/kafka/bin/kafka-server-start /path/to/kafka/libexec/config/server.properties

Creating a Topic

/path/to/kafka/bin/kafka-topics --create --topic my_topic --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1

Starting a Producer

/path/to/kafka/bin/kafka-console-producer --broker-list localhost:9092 --topic my_topic

Starting a Consumer

/path/to/kafka/bin/kafka-console-consumer --bootstrap-server localhost:9092 --topic my_topic --from-beginning

Viewing a Topic State

/path/to/kafka/bin/kafka-topics --describe --topic my_topic --zookeeper localhost:2181

Open in Gitpod

About

Following the Pluralsight course "Getting Started with Apache Kafka" by Ryan Plant.

https://app.pluralsight.com/library/courses/apache-kafka-getting-started/table-of-contents

License:MIT License


Languages

Language:Java 93.3%Language:Dockerfile 6.7%