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.
22 lines (21 loc) • 468 B
TypeScript
export declare const KEY_TYPE: {
GROUP: number;
TRANSACTION: number;
};
export declare const FIND_COORDINATOR: import("../utils/api").Api<{
keyType: number;
keys: string[];
}, {
_tag: void;
throttleTimeMs: number;
coordinators: {
key: string | null;
nodeId: number;
host: string;
port: number;
errorCode: number;
errorMessage: string | null;
_tag: void;
}[];
_tag2: void;
}>;