dev-resources.site
for different kinds of informations.
Apache Kafka: Quickstart: Binary Deployment in Windows
Published at
9/23/2023
Categories
kafka
windows
installation
java
Author
sh3hz
Author
5 person written this
sh3hz
open
Introduction
Windows installation guide for https://kafka.apache.org/quickstart
Step 1: Downloading the Application
- Official download page - https://kafka.apache.org/downloads
- Choose the latest version: kafka_2.13-3.5.1.tgz (Current)
Step 2: Installation
- Extract the Downloaded file (.tgz) with any file archiver like 7zip
- After extracting you'll get a TAR File (.tar), Again extract the TAR file.
Step 3: Configuration
-
Update server.properties
- Create new Directory - C:\tmp\kafka-logs
- Update log.dirs=C:\tmp\kafka-logs
-
Update zookeeper.properties
- Create new Directory - C:\tmp\zookeeper
- Update _*dataDir*=C:\tmp\zookeeper_
Step 4: Running the Kafka Application
Kafka with ZooKeeper
- Start Zookeeper Server
.\bin\windows\zookeeper-server-start.bat config\zookeeper.properties
- Start Kafka Server
.\bin\windows\kafka-server-start.bat config\server.properties
Step 5: Create Topic
- Topic name: quickstart-events
.\bin\windows\kafka-topics.bat --create --topic quickstart-events --bootstrap-server localhost:9092
Step 6: Producer: Write some events to topic
.\bin\windows\kafka-console-producer.bat --topic quickstart-events --bootstrap-server localhost:9092
Step 7: Consumer: Read the events
.\bin\windows\kafka-console-consumer.bat --topic quickstart-events --from-beginning --bootstrap-server localhost:9092
Step 8: Stream messages
- Add a message in Producer console from Step 6
- Message is streamed to the Consumer console from Step 7
installation Article's
30 articles in total
How to Install MySQL on Ubuntu
read article
Granite Worktops
read article
Bathroom Worktops
read article
Kitchen Worktops
read article
EdgeDB bare metal Installation and Configuration Script
read article
Step by Step Guide: How to Install Grafana on Ubuntu 24.04
read article
Anyone tried installing Docker on Ubuntu 24.04 ?
read article
How to Install Ubuntu 24.04 on Proxmox VE
read article
How to Install WordPress on Ubuntu 24.04 with Nginx and MariaDB
read article
How to install Python in WindowsΒ 11?
read article
Why Window Replacement is Key for Efficiency and Security
read article
Anaconda Installation and Virtual Environments: A Comprehensive Guide for Windows, Linux, and macOS
read article
How to Install or Download MongoDB 7 on Windows 10/11 | Step by Step Guide for Localhost
read article
How to install Python on Windows
read article
PYTHON INSTALLATION (IDLE & COLLAB Execution Test)
read article
How to install Python Libraries in Visual Studio Code
read article
Top 10 React js interview questions.
read article
pfSense Quickstart
read article
Outdoor LED display installation requirements and precautions
read article
Important details that are easily overlooked during LED module installation
read article
Install Java 17 On Linux in 2 Ways: Step-By-Step Guide
read article
Day 2: Setting Sail with Docker - Your First Steps in Installation and Setup
read article
Creating a Home Theater Experience with Soundproof Curtains
read article
Fixing RabbitMQ Startup issues
read article
DIY vs. Professional Installation: WiFi Access Points Compared
read article
Install Docker on Ubuntu 18.04
read article
Apache Kafka: Quickstart: Binary Deployment in Windows
currently reading
Installing Laravel Passport - A Comprehensive Guide
read article
Running Apache AGE using docker
read article
How to fix sudo docker compose - compose is not a docker command
read article
Featured ones: