Kafka - Basics and Event StreamingWhich of the following is the correct way to describe Redis Pub/Sub behavior?AIt stores messages for later deliveryBIt guarantees message delivery even if subscriber is offlineCIt delivers messages only to currently connected subscribersDIt supports message persistence and replayCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand Redis Pub/Sub deliveryRedis Pub/Sub delivers messages only to subscribers connected at the time of publishing.Step 2: Contrast with message persistenceRedis Pub/Sub does not store or persist messages for offline subscribers.Final Answer:It delivers messages only to currently connected subscribers -> Option CQuick Check:Redis Pub/Sub delivers live only = A [OK]Quick Trick: Redis Pub/Sub sends messages live, no storage [OK]Common Mistakes:Thinking Redis stores messagesAssuming offline deliveryConfusing 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