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
That request might make sense, but is not so easy to implement.
There is needed an extra logic in the KafkaListenerAnnotationBeanPostProcessor to build TopicPartitionOffset properly from that annotation.
Feel free to contribute the fix though!
Wzy19930507
added a commit
to Wzy19930507/spring-kafka
that referenced
this issue
Apr 10, 2024
* add adoc whats-new.adoc or listener-annotation.adoc.
* align `@PartitionOffset` to `TopicPartitionOffset`.
* add unit test for `@PartitionOffset.SeekPosition`.
* add unit for SpEL partitions to Integer[] and Integer.
* Fixes#3178
* add support for custom SeekPosition via `@PartitionOffset`
* align `@PartitionOffset` to `TopicPartitionOffset`
* add unit test for `@PartitionOffset.SeekPosition`
* add unit test for SpEL partitions to Integer[] and Integer
* address PR review.
Expected Behavior
@PartitionOffset Support SeekPosition.BEGINNING, SeekPosition.END, SeekPosition.TIMESTAMP
Context
When MessageListenerContainer init, seek consumer offsets by SeekPosition.
The text was updated successfully, but these errors were encountered: