UNPKG

zamza

Version:

Apache Kafka discovery, indexing, searches, storage, hooks and HTTP gateway

30 lines 1.06 kB
import Zamza from "./Zamza"; import MirrorConsumer from "./kafka/MirrorConsumer"; import { Replay } from "./interfaces"; export declare class ReplayHandler { private readonly zamza; private readonly instanceId; private readonly replayModel; private readonly replayProducer; private readonly metrics; mirrorConsumer: MirrorConsumer | null; currentTargetTopic: string | null; currentConsumerGroup: string | null; constructor(zamza: Zamza); private createConsumerGroupId; private messageHandle; isCurrentlyRunning(): boolean; dealsWithTopic(topic: string): boolean; getCurrentReplay(): Promise<{ instanceId: string; replay: Replay; }>; isBeingReplayedByAnyInstance(topic: string): Promise<boolean>; flushall(): Promise<boolean>; flushone(): Promise<boolean>; listReplays(): Promise<Replay[]>; startReplay(topic: string, consumerGroup?: string): Promise<Replay>; stopReplay(): Promise<boolean>; close(): Promise<void>; } //# sourceMappingURL=ReplayHandler.d.ts.map