Two pubsub sinks from one enricher


I have a snowplow pipeline setup on GCP. I was wondering if an enricher can split enriched messages between two different sinks. For example, sending events A to pubsub A and events B to pubsub B, essentially filtering and redirecting.

Is this possible?

Thank you.

Hi @siv

Thats not currently a feature of enrich. The enrich application is designed to write to a single enriched stream.

However, it can be configured to add pubsub message attributes using the output.good.attributes configuration option.

You can use these attributes to filter messages on your subscriptions.

See here for further docs: Filtrar mensajes  |  Cloud Pub/Sub  |  Google Cloud