Recipe
kafka-strimzi
Apache Kafka realized as a Strimzi custom resource the Strimzi Cluster Operator reconciles, rather than a directly synthesized StatefulSet — the operator-driven realization of the same Kafka component, selectable in the Manifest alongside the synthesis recipe. The recipe emits a Kafka custom resource (and its node-pool) in the KRaft shape at the Strimzi `v1` API, authored against the Strimzi Cluster Operator's 1.3.0 release; the operator turns it into a running broker. The Strimzi Cluster Operator is a runtime prerequisite: the build halts unless the operator affirms it is installed (infra.control_plane_present), so no custom resource is emitted into a cluster that cannot reconcile it. Reach for this realization where the control plane is already in place and the cluster should own broker upgrades, rolling restarts and partition rebalancing; reach for the synthesis recipe where it is not. It runs Kafka 4.2.0 to 4.3.1, so the build halts on any other infra.engine_version, and on a values.cluster_id or infra.controller_port other than the default, which the operator decides itself. With values.metrics_enabled true the Kafka resource turns on the Strimzi metrics reporter on every node, which serves /metrics on port tcp-prometheus and checks no caller, and provides publishes the pod label, port name and path a scraper discovers the nodes by; false, those keys are empty and nothing else changes. With infra.client_tls true the client listener, named tls, serves TLS alone and protocol is kafka-ssl. A consumer trusts ca.crt of the Secret <instance>-cluster-ca-cert through server_ca; one in another namespace holds a copy of it there.
来源
- 内容摘要
- sha256:43c44a43cefdfba7fa62cd419363f4de41afb20c344a248b3c6305517b2c1ce4
- 发布时间
- 2026-11-10T10:24:21Z
- 签名身份
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
签名
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:8f0521189ad056717977525d9d0fb4b9f00f721d311e02fef8514d00f7ab5251
此版本的引用
oci://hub.aggrega.ai/recipe/helm/kafka-strimzi:1.0.0- 目标
- —
- 实现
- core/messaging/kafka:1.0.0
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| host | {{ .locals.bootstrap_host }} |
| port | {{ .infra.broker_port }} |
| bootstrap_servers | {{ .locals.bootstrap_host }}:{{ .infra.broker_port }} |
| protocol | {{ if .infra.client_tls }}kafka-ssl{{ else }}kafka{{ end }} |
| metrics_pod_selector | {{ if .values.metrics_enabled }}strimzi.io/cluster={{ .context.instance_id }},strimzi.io/name={{ .context.instance_id }}-kafka{{ end }} |
| metrics_pod_port | {{ if .values.metrics_enabled }}tcp-prometheus{{ end }} |
| metrics_path | {{ if .values.metrics_enabled }}/metrics{{ end }} |
Workload
未声明工作负载模板。
局部变量
| 名称 | 模板 |
|---|---|
| bootstrap_host | {{ .context.instance_id }}-kafka-bootstrap |
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/messaging/kafka:1.0.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。