This feature is in beta. Contact your Customer Success representative for more information.


Azure Event Grid is a fully managed event service that enables you to easily manage events across many different Azure services and applications made for performance and scale for event driven applications.
You can easily configure this integration to stream any event published into Azure Event Grid topics in near real-time, and have them in TD CDP for further decision-making.

Include a bulleted list (at least two bullets) of what the customer can do with the integration. 

PRD Use Cases Example

Use Cases

  • As a marketing operator, I want to incrementally send segmented users attributes to Braze, where I can easily create the segments based on these information for targeting correct consumers.

  • As a data engineer, I want to automatically map the custom Ids of the consumers to Braze unidentified users so that I can facilitate multiple marketing tools on the marketing campaign

  • As a marketing operator, I want to remove opt-out consumers from the list on Braze to provide the matching privacy level for the target consumers.

PRODUCT MANAGERS: Please condense the use cases into easily consumed bullets.

Technical Writer FInal Version

  • Map external ids: For example, you can map ids from your CRM system to the Braze user account. 

  • Opt-out: When an end-user updates the consent choosing not to participate.

  • Upload your own tracking of events, purchases, or custom profile attributes. This information can help you build precise customer segments that enhance the user experience for your campaigns.

Learn more about:

Prerequisites

Limitations

Use the TD Console to Create Your Connection

Create a New Connection

In Treasure Data, you must create and configure the data connection before running your query. As part of the data connection, you provide authentication to access the integration.

Open TD Console.
Navigate to Integrations Hub  Catalog.
Search for and select Azure Event Grid Data Streaming.
Select Create Authentication.

          The following dialog opens.

Edit the following parameters:

Parameters 


Description

Security Identifiers (SIDs)RequiredSIDs are rotatable access tokens set by the user both in Azure Event Grid webhooks settings and create authentication model. It's  a combination of ASCII characters, digits and special symbols, and has to be minimum of length 10. Provide a comma separated list of tokens.
TD API KeyRequired

TD write-only API Key for access to the database.

See Getting Your API Keys.


Security Identifiers(SIDs) will be masked. We recommend storing SIDs securely in your password manager for future rotations.

Select Continue.
Enter a name for your connection.
Select Done.

Transfer Your Data to Treasure Data

After the authentication connection step, you are automatically taken to the Authentications listing page.

Search for the connection you created.
Select New Source.
The Connection dialog in the Create Source model opens.
Type a name for your Source in the Data Transfer Name field.

Click NextThe Data Settings dialog opens.
 Edit the following parameters:

Parameters 


Description

DatastoreRequiredPlazma is available option.
TagsOptionalTags can be used to find this source.
DatabaseRequiredSpecify the database within Treasure Data for which you want to import data into.
TableRequiredSpecify the table within the database where you would like the data placed.
Select Create.

Copy the Source Id

The source id (UUID v4) is issued upon a Source creation.

To prevent misuse, the Source Id should not be disclosed to any unauthorized persons.

After creating the Source, you are automatically taken to the Sources listing page.
Search for the source you created.
Click on "..."  in the same row and Click Copy Unique ID. This Unique ID is the Source ID required when registering endpoint in Azure Event Grid.

Endpoint Registration in Azure Event Grid

To have events processed by Azure Event Grid streaming connector, an endpoint has to be registered in Azure Event Grid with a valid Source Id. In Azure Event Grid, Create Event Subscription for Event Grid Topic.

Enter the Azure Event Grid endpoint in ENDPOINT DETAILS. The Azure Event Grid ingestion endpoints for the US use:  https://aeg-in-streaming.treasuredata.com/v1/task/{source id}

Hostnames for other regions will differ but follow the same pattern.  For example, for Japan you use:  https://aeg-in-streaming.treasuredata.co.jp/v1/task/{source id}
 Specify Security Identifiers (SIDs) as a static Authorization header. You register an SID from the list of Security Identifiers (SIDs) specified when creating an Authentication to enable rotations.

Specify the SID as Authorization: BEARER $SID header in Delivery Properties tab under PROPERTIES SENT ON EVENT DELIVERY section. Refer to the Quickstart guide from Azure Event Grid for complete instructions Quickstart Portal.
   Customers can optionally specify event filtering for Event Grid Subscription.  There are three options for filtering:
    • Event types
    • Subject begins with or ends with
    • Advanced fields and operators
           
      Please refer Azure Event Grid document for complete instructions Event Filtering.

Data Ingestion

The connector can start Event data ingestion in TD as soon as the first event is triggered after successful Streaming data source creation.