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.

32 lines (31 loc) 847 B
import { IsolationLevel } from './fetch'; type ListOffsetsRequest = { replicaId: number; isolationLevel: IsolationLevel; topics: { name: string; partitions: { partitionIndex: number; currentLeaderEpoch: number; timestamp: bigint; }[]; }[]; }; type ListOffsetsResponse = { throttleTimeMs: number; topics: { name: string; partitions: { partitionIndex: number; errorCode: number; timestamp: bigint; offset: bigint; leaderEpoch: number; tags: Record<number, Buffer>; }[]; tags: Record<number, Buffer>; }[]; tags: Record<number, Buffer>; }; export declare const LIST_OFFSETS: import("../utils/api").Api<ListOffsetsRequest, ListOffsetsResponse>; export {};