Kafka - Basics and Event StreamingA developer tries to use Redis Pub/Sub to guarantee message delivery to offline clients. What is the main issue?ARedis Pub/Sub stores messages for offline clientsBRedis Pub/Sub automatically retries deliveryCRedis Pub/Sub queues messages for offline clientsDRedis Pub/Sub does not support message persistenceCheck Answer
Step-by-Step SolutionSolution:Step 1: Analyze Redis Pub/Sub delivery modelRedis Pub/Sub delivers messages only to connected clients, no persistence.Step 2: Identify problem with offline clientsOffline clients miss messages because Redis Pub/Sub does not store or queue messages.Final Answer:Redis Pub/Sub does not support message persistence -> Option DQuick Check:Redis Pub/Sub lacks persistence = B [OK]Quick Trick: Redis Pub/Sub has no message persistence [OK]Common Mistakes:Assuming Redis queues messagesThinking offline delivery is supportedConfusing with Redis Streams
Master "Basics and Event Streaming" in Kafka9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kafka Quizzes Consumer Groups - Consumer group concept - Quiz 10hard Kafka Basics and Event Streaming - First message (produce and consume) - Quiz 8hard Kafka Cluster Architecture - ZooKeeper role (and KRaft replacement) - Quiz 8hard Kafka Cluster Architecture - ZooKeeper role (and KRaft replacement) - Quiz 3easy Kafka Cluster Architecture - Leader election - Quiz 6medium Producers - Serialization (String, JSON, Avro) - Quiz 8hard Producers - Batching and linger configuration - Quiz 11easy Topics and Partitions - Retention policies (time-based, size-based) - Quiz 11easy Topics and Partitions - Topic creation - Quiz 14medium Topics and Partitions - Retention policies (time-based, size-based) - Quiz 9hard