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.
21 lines (20 loc) • 529 B
TypeScript
type DeleteTopicsRequest = {
topics: {
name: string;
topicId: string | null;
}[];
timeoutMs?: number;
};
type DeleteTopicsResponse = {
throttleTimeMs: number;
responses: {
name: string | null;
_topicId: string;
errorCode: number;
errorMessage: string | null;
tags: Record<number, Buffer>;
}[];
tags: Record<number, Buffer>;
};
export declare const DELETE_TOPICS: import("../utils/api").Api<DeleteTopicsRequest, DeleteTopicsResponse>;
export {};