interface EventAdapter

An adapter is an observer on an event stream.

It only operates on hot event data, and will never attempt to replay everything

Properties

consumerGroup

Signature
consumerGroup: string;

errorHandler

Signature
errorHandler?: (adapter: EventAdapter, event: EventicleEvent, error: Error) => Promise<void>;

handleEvent

Signature
handleEvent: (event: EventicleEvent) => Promise<void>;

name

Signature
name: string;

streamsToSubscribe

Signature
streamsToSubscribe: string[];