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

Pull Queries: Piggyback lags on every pull query response #4472

Open
AlanConfluent opened this issue Feb 7, 2020 · 0 comments
Open

Pull Queries: Piggyback lags on every pull query response #4472

AlanConfluent opened this issue Feb 7, 2020 · 0 comments
Labels
enhancement query-engine Issues owned by the ksqlDB Query Engine team

Comments

@AlanConfluent
Copy link
Member

Is your feature request related to a problem? Please describe.
We only report lags on a periodic basis, which means that when servers start up, or if network disruptions occur, we don't have lags. Also, we only update lags ever Xms.

Describe the solution you'd like
If we're doing requests to a host anyway, we should piggyback lags on every pull query so that we have a very precise idea of the current value rather than wait until the next update.

Describe alternatives you've considered
Proactively fetching and caching the lags when unknown. This is likely an easier solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement query-engine Issues owned by the ksqlDB Query Engine team
Projects
None yet
Development

No branches or pull requests

4 participants