Load Data from Azure Event Hubs
On this page
SingleStore can be configured as an event hub in Azure Event Hubs.
Prerequisites
You need an Azure account with access to Event Hubs.
Get Connection String from Azure Portal
After creating the namespace, you’ll need a connection string to communicate with Event Hubs.
-
On the Azure portal, in the left navigation menu, select All services.
-
In the Analytics section, select Event Hubs.
-
From the list of event hubs, select the SingleStore event hub.
-
On the Event Hubs Namespace page, in the left navigation menu, select Shared Access Policies.
-
From the list of policies, select the relevant shared access policy.
-
In the selected policy dialog, copy the Connection string-primary key.
Here is a sample pipeline:
CREATE PIPELINE `data_ingest`AS LOAD DATA KAFKA 'front2back2eventhub.servicebus.windows.net:9093/table-update'CONFIG '{"security.protocol": "sasl_ssl","sasl.mechanism": "PLAIN","sasl.username": "$ConnectionString"}'CREDENTIALS '{"sasl.password": "<password>"}'BATCH_INTERVAL 2500ENABLE OUT_OF_ORDER OPTIMIZATIONINTO TABLE `test`;
Last modified: July 8, 2024