Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Latest commit

 

History

History
18 lines (12 loc) · 409 Bytes

DEPLOY.md

File metadata and controls

18 lines (12 loc) · 409 Bytes

Deploy

Kafka

# Attach to kafka's container
docker exec -it ht2023_kafka-kafka-1 /bin/bash

# Create topics
kafka-topics.sh --create --topic notifications --bootstrap-server localhost:9092

# Check existing topics
kafka-topics.sh --list --bootstrap-server localhost:9092

# Get topic's messages
kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic notifications --from-beginning