-
Notifications
You must be signed in to change notification settings - Fork 1
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
config changes to get kaldb working locally #1
Conversation
@@ -9,7 +9,7 @@ services: | |||
- ALLOW_ANONYMOUS_LOGIN=yes | |||
|
|||
kafka: | |||
image: 'bitnami/kafka:3.2.3' | |||
image: 'bitnami/kafka:latest' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo: pin working version
private static int getHowMany(JsonNode body) { | ||
return body.get("size").asInt(); | ||
} | ||
|
||
// This is required. consider returning a more useful error to the user than 500 | ||
// or setting a reasonable default (not sure what that would be) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably should return something like this instead of 500
{
"error": {
"code": 400,
"message": "Bad Request",
"details": "The 'query.gte' field is required but missing in the request."
}
}
@@ -85,14 +85,20 @@ private static String getQueryString(JsonNode body) { | |||
return queryString; | |||
} | |||
|
|||
// This is required. consider returning a more useful error to the user than 500 | |||
// or setting a reasonable default (default seems a good option here) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably should use whatever default size ES uses so it works like their docs
@@ -1,5 +1,7 @@ | |||
<component name="ProjectRunConfigurationManager"> | |||
<configuration default="false" name="KalDb Query Node" type="Application" factoryName="Application"> | |||
<option name="ALTERNATIVE_JRE_PATH" value="21" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The run config works for me without this. So, it may be an issue with your intelliJ setup.
closing this. separated out into different PRs and opened against the slackhq project |
…eout (#1…" (slackhq#1149) This reverts commit d2b61c0.
Summary
Describe the goal of this PR. Mention any related Issue numbers.
Requirements