You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, zombie fencing is not supported for a batch listener because a batch can contain records from multiple partitions and zombie fencing requires a transactional.id based on the group/topic/partition.
Add an option to support zombie fencing by processing ConsumerRecords one partition at a time - i.e. pass a list of ConsumerRecord to the listener for each partition received, instead of a single list containing all records received.
A transaction will then span each partition and the proper transactional.id can be used for each sub batch.
FilteringBatchMessageListenerAdapter will need to create a new list if any records are filtered because we get an unmodifiable list.
The text was updated successfully, but these errors were encountered:
Currently, zombie fencing is not supported for a batch listener because a batch can contain records from multiple partitions and zombie fencing requires a
transactional.id
based on the group/topic/partition.Add an option to support zombie fencing by processing
ConsumerRecords
one partition at a time - i.e. pass a list ofConsumerRecord
to the listener for each partition received, instead of a single list containing all records received.A transaction will then span each partition and the proper
transactional.id
can be used for each sub batch.FilteringBatchMessageListenerAdapter
will need to create a new list if any records are filtered because we get an unmodifiable list.The text was updated successfully, but these errors were encountered: