Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • negative number (-N): reading from the "log end offset - N" offset. Take some for example, -1 means reading the last committed message; -2 means reading the last 2 messages and so on.

Similar to `tail -n`, the consumer will seek to the earliest offset if an extremely small negative value is specified.

Compatibility, Deprecation, and Migration Plan

...