Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Kafka Consumer Lag asynchronous client to improve the experience for the users #30

Open
omarsmak opened this issue Apr 23, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@omarsmak
Copy link
Owner

The current KafkaConsumerLagClient runs in a sync way which is as result, the user as well as the component need to poll the data on fixed interval. Since the Admin Client returns all the data in Future<T> based, would make sense to utilize that. Even expose the API as Flux<T>/Mono<T> async APIs which makes it easier for the user to work with the async APIs.
In order to not break any existing functionality, it would make sense to add a new Client interface that is dedicated for async APIs e.g: KafkaConsumerLagAsyncClient and from the factory to create the client KafkaConsumerLagClientFactory.createAsync(props)

@omarsmak omarsmak added the enhancement New feature or request label Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant