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.
29 lines (28 loc) • 692 B
TypeScript
export declare const OFFSET_COMMIT: import("../utils/api").Api<{
groupId: string;
generationIdOrMemberEpoch: number;
memberId: string;
groupInstanceId: string | null;
topics: {
name: string;
partitions: {
partitionIndex: number;
committedOffset: bigint;
committedLeaderEpoch: number;
committedMetadata: string | null;
}[];
}[];
}, {
_tag: void;
throttleTimeMs: number;
topics: {
name: string | null;
partitions: {
partitionIndex: number;
errorCode: number;
_tag: void;
}[];
_tag: void;
}[];
_tag2: void;
}>;