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.

31 lines (30 loc) 831 B
type OffsetCommitRequest = { groupId: string; generationIdOrMemberEpoch: number; memberId: string; groupInstanceId: string | null; topics: { name: string; partitions: { partitionIndex: number; committedOffset: bigint; committedLeaderEpoch: number; committedMetadata: string | null; }[]; }[]; }; type OffsetCommitResponse = { throttleTimeMs: number; topics: { name: string; partitions: { partitionIndex: number; errorCode: number; tags: Record<number, Buffer>; }[]; tags: Record<number, Buffer>; }[]; tags: Record<number, Buffer>; }; export declare const OFFSET_COMMIT: import("../utils/api").Api<OffsetCommitRequest, OffsetCommitResponse>; export {};