Rework kafka_franz
batching and delivery mechanisms
#2745
Labels
bughancement
It's kind of a bug, but mostly an enhancement.
inputs
Any tasks or issues relating specifically to inputs
The configuration of the
kafka_franz
input losely resembles the currentkafka
one in that it has acheckpoint_limit
field as well as abatching
field. The batching mechanism is operated per topic-partition, as is the checkpointer. However, one thing we currently do not have parity with is that the checkpointing mechanism can't guarantee ordered processing downstream.This limitation is due to how message requests are made and distributed out to the batching and checkpointing mechanisms of the input component. In order to correct it we would need to refactor this mechanism which will likely also result in a change of behaviour.
We therefore should consider instead creating a new component, perhaps named the
redpanda
input, and then deprecated thekafka_franz
input (and the oldkafka
input), once we're confident with it. We should also consider whether we want to ditch the advance batching mechanisms that we currently support in favour of directly forwarding the maximum message count that we receive from each poll request as a config field.The text was updated successfully, but these errors were encountered: