[SILO-1525] feat(kustomize): add integration event stream env vars + integration-event-consumer component - #52
Draft
Saurabhkmr98 wants to merge 1 commit into
Draft
Conversation
…integration-event-consumer component Adds the new integration-event-stream env vars to the shared app-vars and silo-vars base ConfigMaps, and a new integration-event-consumer kustomize component (Deployment + HPA + ConfigMap) mirroring the existing agent-consumer component. Wires the component into the default, managed, and phoenix overlays alongside webhook-consumer/agent-consumer. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Linked to Plane Work Item(s) This comment was auto-generated by Plane |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the
integration-event-streamfeature's env vars to the shared kustomize base ConfigMaps, and a newintegration-event-consumercomponent.kustomize/base/configs/app-configmap.yaml: addsINTEGRATION_EVENT_STREAM_EXCHANGE_NAME,INTEGRATION_EVENT_CONSUMER_QUEUE_NAME,INTEGRATION_EVENT_CONSUMER_PREFETCH,INTEGRATION_EVENT_MAX_RAW_BYTES,INTEGRATION_EVENT_PUBLISH_TIMEOUT,INTEGRATION_EVENT_PUBLISH_MAX_RETRIES,INTEGRATION_EVENT_PUBLISH_RETRY_DELAY,INTEGRATION_EVENT_REPUBLISH_BATCH_SIZE,INTEGRATION_EVENT_REPUBLISH_MAX_ATTEMPTS,INTEGRATION_EVENT_REPUBLISH_GRACE_SECONDS,INTEGRATION_EVENT_CLEANER_BATCH_SIZE,INTEGRATION_EVENT_CLEANER_CUTOFF_DAYS,INTEGRATION_EVENT_COLLECTION_NAMEtoplane-app-vars(picked up by api/worker/beat-worker via their existingenvFrom).kustomize/base/configs/silo-configmap.yaml: addsINTEGRATION_EVENT_INGEST_ENABLED,INTEGRATION_EVENT_PROVIDERS,INTEGRATION_EVENT_INGEST_TIMEOUT_MS.kustomize/components/integration-event-consumer/(deployment.yaml+ HPA,configmap.yaml,kustomization.yaml) — reuses the backend image, runs./bin/docker-entrypoint-integration-event-consumer.sh, mirroring the existingagent-consumercomponent exactly.../../components/integration-event-consumerintooverlays/default,overlays/managed, andoverlays/phoenix, right next to the existingwebhook-consumer/agent-consumercomponent entries (all three already ship those consumers active, so this one is added active too, not commented-out/optional).Why
plane-ee's new Integration Event Stream feature (normalized provider-webhook events on a durable RabbitMQ exchange) ships with its own env vars and a reference consumer container (
run_integration_event_consumer) that these manifests didn't yet expose.Scope / behavior
INTEGRATION_EVENT_*vars land onplane-app-vars/plane-silo-varsunconditionally, but the app code already defaults to the same values when unset, so api/worker/beat-worker/silo behavior doesn't change beyond gaining these keys.INTEGRATION_EVENT_INGEST_ENABLEDdefaults to"0"— Silo ingest stays off until explicitly enabled.default/managed/phoenix(consistent with howwebhook-consumer/agent-consumerare already always-on in those overlays), running one replica that just idles on an empty queue until the exchange has traffic.Testing
kubectl kustomize overlays/{default,managed,phoenix}— all three build successfully with the new component included (materialized each overlay'svars.yaml/secrets-vars.yamlfrom their.examplefiles locally for the test; phoenix additionally needed a placeholdercustom-ca/customCA.crt, both pre-existing local-only requirements unrelated to this change).plane-integration-event-consumer-wl/-hpa/-varsresources and allINTEGRATION_EVENT_*keys render correctly in each overlay's output.🤖 Generated with Claude Code