UNPKG

@rhoas/kafka-instance-sdk

Version:
57 lines (52 loc) 1.23 kB
/* tslint:disable */ /* eslint-disable */ /** * Kafka Instance API * API for interacting with Kafka Instance. Includes Produce, Consume and Admin APIs * * The version of the OpenAPI document: 0.14.1-SNAPSHOT * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { Node } from './node'; /** * Kafka topic partition * @export * @interface Partition */ export interface Partition { /** * The partition id, unique among partitions of the same topic * @type {number} * @memberof Partition */ 'partition': number; /** * List of replicas for the partition * @type {Array<Node>} * @memberof Partition */ 'replicas'?: Array<Node>; /** * List in-sync replicas for this partition. * @type {Array<Node>} * @memberof Partition */ 'isr'?: Array<Node>; /** * * @type {Node} * @memberof Partition */ 'leader'?: Node; /** * Unique id for the partition (deprecated, use `partition` instead) * @type {number} * @memberof Partition * @deprecated */ 'id'?: number; }