Type alias WikimediaStreamLastEventID

WikimediaStreamLastEventID: {
    offset?: number;
    partition: number;
    timestamp?: number;
    topic: string;
}

Type declaration

  • Optional offset?: number

    The event offset to begin enumerating from.

    KafkaSSE will always provide either a timestamp or an offset.

  • partition: number

    The Kafka partition of the stream.

  • Optional timestamp?: number

    The timestamp to begin enumerating from. This should be a JavaScript-like timestamp (millisecond-based).

    KafkaSSE will always provide either a timestamp or an offset.

  • topic: string

    The Kafka topic of the stream. This usually includes the datacenter and the stream topic (e.g. eqiad.mediawiki.recentchange).

Generated using TypeDoc