-
Notifications
You must be signed in to change notification settings - Fork 0
Migrate from Play to Vert.x for Hub backend service #118
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
Changes from 14 commits
36abbba
5a69ee9
577494d
4392aa7
3fe1cdb
da1f409
73df296
8309aad
7c7647e
f684e09
2f50469
6866a8b
b02d589
0c58f35
a247f7c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,12 +41,19 @@ services: | |
- SPARK_SSL_ENABLED=no | ||
- SPARK_USER=spark | ||
|
||
statsd: | ||
image: node:latest | ||
ports: | ||
- "8125:8125/udp" | ||
command: sh -c "npm install -g statsd-logger && statsd-logger > /dev/null 2>&1" | ||
Comment on lines
+44
to
+48
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Improve the statsd service configuration for better stability and observability. Several improvements can be made to the statsd service configuration: statsd:
- image: node:latest
+ image: node:20.11.0 # or another specific version
ports:
- "8125:8125/udp"
- command: sh -c "npm install -g statsd-logger && statsd-logger > /dev/null 2>&1"
+ command: statsd-logger Consider:
|
||
|
||
app: | ||
build: | ||
context: .. | ||
dockerfile: docker-init/Dockerfile | ||
depends_on: | ||
- dynamo | ||
- statsd | ||
environment: | ||
- DYNAMO_ENDPOINT=http://dynamo:8000 | ||
- AWS_DEFAULT_REGION=us-west-2 | ||
|
@@ -57,6 +64,7 @@ services: | |
- SPARK_JAR=/app/cli/spark.jar | ||
- CLOUD_AWS_JAR=/app/cli/cloud_aws.jar | ||
- ONLINE_CLASS=ai.chronon.integrations.aws.AwsApiImpl | ||
- STATSD_HOST=statsd | ||
ports: | ||
- "9000:9000" | ||
healthcheck: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"online.jar": "/app/cli/cloud_aws.jar", | ||
"online.class": "ai.chronon.integrations.aws.AwsApiImpl", | ||
"online.api.props": {} | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
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.
🛠️ Refactor suggestion
Use Stable Version for
json4s-core
DependencyThe dependency
"org.json4s" %% "json4s-core" % "3.7.0-M11"
is a milestone release. Milestone versions may not be stable and can introduce unexpected issues. It's recommended to use the latest stable release ofjson4s-core
to ensure reliability.Update the dependency to the latest stable version. For example:
Please verify the compatibility with your project.
📝 Committable suggestion