Step 1: The first step is to download the latest version of Kafka and extract it.
Step 2: Next, ensure that you have installed Java 8+ in your environment. To have an immediate ready-to-use Kafka environment, you need to successfully launch the Zookeeper Service and Kafka broker service.
Step 3: The third step is to create a ‘topic’ (similar to a folder) that will store all your ‘events’ (Events are the messages/records in the documentation.)
Step 4: You need to write and store ‘events’ in your topic. You can store these events in the topic for as long as you want.
Step 5: You can try reading the events you store in the topic as many times as you want.
Step 6: You can use Kafka Connect to transfer any existing data from external systems into Kafka and vice versa. This leads to easy integration of existing systems into Kafka.
Step 7: You can now use the Kafka Streams client library to process any stored events (data) within topics by implementing Java/Scala applications.
Step 8: Now that you have fully explored the Kafka environment, you can stop the services (Zookeeper and Kafka broker) and terminate the Kafka environment.