Module Values_0.BatchConfigSource

Configuration settings for batching.

Sourcetype nonrec t = {
  1. maxBatchOpenMs : MaxBatchOpenMs.t option;
    (*

    The maximum amount of time (in milliseconds) that an outgoing call waits for other calls with which it batches messages of the same type. The higher the setting, the longer the latency of the batched HTTP Action will be.

    *)
  2. maxBatchSize : MaxBatchSize.t option;
    (*

    The maximum number of messages that are batched together in a single action execution.

    *)
  3. maxBatchSizeBytes : MaxBatchSizeBytes.t option;
    (*

    Maximum size of a message batch, in bytes.

    *)
  4. batchAcrossTopics : BatchAcrossTopics.t option;
    (*

    Whether to allow batching messages from different MQTT topics into a single HTTP request. By default, only messages from the same topic are batched together. The default value is false.

    *)
}
Sourceval make : ?maxBatchOpenMs:??? -> ?maxBatchSize:??? -> ?maxBatchSizeBytes:??? -> ?batchAcrossTopics:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BatchAcrossTopics.t | `Integer of MaxBatchOpenMs.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