method EventLogAdapter.getCursor
EventLogAdapter.getCursor(
topic: string,
consumerGroup: string
): Promise<Cursor | null>

Get the last committed cursor for a consumer group.

Parameters

topic: string
consumerGroup: string

Return Type

Promise<Cursor | null>

Usage

import { type EventLogAdapter } from ".";