MskParameters
¶
Source code in docs_src/capo_eventbridgev2/types/msk_parameters.py
acks
instance-attribute
¶
acks: NotRequired[MskAcks]
Producer acknowledgement mode. Defaults to ALL.
client_id
instance-attribute
¶
client_id: NotRequired[MskClientId]
Producer client.id passed to the Kafka broker. Identifies the producer in broker-side logs, metrics, and quota enforcement. A literal, not a JSONata expression: it is a connection-level setting resolved once when the producer is created, not per event. If you do not set it, EventBridge uses the subscriber ARN.
compression
instance-attribute
¶
compression: NotRequired[MskCompression]
Producer compression codec applied to the record batch. Defaults to NONE.
connectivity
instance-attribute
¶
connectivity: MskConnectivity
How the service connects to the cluster. A cluster can have public access and multi-VPC private connectivity turned on at the same time, so the subscriber names the one to use. That path must be turned on, with IAM access control, on the cluster.
headers
instance-attribute
¶
headers: NotRequired[MskHeaderList]
Kafka record headers attached to each produced record.
partition_key
instance-attribute
¶
partition_key: NotRequired[String]
Kafka record key. Accepts a literal or a JSONata expression (e.g. "{% $events.data.customerId %}") resolved once per delivered event; the resolved value selects the destination partition. If you omit it, the producer selects the partition; on an ordered (FIFO) subscriber, EventBridge instead uses the event group ID as the record key to preserve ordering.
topic_name
instance-attribute
¶
topic_name: MskTopicName
Name of the Kafka topic events are produced to. Accepts a literal or a JSONata expression resolved once per delivered event.