Эта страница переведена автоматически. Читать английский оригинал.

Recipe

kafka-msk

Apache Kafka on Amazon MSK (Managed Streaming for Apache Kafka), as one provisioned cluster in KRaft mode in the operator's VPC, through the terraform-aws-modules project's published module terraform-aws-modules/msk-kafka-cluster/aws at v3.3.0, Apache-2.0, fetched from its git repository at that tag and vendored; entity.lock pins the tag's commit and archive digest. The cluster runs one broker in each client subnet, the smallest cluster MSK runs, so infra.overrides.subnet_ids names two or three subnets in distinct Availability Zones and the cluster has two or three brokers. Clients reach the brokers inside the VPC with no authentication, on the plaintext listener, port 9092, under protocol kafka, beside MSK's TLS listener on 9094; with infra.client_tls true, on that TLS listener alone, under protocol kafka-ssl, whose certificate AWS issues and default trust stores trust. A certificate attached to server_certificate halts, and so does infra.overrides.host with client_tls: that certificate does not name it. bootstrap_servers publishes a reference to the brokers' whole list, host the first broker in it, port 9092, or 9094 with client_tls; infra.overrides.host publishes the operator's DNS name instead. Reach for it where Kafka is an MSK cluster in the operator's AWS account; reach for kafka or kafka-strimzi on helm where it runs in Kubernetes. infra.engine_version takes 3.8, 3.9, 4.0 or 4.1, the Component's default included. An infra.broker_port other than 9092 halts, and so do values.metrics_enabled, values.cluster_id, infra.controller_port, infra.compute and infra.control_plane_present away from the Component's defaults: MSK decides each of them itself or has no use for it.

Происхождение

ОфициальныйПодписано идентичностью подписи, которую этот каталог признаёт официальным издателем.
Дайджест содержимого
sha256:7a626e76daa3ab5bde1ef50a9b891cf89370751184b25610c55dd05ab6d87285
Опубликовано
2026-11-10T10:28:20Z
Идентичность подписи
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:9246a3399a62d31469cb7000e8836f38d00c6190f455c555003b7f3ec363c016

Ссылка на эту версию

oci://hub.aggrega.ai/recipe/terraform/kafka-msk:1.0.0
Цель
—
Реализует
core/messaging/kafka:1.0.0

Предоставляет

Детерминированные шаблоны указателей, которые этот рецепт связывает для потребителей.

ИмяШаблон
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${split(substr(module.{{ .context.instance_id }}.arn, 3, 1), module.{{ .context.instance_id }}.{{ .locals.bootstrap_output }})[0]}{{ end }}
port{{ if .infra.client_tls }}9094{{ else }}{{ .infra.broker_port }}{{ end }}
bootstrap_servers{{ if .locals.operator_host }}{{ .locals.operator_host }}:{{ .infra.broker_port }}{{ else }}${module.{{ .context.instance_id }}.{{ .locals.bootstrap_output }}}{{ end }}
protocol{{ if .infra.client_tls }}kafka-ssl{{ else }}kafka{{ end }}
metrics_pod_selector
metrics_pod_port
metrics_path

Workload

Шаблон рабочей нагрузки не объявлен.

Локальные значения

ИмяШаблон
kafka_version{{ regexFind `^[0-9]+\.[0-9]+` (toString .infra.engine_version) }}
instance_type{{ optional (optional .infra "overrides" dict) "instance_type" "kafka.t3.small" }}
operator_host{{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }}
bootstrap_output{{ if .infra.client_tls }}bootstrap_brokers_tls{{ else }}bootstrap_brokers_plaintext{{ end }}

Сопоставление values

Сопоставление values не объявлено.

Связи

Типизированные рёбра к другим опубликованным сущностям и от них. Ссылка без опубликованной цели отображается как разорванное ребро, а не как ссылка.

Использует

  • реализуетреализуетконтракт совместим

    core/messaging/kafka:1.0.0

    Все обязательные выходные значения обеспечены, и каждое предоставляемое выходное значение названо в контракте.

Используется в

Ничто в каталоге не зависит от этой сущности.

Справочник по понятию Recipe →

Каталог Aggrega — открытый указатель компонентов, функций, рецептов и плагинов, которые их рендерят.

Создано на общей дизайн-системе Aggrega.

Конфиденциальность