Specify fencing guarantees for polling and consumer offsets #4145
diegomrsantos
started this conversation in
Ideas
Replies: 2 comments
|
my take on the open questions, including the three from #4130:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
While investigating #4117 and implementing #4119, I documented how poll completions must be validated against the partition's current message history before they can update consumer progress or authorize a successful reply.
I would like to build on that work with a focused specification of Iggy's fencing guarantees, starting with polling and consumer offsets.
The initial document would describe:
Two cases I would like to clarify are manual commits derived from messages read before purge, and delayed requests across partition reassignment, including when a member later regains the same partition. These are questions about the intended contract. I have not established additional bugs in those paths.
#4119 would remain focused on the stale poll completion bug. #4128 separately tracks the durability of consumer offset cleanup during purge. Both provide useful examples of boundaries the specification should explain.
I propose documenting the current guarantees and intentional limitations first, then creating focused implementation issues for any agreed gaps. Existing consensus and session documentation could be referenced where relevant.
I would like to prepare the initial specification once we agree on scope. Is there an existing document this should extend, and would polling and consumer offsets be a useful starting point?
All reactions