Module Values.TopicPartitionInfoSource

Contains information about a topic partition.

Sourcetype nonrec t = {
  1. partition : int option;
    (*

    The partition ID.

    *)
  2. leader : int option;
    (*

    The leader broker ID for the partition.

    *)
  3. replicas : int list option;
    (*

    The list of replica broker IDs for the partition.

    *)
  4. isr : int list option;
    (*

    The list of in-sync replica broker IDs for the partition.

    *)
}
Sourceval make : ?partition:??? -> ?leader:??? -> ?replicas:??? -> ?isr:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of int | `List of [> `Integer of int ] list ]) 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