Managed Streaming Platforms (AWS Kinesis, Google Pub/Sub, Confluent Cloud, Redpanda)
Compare managed brokers and Kafka-compatible alternatives for ops burden vs control.
In plain words
Key order, ack, replay, and protocol. Next, shard/partition, bytes/s, and retention. Finally, lag, scaling, DR, egress, and support.
Think of it like…
Each managed service is a transport network with compatible-looking parcel labels; route order, truck count, receipts, and pricing depend on the specific carrier contract.
Where you’ve seen it
Kinesis uses shards and partition keys, Pub/Sub subscriptions and ack deadlines without Kafka offset API, Confluent supplies managed Kafka/Kafka Connect, and Redpanda exposes Kafka protocol with a different C++ broker/storage architecture.
Words you’ll hear
- Kinesis
- AWS's managed sharded data stream and consumer model for records, retention, and serverless/on-demand or provisioned throughput.
- Pub/Sub
- Google's topic/subscription messaging service with at-least-once delivery and acknowledgement semantics.
- Confluent
- A managed Kafka service with broker, schema, connectors, governance, and Kafka API operations.
- Operational boundary
- A Kafka client can connect to a compatible broker but still rely on unsupported ISR/transactions/config semantics, while cloud-native ordering, retention, partition/shard cost, and egress differ materially from Kafka assumptions. Benchmark protocol/API compatibility, ordering key limits, shard/partition scale, retention, serverless/provisioned cost, private networking, IAM, schema/support, and disaster recovery for the exact workload.
Visual diagram
Theory & deep dive
Kinesis: the working mechanism
Kinesis and Pub/Sub offer cloud-native managed streams; Confluent Cloud operates Kafka control/data planes; Redpanda offers Kafka-compatible broker behavior and storage/operations trade-offs.
Key order, ack, replay, and protocol. Shard/partition, bytes/s, and retention, then private endpoint, IAM, secrets, and schema; this exposes the state governed by Confluent.
Kinesis uses shards and partition keys, Pub/Sub subscriptions and ack deadlines without Kafka offset API, Confluent supplies managed Kafka/Kafka Connect, and Redpanda exposes Kafka protocol with a different C++ broker/storage architecture.
Managed Streaming Platforms: failure mode and production response
A Kafka client can connect to a compatible broker but still rely on unsupported ISR/transactions/config semantics, while cloud-native ordering, retention, partition/shard cost, and egress differ materially from Kafka assumptions.
Benchmark protocol/API compatibility, ordering key limits, shard/partition scale, retention, serverless/provisioned cost, private networking, IAM, schema/support, and disaster recovery for the exact workload. Track Ordering unit as "partition key/shard/order key, never global by default", and make Retention limit visible to the dataset owner.
How it works, step by step
Step 1 of 41. Map semantics
Key order, ack, replay, and protocol. Kinesis and Pub/Sub offer cloud-native managed streams; Confluent Cloud operates Kafka control/data planes; Redpanda offers Kafka-compatible broker behavior and storage/operations trade-offs.
- Ordering unit
- partition key/shard/order key, never global by default
- Pub/Sub
- Google's topic/subscription messaging service with at-least-once delivery and acknowledgement semantics.
When to use it & trade-offs
What it is
Kinesis and Pub/Sub offer cloud-native managed streams; Confluent Cloud operates Kafka control/data planes; Redpanda offers Kafka-compatible broker behavior and storage/operations trade-offs. Kinesis uses shards and partition keys, Pub/Sub subscriptions and ack deadlines without Kafka offset API, Confluent supplies managed Kafka/Kafka Connect, and Redpanda exposes Kafka protocol with a different C++ broker/storage architecture.
Why it matters: A Kafka client can connect to a compatible broker but still rely on unsupported ISR/transactions/config semantics, while cloud-native ordering, retention, partition/shard cost, and egress differ materially from Kafka assumptions. Benchmark protocol/API compatibility, ordering key limits, shard/partition scale, retention, serverless/provisioned cost, private networking, IAM, schema/support, and disaster recovery for the exact workload.
When to reach for it
- Compare managed brokers and Kafka-compatible alternatives for ops burden vs control.
- Choose Kinesis because it provides this capability: AWS's managed sharded data stream and consumer model for records, retention, and serverless/on-demand or provisioned throughput.
- Keep evidence for Ordering unit at "partition key/shard/order key, never global by default" so the last production stage-Operate/cost - lag, scaling, DR, egress, and support-remains testable.
When to avoid or be careful
- A Kafka client can connect to a compatible broker but still rely on unsupported ISR/transactions/config semantics, while cloud-native ordering, retention, partition/shard cost, and egress differ materially from Kafka assumptions.
- Do not conflate Pub/Sub with Kinesis. The second concept contributes different behavior: Google's topic/subscription messaging service with at-least-once delivery and acknowledgement semantics.
- Release only after this guardrail is in place: Benchmark protocol/API compatibility, ordering key limits, shard/partition scale, retention, serverless/provisioned cost, private networking, IAM, schema/support, and disaster recovery for the exact workload.
Kinesis / Pub/Sub / Confluent - roles, limits, and operating cost
Strengths: AWS's managed sharded data stream and consumer model for records, retention, and serverless/on-demand or provisioned throughput. Kinesis and Pub/Sub offer cloud-native managed streams.
Watch out: A Kafka client can connect to a compatible broker but still rely on unsupported ISR/transactions/config semantics, while cloud-native ordering, retention, partition/shard cost, and egress differ materially from Kafka assumptions.
Strengths: Google's topic/subscription messaging service with at-least-once delivery and acknowledgement semantics. In this workflow it supports: Secure/connect - private endpoint, IAM, secrets, and schema.
Watch out: The operating cost is real: replay horizon before records expire.
Strengths: A managed Kafka service with broker, schema, connectors, governance, and Kafka API operations. Its output can be checked with Egress/throughput price.
Watch out: Operating guardrail: Benchmark protocol/API compatibility, ordering key limits, shard/partition scale, retention, serverless/provisioned cost, private networking, IAM, schema/support, and disaster recovery for the exact workload.
Interview signals & numbers to know
When this topic comes up
- “Where is the failure boundary for Kinesis, and how would Ordering unit reveal it?”
- “Why is Pub/Sub distinct from this behavior: a managed Kafka service with broker, schema, connectors, governance, and Kafka API operations?”
- Production clue: A Kafka client can connect to a compatible broker but still rely on unsupported ISR/transactions/config semantics, while cloud-native ordering, retention, partition/shard cost, and egress differ materially from Kafka assumptions.
- Design probe: Benchmark protocol/API compatibility, ordering key limits, shard/partition scale, retention, serverless/provisioned cost, private networking, IAM, schema/support, and disaster recovery for the exact workload.
Benchmarks & rules of thumb
- Ordering unit
- partition key/shard/order key, never global by default
- Retention limit
- replay horizon before records expire
- Egress/throughput price
- cross-region/client/network cost alongside compute/stream units
Common mistakes & follow-ups
Common interview mistakes
- A Kafka client can connect to a compatible broker but still rely on unsupported ISR/transactions/config semantics, while cloud-native ordering, retention, partition/shard cost, and egress differ materially from Kafka assumptions.
- Reporting success from a job exit code without checking Ordering unit and Retention limit.
- Treating this example as complete without replay, rollback, or access boundaries: Kinesis uses shards and partition keys, Pub/Sub subscriptions and ack deadlines without Kafka offset API, Confluent supplies managed Kafka/Kafka Connect, and Redpanda exposes Kafka protocol with a different C++ broker/storage architecture.
Likely interviewer follow-ups
- How would you prove this contract instead of only checking that the command ran: AWS's managed sharded data stream and consumer model for records, retention, and serverless/on-demand or provisioned throughput.
- What does the recovery plan do when this occurs? A Kafka client can connect to a compatible broker but still rely on unsupported ISR/transactions/config semantics, while cloud-native ordering, retention, partition/shard cost, and egress differ materially from Kafka assumptions.
- When is Kinesis insufficient for Retention limit, and what does adding Pub/Sub cost in Ordering unit?
Knowledge check
Put it into practice
Practice related interview Q&A
Apply Managed Streaming Platforms (AWS Kinesis, Google Pub/Sub, Confluent Cloud, Redpanda) with data engineer interview Q&A and hands-on practice.