Saturday, 19 October 2019

Kafka tutorial

Introduction to Kafka

      Introduction to Kafka
      Topic and partitions
      Brokers
      Topic replication and partition leaders
      Producers
      Consumers and consumer groups
      Consumer offsets
      Why Kafka require zookeeper?
      Install and setup kafka in mac

Exploring Kafka CLI

      Create Kafka Topic
      Describe topic
      delete a topic
      Send message to a topic
      Add additional properties while sending messages to topic
      What is the default number of partitions for a topic?
      Receive messages from a topic
      Consume pre-exist messages from topic
      Add consumers to a group
      Exploring Kafka consumer groups cli
            Reset offsets (Re read the data)
      GKafka: Get consumer group status
      Get the version of kafka
      Kafka CLI: commands cheetsheet

Kafka Java Client

      Setup maven project in Eclipse
      Send messages to kafka topic
      Kafka producer call backs
      Synchronize the production of messages
      Produce message with keys
      Create a consumer: Consume messages from topic
      Read data from specific partition

Previous                                                    Next                                                    Home

No comments:

Post a Comment