Switching consumer proxy seeks to the end upon subscription/assignment when auto.offset.reset is set to latest

What is the current bug behavior?

When configuring an Axual consumer through the proxy library, this consumer will seek to the end when it gets assigned/subscribed to a new partition:

  • the auto.offset.reset is set to latest

regardless of any committed offset.

What is the expected correct behavior?

The consumer should seek to the end only when the DeliveryStrategy is set to AT_MOST_ONCE and it is getting assigned/subscribed to a new partition after a cluster switch.

Edited by Andrea Scarselli