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

Return 404 quickly when asking for a topic that doesn't exist. #208

Open
ralphbean opened this issue May 14, 2018 · 0 comments
Open

Return 404 quickly when asking for a topic that doesn't exist. #208

ralphbean opened this issue May 14, 2018 · 0 comments

Comments

@ralphbean
Copy link
Contributor

Sometimes, someone will query for a topic without a delta.. and that topic doesn't exist. Datagrepper does its best to look through the history at every message it has ever seen, but before it can respond with "no messages found" it times out.

We should do some kind of pre-flight check to see if the topic is even present so we can give people a timely 404.

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

No branches or pull requests

1 participant