Once you have configured the Microsoft Azure Event Hubs permissions, you can establish a connection between Atlan and Microsoft Azure Event Hubs.
To crawl metadata from Microsoft Azure Event Hubs, review the order of operations and then complete the following steps.
Select the source
To select Microsoft Azure Event Hubs as your source:
- In the top right of any screen in Atlan, navigate to +New and click New workflow.
- From the Marketplace page, click Azure Event Hubs Assets.
- In the right panel, click Setup Workflow.
Provide credentials
Choose your authentication method:
- In SAS Key, you will need your event hub namespace and a connection string-primary key for authentication.
- In Service Principal, you will need your event hub namespace and the following:
- If only fetching metadata from Microsoft Azure Event Hubs, you will need a client ID, client secret, and tenant ID for authentication.
- If fetching metadata from both Microsoft Azure Event Hubs and Apache Kafka, you will need a connection string-primary key and client ID, client secret, and tenant ID for authentication.
SAS key
To enter your Microsoft Azure Event Hubs credentials:
- For Extraction method, Direct is the default selection.
- For Select which metadata to fetch, click From Only Event hubs to only fetch metadata from Microsoft Azure Event Hubs or click From Both Kafka and Event hubs to fetch metadata from both Microsoft Azure Event Hubs and Apache Kafka.
- For Bootstrap servers, enter the event hub namespace you copied from Microsoft Azure Event Hubs in the following format —
<your event hub namespace>.servicebus.windows.net:9093
. - For Connection string-primary key, enter the connection string-primary key you copied from Microsoft Azure Event Hubs.
- For Security protocol, SSL is the default selection for connecting via a Secure Sockets Layer (SSL) channel.
- Click the Test Authentication button to confirm connectivity to Microsoft Azure Event Hubs.
- Once authentication is successful, navigate to the bottom of the screen and click Next.
Service principal
To enter your Microsoft Azure Event Hubs credentials:
- For Extraction method, Direct is the default selection.
- For Bootstrap servers, enter the event hub namespace you copied from Microsoft Azure Event Hubs in the following format —
<your event hub namespace>.servicebus.windows.net:9093
. - For Select which metadata to fetch, you can either:
- Click From Only Event hubs to only fetch metadata from Microsoft Azure Event Hubs. If you choose not to fetch metadata from Apache Kafka, note that Atlan will not be able to display the message count for your event hubs and consumer groups. To enter your credentials:
- For Client ID, enter the application (client) ID you copied for the service principal.
- For Client Secret, enter the client secret you copied for the service principal.
- For Tenant ID, enter the directory (tenant) ID you copied for the service principal.
- Click From Both Kafka and Event hubs to fetch metadata from both Microsoft Azure Event Hubs and Apache Kafka and then enter your credentials:
- For Connection string-primary key, enter the connection string-primary key you copied from Microsoft Azure Event Hubs.
- For Client ID, enter the application (client) ID you copied for the service principal.
- For Client Secret, enter the client secret you copied for the service principal.
- For Tenant ID, enter the directory (tenant) ID you copied for the service principal.
- Click From Only Event hubs to only fetch metadata from Microsoft Azure Event Hubs. If you choose not to fetch metadata from Apache Kafka, note that Atlan will not be able to display the message count for your event hubs and consumer groups. To enter your credentials:
- For Security protocol, SSL is the default selection for connecting via a Secure Sockets Layer (SSL) channel.
- Click the Test Authentication button to confirm connectivity to Microsoft Azure Event Hubs.
- Once authentication is successful, navigate to the bottom of the screen and click Next.
Configure the connection
To complete the Microsoft Azure Event Hubs connection configuration:
- Provide a Connection Name that represents your source environment. For example, you might use values like
production
,development
,gold
, oranalytics
. - (Optional) To change the users who are able to manage this connection, change the users or groups listed under Connection Admins.
🚨 Careful! If you do not specify any user or group, no one will be able to manage the connection — not even admins.
- Navigate to the bottom of the screen and click Next to proceed.
Configure the crawler
Before running the Microsoft Azure Event Hubs crawler, you can further configure it.
On the Metadata page, you can override the defaults for any of these options:
- For Skip internal event hubs, keep the default option Yes to skip internal event hubs or click No to enable crawling them.
- To select the assets you want to exclude from crawling, click Exclude event hubs regex. (This will default to no assets, if none specified.)
- To select the assets you want to include in crawling, click Include event hubs regex. (This will default to all assets, if none are specified.)
Run the crawler
To run the Microsoft Azure Event Hubs crawler, after completing the steps above:
- To run the crawler once, immediately, at the bottom of the screen, click the Run button.
- To schedule the crawler to run hourly, daily, weekly, or monthly, at the bottom of the screen, click the Schedule & Run button.
Once the crawler has completed running, you will see the assets on Atlan's asset page! 🎉