[FEATURE REQ] Provide a convenient method in EventProcessorClientBuilder to configure initialPartitionEventPosition for all partitions #26432
Labels
Client
This issue points to a problem in the data-plane of the library.
Event Hubs
feature-request
This issue requires a new behavior in the product in order be resolved.
Milestone
Is your feature request related to a problem? Please describe.
The EventProcessorClientBuilder provides a
initialPartitionEventPosition
to configure the initial event position for each partition. But there're cases when users simply want to start fromearliest
orlatest
for each partition. In such cases, they have to duplicate this configuration for the number of partitions times. And if users are configuring these positions from a Spring Boot property file, they have to write such properties multiple times. In Spring Cloud Stream, we can provide a convenient way for users to specifyearliest
orlatest
for all partitions, but we need to find the number of partitions an event hub has before passing it to the builder.Describe the solution you'd like
The EventProcessorClientBuilder provides such a convenient method to configure the initial event position for all partitions.
Describe alternatives you've considered
N/A
Additional context
N/A
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: