Os eventos são coletados de provedores por um barramento do Eventarc Advanced
e roteados por um pipeline do Eventarc Advanced para um
destino especificado. Apenas um destino pode ser o alvo de mensagens
encaminhadas por um pipeline.
Provedores compatíveis
Os provedores compatíveis incluem provedores do Google e publishers diretos de eventos
(usando a API Eventarc Publishing).
Os provedores do Google enviam eventos do Google
diretamente da origem (por exemplo, a criação de uma
função do Cloud Run ou uma mudança de status em um job do Dataflow). Primeiro, ative o suporte para tipos de eventos do Google. Para mais informações,
consulte
Publicar eventos de fontes do Google.
Os editores de eventos podem publicar um
evento do CloudEvents diretamente em um barramento
de mensagens em um formato compatível, como Avro ou Protobuf. Para mais informações, consulte
Publicar eventos diretamente.
Destinos possíveis
Um pipeline do Eventarc Advanced permite a entrega de eventos
entre um barramento e um destino. Os seguintes destinos são compatíveis:
Cloud Run: use o URL run.app atribuído automaticamente estável fornecido na primeira implantação do serviço hospedado no Cloud Run. Você também pode
segmentar um
job do Cloud Run
ou especificar um endpoint HTTP para funções do Cloud Run
(1ª geração e
versão atual). Quando você especifica um gatilho HTTP
para uma função do Cloud Run, um
URL para receber solicitações é atribuído a ela.
Barramento do Eventarc Advanced: o barramento de mensagens precisa ser implantado no mesmo projeto e região que o pipeline.
Tópico do Pub/Sub: o tópico do Pub/Sub precisa ser criado antes que as mensagens possam ser encaminhadas para ele e precisa estar localizado no mesmo projeto que o pipeline. Se você estiver usando um esquema de tópico, transforme sua mensagem de evento de maneira adequada.
Workflows: é possível acionar a
execução de um fluxo de trabalho, que é uma
única execução da lógica contida em uma definição de fluxo de trabalho. Isso permite executar serviços na ordem especificada. O fluxo de trabalho precisa ser implantado no mesmo
projeto que o pipeline.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-18 UTC."],[[["\u003cp\u003eEventarc Advanced is a pre-GA feature that collects events from various providers and routes them through a pipeline to a single specified destination.\u003c/p\u003e\n"],["\u003cp\u003eSupported event providers include Google services, which send Google events, and direct publishers that use the Eventarc Publishing API to send CloudEvents.\u003c/p\u003e\n"],["\u003cp\u003eEventarc Advanced pipelines can deliver events to several destinations, including Cloud Run services or jobs, other Eventarc Advanced buses, HTTP endpoints, Pub/Sub topics, and Workflows.\u003c/p\u003e\n"],["\u003cp\u003eNetwork attachments can be used to establish connections to Cloud Run, Eventarc Advanced buses, and HTTP endpoints hosted in a Virtual Private Cloud (VPC).\u003c/p\u003e\n"],["\u003cp\u003eDestinations such as Eventarc Advanced bus, Pub/Sub topics, and workflows must be located in the same Google Cloud project as the pipeline.\u003c/p\u003e\n"]]],[],null,["# Event providers and destinations\n\n[Advanced](/eventarc/advanced/docs/overview)\n\nEvents are collected from event providers by an Eventarc Advanced\nbus and routed through an Eventarc Advanced pipeline to a\nspecified destination. Only one destination can be the target of messages\nforwarded by a pipeline.\n\nSupported providers\n-------------------\n\nSupported providers include Google providers and direct publishers of events\n(using the Eventarc Publishing API).\n\n- Google providers send [Google events](/eventarc/advanced/docs/event-types)\n directly from the source (for example, the creation of a\n Cloud Run function or a status change to a Dataflow\n job). You must first enable support for Google event types. For more information,\n see\n [Publish events from Google sources](/eventarc/advanced/docs/publish-events/publish-events-google-sources).\n\n- Event publishers can publish a\n [CloudEvents event](/eventarc/advanced/docs/event-format) directly to a message\n bus in a supported format such as Avro or Protobuf. For more information, see\n [Publish events directly](/eventarc/advanced/docs/publish-events/publish-events-direct-format).\n\nSupported destinations\n----------------------\n\nAn Eventarc Advanced pipeline enables the delivery of events\nbetween a bus and a destination. The following destinations are\nsupported:\n\n- Cloud Run---Use the stable,\n [auto-assigned `run.app` URL](/run/docs/triggering/https-request) provided on\n the first deployment of the Cloud Run-hosted service. You can also\n target a\n [Cloud Run job](/run/docs/overview/what-is-cloud-run#cloud-run-jobs)\n or specify an HTTP endpoint for Cloud Run functions\n ([1st gen](/functions/1stgendocs/calling/http) and\n [current version](/functions/docs/calling/http)). When you specify an HTTP\n trigger for a Cloud Run function, the function is assigned a\n URL at which it can receive requests.\n\n- Eventarc Advanced bus---The\n [message bus](/eventarc/advanced/docs/publish-events/create-bus) must be\n deployed in the same project and region as the pipeline.\n\n- HTTP endpoint---A destination URI. The host can be either a static IP\n addressable from a [Virtual Private Cloud (VPC) network](/vpc/docs/vpc), or the\n internal [Domain Name System (DNS)](/dns/docs/dns-overview) hostname of a\n service resolvable using Cloud DNS. For example, you can target a\n [Cloud Run service URL](/run/docs/triggering/https-request#url)\n or a [BigQuery table](/bigquery/docs/reference/rest/v2/tabledata/insertAll)\n that will receive events as HTTP `POST` requests.\n\n- Pub/Sub topic---The\n [Pub/Sub topic](/pubsub/docs/publish-message-overview) must first\n be created before messages can be routed to it and must be located in the same\n project as the pipeline. If using a\n [topic schema](/pubsub/docs/create-topic#use_a_schema), make sure to\n [transform your event message](/eventarc/advanced/docs/receive-events/transform-events)\n appropriately.\n\n- Workflows---You can trigger the\n [execution of a workflow](/workflows/docs/executing-workflow) which is a\n single run of the logic contained in a workflow definition. This lets you run\n services in an order that you specify. The workflow must be deployed in the same\n project as the pipeline."]]