Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Apache Kafka Work Flow

Sumit Rawal answered on June 25, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • kafka confluent download
  • APACHE KAFKA
  • Kafka Brokers - Kafka Cluster
  • Work with Apache Kafka in Spring Boot Application
  • How Kafka works?
  • Kafka Message index
  • Why is Apache Kafka preferred over traditional messaging techniques?
  • Why Should we use Apache Kafka Cluster?
  • Explain Apache Kafka Use Cases?
  • What is Importance of Java in Apache Kafka?
  • apache kafka benefits and use cases
  • kafka and spring boot configuration
  • Apache Kafka Cluster Architecture: Zookeeper
  • What are topics in Apache Kafka?
  • What is a broker in Apache Kafka?
  • Writing to Kafka
  • when to go for kafka
  • Apache Kafka - Fundamentals
  • kafka basics

  • Apache Kafka Work Flow

    0

    Following is the step wise workflow of the Pub-Sub Messaging −• Producers send message to a topic at regular intervals.• Kafka broker stores all messages in the partitions configured for that particular topic. It ensures the messagesare equally shared between partitions. If the producer sends two messages and there are two partitions, Kafkawill store one message in the first partition and the second message in the second partition.• Consumer subscribes to a specific topic.• Once the consumer subscribes to a topic, Kafka will provide the current offset of the topic to the consumer andalso saves the offset in the Zookeeper.• Consumer will request the Kafka in a regular interval (like 100 Ms) for new messages.• Once Kafka receives the messages from producers, it forwards these messages to the consumers.• Consumer will receive the message and process it.• Once the messages are processed, consumer will send an acknowledgement to the Kafka broker.• Once Kafka receives an acknowledgement, it changes the offset to the new value and updates it in theZookeeper. Since offsets are maintained in the Zookeeper.• This above flow will repeat until the consumer stops the request.• Consumer has the option to rewind/skip to the desired offset of a topic at any time and read all the subsequentmessages 

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jun 25 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.