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.
22 lines (21 loc) • 555 B
TypeScript
type LeaveGroupRequest = {
groupId: string;
members: {
memberId: string;
groupInstanceId: string | null;
reason: string | null;
}[];
};
type LeaveGroupResponse = {
throttleTimeMs: number;
errorCode: number;
members: {
memberId: string;
groupInstanceId: string | null;
errorCode: number;
tags: Record<number, Buffer>;
}[];
tags: Record<number, Buffer>;
};
export declare const LEAVE_GROUP: import("../utils/api").Api<LeaveGroupRequest, LeaveGroupResponse>;
export {};