When teams adopt managed Kafka, many of them get stuck choosing between AWS MSK and Confluent. The two run the same Kafka under the hood, but they differ significantly in operational responsibility, security features, ecosystem services, and billing model.
This article focuses on the differences that matter in day-to-day operations and on the points CCAAK tends to ask about (RBAC/ACL, connectivity, replication, auditing and governance), organized against stable official specs.
MSK is a managed Kafka broker service running inside your AWS VPC. Its strength is strong Kafka compatibility — existing Kafka tooling generally works as-is. However, peripheral stacks like Schema Registry and ksqlDB are not included and must be provided separately (self-managed or via another service).
Confluent ships Kafka together with Schema Registry, Kafka Connect, ksqlDB, RBAC, auditing, and cross-cluster replication (Cluster Linking and friends) as an integrated package. The Cloud edition is fully managed across multiple clouds; the Platform edition is self-managed.
| Aspect | AWS MSK | Confluent Cloud/Platform | CCAAK Exam Focus |
|---|---|---|---|
| Operational responsibility | AWS runs the brokers. Peripherals are mostly yours to run (MSK Connect is a separate offering). | Kafka plus peripherals (SR, Connect, ksqlDB, RBAC, audit) provided together. | Watch for Confluent-specific terminology and APIs around RBAC, audit logs, and organization-scope settings. |
| Identity | TLS / SCRAM / IAM (MSK IAM auth) + Kafka ACL. | API keys / OAuth / mTLS + RBAC + audit. | Distinguish ACL vs RBAC and the granularity of principal, resource, and action. |
| Connectivity / network | VPC-native. Private connectivity by default (optional public exposure). | Public endpoint by default. Private Link, peering, and TGW integration are available. | Understand DNS, certificates, and endpoint resolution under private connectivity. |
| Scaling | Tune broker count and storage (Serverless automates more of this). | Scale by cluster size / CKU or usage. Surrounding services scale together. | Understand partition and throughput limits and the impact of reassignment. |
| Replication | MirrorMaker 2 (self-operated or in containers, etc.). | Managed options like Cluster Linking and Replicator. | Difference between in-cluster replicas and cross-cluster replication. |
| Observability | CloudWatch metrics and logs. | Cloud / Control Center / Metrics API / audit logs. | Key indicators: latency, throughput, consumer lag, and reject rate. |
MSK (provisioned) requires you to explicitly manage broker count and EBS capacity. Scaling means planning rebalances and partition reassignments. Serverless abstracts part of the capacity planning, but Kafka-specific constraints like partition layout and throughput limits still need design attention.
Confluent Cloud scales by cluster size or usage, and Schema Registry, Connect, and ksqlDB scale alongside it on the same platform. Rolling upgrades and version coherence are absorbed by the provider, but client compatibility (producer/consumer APIs, linearization, compression settings) is the user's responsibility.
MSK supports TLS encryption, SASL/SCRAM, and AWS-specific IAM authentication (SASL/IAM). Authorization is handled with Kafka ACLs, granting resource permissions on topics, groups, etc. to principals (users/roles).
Confluent offers API keys, OAuth/OIDC, and mTLS, with authorization done through RBAC (resource owners/roles). Combined with audit logs and Stream Governance (schema compatibility/tagging), you can design organizational governance as a single piece.
Example Kafka client configurations (MSK IAM vs Confluent Cloud)
# MSK(SASL/IAM)クライアントプロパティ例
bootstrap.servers=b-1.msk.example.amazonaws.com:9098,b-2.msk.example.amazonaws.com:9098
security.protocol=SASL_SSL
sasl.mechanism=AWS_MSK_IAM
sasl.jaas.config=software.amazon.msk.auth.iam.IAMLoginModule required;
sasl.client.callback.handler.class=software.amazon.msk.auth.iam.IAMClientCallbackHandler
# Confluent Cloud(SASL/PLAIN)クライアントプロパティ例
bootstrap.servers=pkc-xxxxx.us-central1.gcp.confluent.cloud:9092
security.protocol=SASL_SSL
sasl.mechanism=PLAIN
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="<API_KEY>" password="<API_SECRET>";
client.dns.lookup=use_all_dns_ips
MSK on its own does not include Schema Registry or ksqlDB. If you need them, you deploy Confluent Schema Registry self-managed, or combine with another service. Connect is offered as a managed runtime under MSK Connect, but check available connectors, licensing, and operational features per vendor scope.
Confluent provides Schema Registry, managed Connect, and ksqlDB as one integrated package, letting you handle compatibility modes, schema evolution, connector version management, and stream-processing operations through unified UI/APIs.
MSK integrates with CloudWatch metrics and logs by default. Multi-AZ deployment is the default, and cross-region DR is built with MirrorMaker 2 or similar. Networking is VPC-internal, so private reachability design (routing, DNS, certificates) must be done carefully.
Confluent provides a Metrics API, UI, and audit logs (Cloud/Platform), with DR options including Cluster Linking. Networking exposes a public endpoint over the internet by default; you can isolate it with Private Link, peering, or TGW as needed.
Conceptual diagram: MSK (inside VPC) and Confluent Cloud (with Private Link)
For MSK (provisioned), the main cost components are brokers (instance type x count x hours), storage (GB/month), data transfer, and MSK Connect (if used). Serverless is mostly billed against usage (ingress/egress, partitions, storage, etc.). Exact unit prices vary by region and time, so always estimate from the official pricing page.
Confluent Cloud is determined by usage billing (GB ingress/egress, storage, partitions, etc.) plus plan/size (Basic / Standard / Dedicated, CKU, etc.). Factor in add-ons such as Schema Registry, ksqlDB, and Private Link as well.
CCAAK
問題 1
You require strict audit logging and role-based access control (RBAC), and you want Schema Registry and ksqlDB as fully managed services. Connectivity must be private, and cross-cluster replication should be easy to set up. Which choice is most appropriate?
正解: A
Only Confluent Cloud delivers RBAC, audit logs, Schema Registry, and ksqlDB as an integrated managed offering, with Private Link and Cluster Linking available. B increases operational responsibility, C struggles to meet the RBAC, ksqlDB, and audit requirements, and D falls outside the managed-service requirement.
Which is cheaper, MSK or Confluent Cloud?
It depends on the workload and requirements. MSK works well for sustained, high-throughput operation on a fixed broker fleet, but you pay extra to run the surrounding ecosystem yourself. Confluent Cloud is consumption-based and easier to start small with, and it bundles Schema Registry, Connect, ksqlDB, RBAC, and auditing into the managed offering. Compare total cost of ownership including data transfer (AZ, region, and internet).
Is MSK Serverless robust to traffic spikes?
Part of capacity planning is abstracted away, so it handles steady-state and moderate fluctuations well. However, Kafka-specific limits — per-partition throughput and latency, connection counts, and so on — still apply. For sharp spikes or very high throughput, plan partition layout carefully and verify quotas and limits in advance.
Can I use Confluent Schema Registry with MSK?
Yes. Schema Registry is a separate component from Kafka itself, so you can run it self-managed inside your VPC (or in a separate environment) as long as your clients can reach it. You are responsible for designing and operating compatibility modes, authentication, and availability (redundancy and scale).
Practice with certification-focused question sets
無料で問題を解いてみるNicheeLab Editorial Team
NicheeLab editorial team focused on data engineering and cloud certification learning. Content is structured around practical study needs and official exam domains.
Kafka Topics & Partitions: Distribution Fundamentals (2026)
How Kafka topics and partitions enable scale — ordering guar...
CCDAK Exam Guide: Confluent Certified Developer (2026)
Complete prep for the CCDAK exam — Producer/Consumer API, St...
CCAAK Exam Guide: Confluent Certified Administrator (2026)
Pass the CCAAK exam — cluster management, partitions, securi...
Kafka Replicas & ISR: Fault Tolerance Explained (2026)
Replica placement, in-sync replicas (ISR), leader election. ...
Kafka Offsets: Commit Modes & Consumer Position (2026)
Offset semantics — auto vs. manual commit, __consumer_offset...