Variant

offset-spec

Which end of a partition list-offsets should report.

variant offset-spec {
  earliest,
  latest,
  for-timestamp(timestamp-ms),
  max-timestamp,
}

Cases

CasePayloadDescription
earliest—

Earliest retained offset.

latest—

Next offset to be produced.

for-timestamptimestamp-ms

Earliest offset whose timestamp is at or after this value.

max-timestamp—

Latest offset readable under read_committed.