Module Values_0.KafkaActionSource

Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.

Sourcetype nonrec t = {
  1. destinationArn : AwsArn.t;
    (*

    The ARN of Kafka action's VPC TopicRuleDestination.

    *)
  2. topic : String_.t;
    (*

    The Kafka topic for messages to be sent to the Kafka broker.

    *)
  3. key : String_.t option;
    (*

    The Kafka message key.

    *)
  4. partition : String_.t option;
    (*

    The Kafka message partition.

    *)
  5. clientProperties : ClientProperties.t;
    (*

    Properties of the Apache Kafka producer client.

    *)
  6. headers : KafkaHeaders.t option;
    (*

    The list of Kafka headers that you specify.

    *)
}
Sourceval context_ : string
Sourceval make : ?key:??? -> ?partition:??? -> ?headers:??? -> destinationArn:AwsArn.t -> topic:String_.t -> clientProperties:ClientProperties.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of KafkaHeaderKey.t ]) list ] list | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of AwsArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t