Skip to content

Commit 09239b3

Browse files
authored
Merge pull request #211794 from SnehaGunda/SynapseML
Moving JSON structure from event hub to prerequisites
2 parents c60ade5 + 33a1bfa commit 09239b3

File tree

1 file changed

+38
-7
lines changed

1 file changed

+38
-7
lines changed

articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-integrate-azure-stream-analytics.md

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,41 @@ In this article, you will learn how to use your dedicated SQL pool as an output
2222

2323
* Azure Stream Analytics Job - To create an Azure Stream Analytics job, follow the steps in the [Get started using Azure Stream Analytics](../../stream-analytics/stream-analytics-real-time-fraud-detection.md?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json) tutorial to:
2424

25-
1. Create an Event Hub input
26-
2. Configure and start event generator application
27-
3. Provision a Stream Analytics job
28-
4. Specify job input and query
25+
1. Create an Event Hubs input
26+
1. Configure and start event generator application. This app sends data from a client through your Event Hubs. The JSON structure of the data looks as follows:
27+
28+
```json
29+
{
30+
RecordType: "",
31+
SystemIdentity: "",
32+
FileNum: ,
33+
SwitchNum: "",
34+
CallingNum: "",
35+
CallingIMSI: "",
36+
CalledNum: "",
37+
CalledIMSI: "",
38+
DateS: "",
39+
TimeS: "",
40+
TimeType: ,
41+
CallPeriod: ,
42+
CallingCellID: "",
43+
CalledCellID: "",
44+
ServiceType: "",
45+
Transfer: ,
46+
IncomingTrunk: "",
47+
OutgoingTrunk: "",
48+
MSRN: "",
49+
CalledNum2: "",
50+
FCIFlag: "",
51+
callrecTime: "",
52+
EventProcessedUtcTime: "",
53+
PartitionId: ,
54+
EventEnqueuedUtcTime: ""
55+
}
56+
```
57+
58+
1. Provision a Stream Analytics job
59+
1. Specify job input and query
2960
* Dedicated SQL pool - To create a new dedicated SQL pool, follow the steps in the [Quickstart: Create a dedicated SQL pool](../quickstart-create-sql-pool-portal.md).
3061

3162
## Specify streaming output to point to your dedicated SQL pool
@@ -36,7 +67,7 @@ From the Azure portal, go to your Stream Analytics job and click on **Outputs**
3667

3768
### Step 2
3869

39-
Click on the **Add** button and choose **Azure Synapse Analytics** from the drop down menu.
70+
Click on the **Add** button and choose **Azure Synapse Analytics** from the drop-down menu.
4071

4172
![Choose Azure Synapse Analytics](./media/sql-data-warehouse-integrate-azure-stream-analytics/sql-pool-azure-stream-analytics-output.png)
4273

@@ -48,7 +79,7 @@ Enter the following values:
4879
* *Subscription*:
4980
* If your dedicated SQL pool is in the same subscription as the Stream Analytics job, click on ***Select Azure Synapse Analytics from your subscriptions***.
5081
* If your dedicated SQL pool is in a different subscription, click on Provide Azure Synapse Analytics settings manually.
51-
* *Database*: Select the destination database from the drop down list.
82+
* *Database*: Select the destination database from the drop-down list.
5283
* *User Name*: Specify the user name of an account that has write permissions for the database.
5384
* *Password*: Provide the password for the specified user account.
5485
* *Table*: Specify the name of the target table in the database.
@@ -114,7 +145,7 @@ Start the Azure Stream Analytics job. Click on the ***Start*** button on the **
114145
Click the ***Start*** button on the start job pane.
115146

116147
![Click Start](./media/sql-data-warehouse-integrate-azure-stream-analytics/sqlpool-asastartconfirm.png)
117-
148+
118149
## Next steps
119150

120151
For an overview of integration, see [Integrate other services](sql-data-warehouse-overview-integrate.md).

0 commit comments

Comments
 (0)