Interface FetchablePartitionResponse

interface FetchablePartitionResponse {
    aborted?: ArrayBuffer;
    errorCode: ErrorCode;
    highWatermark: number;
    lastStableOffset: number;
    logStartOffset: number;
    partitionIndex: number;
    records: RecordSet;
    toRecords(): string[];
}

Properties

aborted?: ArrayBuffer
errorCode: ErrorCode
highWatermark: number
lastStableOffset: number
logStartOffset: number
partitionIndex: number
records: RecordSet

Methods

  • let response = await this.fluvioConsumer.fetch(Offset.FromStart())
    response.toRecords().forEach(msg => {
    console.log(msg)
    })

    Returns string[]