osiris icon indicating copy to clipboard operation
osiris copied to clipboard

Allow streams to be created with a first offset other than 0

Open kjnilsson opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

This could be useful when needing to re-create a stream (for some reason) but still align to externally stored consume offsets.

https://groups.google.com/g/rabbitmq-users/c/GApahOXZOUU

Describe the solution you'd like

There is already code in osiris_log to specify an initial_offset. This is currently only used by new replicas but could be extended to be supported by the writer role also.

Describe alternatives you've considered

No response

Additional context

No response

kjnilsson avatar Jun 13 '23 08:06 kjnilsson