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.
Nguồn gốc
- Digest nội dung
- sha256:43c44a43cefdfba7fa62cd419363f4de41afb20c344a248b3c6305517b2c1ce4
- Đã xuất bản
- 2026-11-10T10:24:21Z
- Danh tính ký
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Chữ ký
- Chính thứcapplication/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
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/helm/kafka-strimzi:1.0.0- Đích
- —
- Triển khai
- core/messaging/kafka:1.0.0
Cung cấp
Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.
| Tên | Mẫu |
|---|---|
| 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
Chưa khai báo mẫu khối lượng công việc nào.
Giá trị cục bộ
| Tên | Mẫu |
|---|---|
| bootstrap_host | {{ .context.instance_id }}-kafka-bootstrap |
Ánh xạ values
Chưa khai báo ánh xạ values nào.
Quan hệ
Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.
Sử dụng
- triển khaitriển khaihợp đồng tương thích
core/messaging/kafka:1.0.0
Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.