Airbyte CE 2.x Helm Chart: ConnectorRollout Bean Initialization Failure with Temporal Cloud #69085
Unanswered
gregorycox
asked this question in
Deployment
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
[Bug] Airbyte CE 2.x Helm Chart: ConnectorRollout Bean Initialization Failure with Temporal Cloud
Description
When deploying Airbyte Community Edition 2.x (Helm chart v2.0.0) with Temporal Cloud integration, the application fails to start due to a
ConnectorRolloutApiControllerbean initialization error. This occurs despite:CONNECTOR_ROLLOUT_ENABLEDflag being set tofalseThe issue appears to be a fundamental incompatibility between Airbyte CE 2.x and Temporal Cloud, as the ConnectorRollout feature's beans attempt to initialize during application startup before runtime configuration can prevent them.
Environment
Expected Behavior
When
CONNECTOR_ROLLOUT_ENABLED=falseandconnectorRolloutWorker.enabled=false, the Airbyte server should:Actual Behavior
The application crashes during startup with:
Pod status:
Steps to Reproduce
1. Helm Values Configuration
2. Create Temporal Cloud Certificate Secret
Certificate format: PEM-encoded ECDSA P-384 certificate chain with root and client certificates.
3. Deploy Helm Chart
4. Observe Failure
Root Cause Analysis
1. Bean Initialization Timing
The
ConnectorRolloutApiControlleris a Micronaut bean that attempts to initialize during application startup, before any runtime configuration can be evaluated. The dependency chain is:2. Feature Flag Limitation
The
CONNECTOR_ROLLOUT_ENABLEDenvironment variable only controls whether the feature runs, not whether the bean is created. Bean creation happens during Micronaut's initialization phase, before the flag can be evaluated.3. Missing Conditional Bean Creation
The
ConnectorRolloutApiControllerbean lacks@Requiresannotations that would prevent its creation based on:4. Helm Chart Environment Variable Injection Gap
Finding: The Helm chart generates a ConfigMap (
airbyte-env) with Temporal Cloud configuration but doesn't automatically inject these as environment variables:However, the deployment spec doesn't reference these ConfigMap keys, requiring manual injection via
extraEnv.Verification
I verified all required environment variables are present in the pod:
Despite all configuration being correct, the application still fails at bean initialization.
Attempted Workarounds
✅ Workaround 1: Disable ConnectorRollout Worker
Result: Worker successfully disabled, but server pod still crashes.
✅ Workaround 2: Set Feature Flag
Result: Flag set correctly, but bean initialization occurs before flag evaluation.
✅ Workaround 3: Manual Environment Variable Injection
Result: All environment variables confirmed present, but initialization still fails.
Proposed Solutions
Solution 1: Add Conditional Bean Creation (Recommended)
Add
@Requiresannotation to prevent bean creation in Community Edition:This would prevent the bean from being created at all when the feature is not supported.
Solution 2: Fix Helm Chart Environment Variable Injection
Automatically inject Temporal Cloud configuration from ConfigMap to deployment spec:
Currently, users must manually inject these via
extraEnv.Solution 3: Document Temporal Cloud Support in CE
If Temporal Cloud is not intended to be supported in Community Edition, please:
Questions for Maintainers
Is Temporal Cloud intended to be supported in Community Edition 2.x?
Is ConnectorRollout feature Enterprise-only?
@Requiresfor conditional creationWhat is the recommended Temporal configuration for CE 2.x?
Impact
This issue prevents users from deploying Airbyte Community Edition 2.x with Temporal Cloud, requiring either:
Additional Context
Related Issues
Environment Variables Present at Startup
All required Temporal Cloud environment variables are confirmed present:
Full Error Stack Trace
The root cause is the
ConnectorRolloutTemporalWorkflowServiceFactory.createTemporalWorkflowServiceLazily()returning null, which suggests the Temporal CLI configuration expected by ConnectorRollout is incompatible with Temporal Cloud in CE.Chart Repository: https://github.com/airbytehq/helm-charts
Chart Version: 2.0.0
App Version: 1.6.0
Thank you for maintaining this project! Please let me know if you need any additional information or logs.
Beta Was this translation helpful? Give feedback.
All reactions