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.
14 lines (13 loc) • 357 B
TypeScript
type HeartbeatRequest = {
groupId: string;
generationId: number;
memberId: string;
groupInstanceId: string | null;
};
type HeartbeatResponse = {
throttleTimeMs: number;
errorCode: number;
tags: Record<number, Buffer>;
};
export declare const HEARTBEAT: import("../utils/api").Api<HeartbeatRequest, HeartbeatResponse>;
export {};