UNPKG

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.

34 lines (33 loc) 926 B
type OffsetFetchRequest = { groups: { groupId: string; topics: { name: string; partitionIndexes: number[]; }[]; }[]; requireStable: boolean; }; type OffsetFetchResponse = { throttleTimeMs: number; groups: { groupId: string; topics: { name: string; partitions: { partitionIndex: number; committedOffset: bigint; committedLeaderEpoch: number; committedMetadata: string | null; errorCode: number; tags: Record<number, Buffer>; }[]; tags: Record<number, Buffer>; }[]; errorCode: number; tags: Record<number, Buffer>; }[]; tags: Record<number, Buffer>; }; export declare const OFFSET_FETCH: import("../utils/api").Api<OffsetFetchRequest, OffsetFetchResponse>; export {};