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

Inconsistency in auto.offset.reset default between /query and /query-stream #5586

Closed
vcrfxia opened this issue Jun 9, 2020 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@vcrfxia
Copy link
Contributor

vcrfxia commented Jun 9, 2020

The /query endpoint defaults to auto.offset.reset=latest, while the /query-stream endpoint defaults to auto.offset.reset=earliest. This is confusing because the ksqlDB CLI sends queries to the /query endpoint, while the Java client sends queries to the /query-stream endpoint, so the behavior is inconsistent.

We should update the /query-endpoint to default to auto.offset.reset=latest to be consistent with existing behavior for the ksqlDB CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants