From 4de2108b81383c9a5918ee73173a2170d93973fd Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 12 Mar 2025 05:08:10 +0000 Subject: [PATCH] update event docs Signed-off-by: Chris --- docs/deployment/configuration/cloud_event.rst | 2 +- docs/deployment/configuration/eventing.rst | 44 ++++++++++++++----- 2 files changed, 33 insertions(+), 13 deletions(-) diff --git a/docs/deployment/configuration/cloud_event.rst b/docs/deployment/configuration/cloud_event.rst index a168c7801d..311013868b 100644 --- a/docs/deployment/configuration/cloud_event.rst +++ b/docs/deployment/configuration/cloud_event.rst @@ -66,7 +66,7 @@ To turn on, add the following to your FlyteAdmin: cloudEvents: enable: true gcp: - region: us-east-2 + projectId: my-project-id eventsPublisher: eventTypes: - all # or node, task, workflow diff --git a/docs/deployment/configuration/eventing.rst b/docs/deployment/configuration/eventing.rst index be64d6f2f1..81c5ddf390 100644 --- a/docs/deployment/configuration/eventing.rst +++ b/docs/deployment/configuration/eventing.rst @@ -27,19 +27,39 @@ Configuration To turn on, add the following to your FlyteAdmin: -.. code:: yaml - - external_events.yaml: | - externalEvents: - enable: true - aws: - region: us-east-2 - eventsPublisher: - eventTypes: - - all - topicName: arn:aws:sns:us-east-2:123456:123-my-topic - type: aws +.. tabs:: + + .. tab:: AWS SNS + + .. code:: yaml + + cloud_events.yaml: | + cloudEvents: + enable: true + aws: + region: us-east-2 + eventsPublisher: + eventTypes: + - all # or node, task, workflow + topicName: arn:aws:sns:us-east-2:123456:123-my-topic + type: aws + + .. tab:: GCP Pub/Sub + + .. code:: yaml + + cloud_events.yaml: | + cloudEvents: + enable: true + gcp: + projectId: my-project-id + eventsPublisher: + eventTypes: + - all # or node, task, workflow + topicName: my-topic + type: gcp + Helm ====