> ## Documentation Index
> Fetch the complete documentation index at: https://sariva.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Confluent Platform package

> Community or Enterprise — a per-cluster decision you make in the deploy conversation. What each package gives you, what it requires, and how topics are managed on each.

> [!NOTE]
>
> Kubernetes/EKS only. On a VM, skip this page.

The package is chosen **per cluster, in the deploy conversation** — not in the wizard, and not as a platform default. When you DM `deploy <name>`, Sariva confirms the package (together with the tier and the name) before anything is emitted, so a Community POC and an Enterprise prod cluster can share one platform.

| | Community | Enterprise |
| - | - | - |
| Broker / controller image | `cp-kafka` | `cp-server` |
| License | None required | Optional at bring-up — 30-day evaluation with no license, or fully licensed with your key (see below) |
| Licensed features | Not available (no RBAC/MDS, audit logs, Tiered Storage, Cluster Linking) | Available |
| Topic management | Idempotent `kafka-topics` **Jobs**, emitted per topic (create-only) | **KafkaTopic custom resources**, reconciled and kept in sync by CFK |
| Cold restart from zero nodes | Safe | Safe **only with the static license wired** |

## How to choose

* **Community** — POCs, dev environments, and any deployment that doesn't need Enterprise-licensed features. No license to obtain, nothing to expire, and no cold-start risk.
* **Enterprise** — you need RBAC/MDS, audit logs, Tiered Storage, Self-Balancing, or Cluster Linking. The wizard asks one related question at setup time — platform-wide, independent of any single cluster: **do you have a Confluent Enterprise license key ready?**

| Your answer | What the manifests do | Result |
| - | - | - |
| **No / evaluating** | The Kafka CR carries **no license reference at all** | Confluent's built-in **30-day evaluation** — the cluster runs normally, expires in 30 days, and must **not be scaled to zero** during the trial |
| **Yes** | The Kafka CR references the license Secret | **Fully licensed**, no time limit — create the Secret with your real key **before applying** |

For the licensed path, the key goes in as a `license=<key>` line (Confluent validates the token strictly — placeholders and empty values always fail):

```bash theme={null}
echo -n "license=<your key>" > license.txt
kubectl create secret generic confluent-license \
  --from-file=license.txt=./license.txt \
  -n confluent
```

To upgrade a trial cluster later: create the Secret, add the license reference to the Kafka CR, and let CFK roll the brokers. Sariva never holds the license value.

⚠WARNING

**Never scale an Enterprise cluster to zero without a static license.** A populated Enterprise cluster cold-restarted with no license fallback will crash-loop at startup. Community clusters are unaffected. The scaffold's `cfk-operator/README.md` repeats this rule.

## Topics on each package

Every topic change arrives the same way — Sariva opens a pull request with one manifest per topic under `clusters/<name>/manifests/topics/`; your reconciler applies it. Only the manifest kind differs:

* **Enterprise** — a `KafkaTopic` custom resource. CFK reconciles it and keeps partitions/config in sync.
* **Community** — an idempotent Kubernetes Job running `kafka-topics --create --if-not-exists` over mTLS (create-only; the tool ships inside the `cp-kafka` image). You may equally manage Community topics with any Kafka Admin API tool such as kafka-gitops or topicctl.

## Switching packages later

Community → Enterprise is a defined migration, not just an image swap: the image and license change with a rolling restart (data and topics are preserved on the volumes), and topic management moves from Jobs to KafkaTopic CRs. Enterprise → Community is not supported — licensed features may be in use.

## Continue the deployment path

> [card] [Next: Permissions model](https://sariva.mintlify.site/prerequisites/cfk/permissions.md)
>
> Review the full RBAC/IAM surface Sariva needs before running the wizard.

> [card] [Back: AWS EKS + Confluent Platform (CFK)](https://sariva.mintlify.site/deploy/aws-eks-cfk.md)
>
> Return to the CFK path map.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.