Kafka को मूल अवधारणाहरु topics (घटनाहरुको वर्ग), partitions (topics भित्र समानान्तरताको इकाई), brokers (सर्भरहरु), producers (लेख्न), र consumers (पढ्न) समावेश गर्दछन्। यी अवधारणाहरु बुझ्न Kafka सँग काम गर्न आवश्यक छ।
मूल अवधारणाहरु
TOPIC → a named category/stream of events (like a "channel" — e.g. "orders", "clicks")
→ producers write to topics; consumers read from them
PARTITION → a topic is split into PARTITIONS (ordered, append-only logs):
→ the unit of PARALLELISM and scaling; events distributed across partitions
→ order is guaranteed WITHIN a partition (not across partitions)
BROKER → a Kafka SERVER (stores data, serves clients); a CLUSTER = multiple brokers
PRODUCER → writes (publishes) events to topics
CONSUMER → reads (subscribes to) events from topics
