-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Replace WorkerPlane with Micronaut environments #17286
Conversation
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.
Feels a lot cleaner.
@@ -163,7 +163,7 @@ public void onApplicationEvent(final ServiceReadyEvent event) { | |||
log.info("Starting worker factory..."); | |||
workerFactory.start(); | |||
|
|||
log.info("Application initialized (mode = {}).", workerPlane); | |||
log.info("Application initialized."); |
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.
Do we see the environment.getActiveNames
somewhere? Otherwise, I think it could be worth logging for debugging purpose.
@gosusnp @benmoriceau I realized that I also need to update the helm charts and Kube acceptance test charts. I will do that before merging. |
FYI, the infra team is working on removing the kube acceptance test charts: https://airbytehq-team.slack.com/archives/C02TXT37Y3Y/p1664298082438109. One less chart to update! |
@gosusnp @benmoriceau PR has been updated with the fixed charts. |
* Replace WorkerPlane with Micronaut environments * Set proper environment for airbyte-workers
* Replace WorkerPlane with Micronaut environments * Set proper environment for airbyte-workers
What
airbyte-workers
service with a Micronaut-based environment.How
WorkerPlane
enumerationRecommended reading order
WorkerMode.java
ApplicationBeanFactory.java
ApiClientBeanFactory.java
ApplicationInitializer.java
.env
Cloud will need to be updated after merge to ensure that it uses the proper environment string (changed from
control
->control-plane
)Tests