Updated on 2022-06-01 GMT+08:00

Typical Application Scenario

Scenario Description

Kafka is a distributed message system, in which messages can be publicized or subscribed. A Producer is to be developed to send a message to a topic of a Kafka cluster every second, and a Consumer is to be implemented to ensure that the topic is subscribed and that messages of the topic are consumed in real time.

Development Guidelines

  1. Use a Linux client to create a topic.
  2. Develop a Producer to produce data to the topic.
  3. Develop a Consumer to consume the data of the topic.