kafka-ts
Version:
**KafkaTS** is a Apache Kafka client library for Node.js. It provides both a low-level API for communicating directly with the Apache Kafka cluster and high-level APIs for publishing and subscribing to Kafka topics.
25 lines (24 loc) • 605 B
TypeScript
export type Assignment = {
[topic: string]: number[];
};
export type MemberAssignment = {
memberId: string;
assignment: Assignment;
};
export declare const SYNC_GROUP: import("../utils/api").Api<{
groupId: string;
generationId: number;
memberId: string;
groupInstanceId: string | null;
protocolType: string | null;
protocolName: string | null;
assignments: MemberAssignment[];
}, {
_tag: void;
throttleTimeMs: number;
errorCode: number;
protocolType: string | null;
protocolName: string | null;
assignments: Assignment;
_tag2: void;
}>;