Skip to content

Commit 94d31dd

Browse files
authored
Changes to fix rendering in list items
1 parent 70e4021 commit 94d31dd

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

articles/stream-analytics/stream-analytics-real-time-fraud-detection.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -81,33 +81,34 @@ In this procedure, you first create an event hub namespace, and then you add an
8181

8282
Before a process can send data to an event hub, the event hub must have a policy that allows appropriate access. The access policy produces a connection string that includes authorization information.
8383

84-
1. In the event namespace pane, click **Event Hubs** and then click the name of your new event hub.
84+
1. In the event namespace pane, click **Event Hubs** and then click the name of your new event hub.
8585

86-
2. In the event hub pane, click **Shared access policies** and then click **+ Add**.
86+
2. In the event hub pane, click **Shared access policies** and then click **+ Add**.
8787

88-
>[!NOTE]
89-
>Make sure you're working with the event hub, not the event hub namespace.
88+
> [!NOTE]
89+
> Make sure you're working with the event hub, not the event hub namespace.
9090
91-
3. Add a policy named `asa-policy-manage-demo` and for **Claim**, select **Manage**.
91+
3. Add a policy named `asa-policy-manage-demo` and for **Claim**, select **Manage**.
9292

9393
<img src="./media/stream-analytics-real-time-fraud-detection/stream-analytics-create-shared-access-policy-manage-new-portal.png" alt="Create shared access policy for Stream Analytics" width="300px"/>
9494

95-
4. Click **Create**.
95+
4. Click **Create**.
9696

97-
5. After the policy has been deployed, click it in the list of shared access policies.
97+
5. After the policy has been deployed, click it in the list of shared access policies.
9898

99-
6. Find the box labeled **CONNECTION STRING-PRIMARY KEY** and click the copy button next to the connection string.
99+
6. Find the box labeled **CONNECTION STRING-PRIMARY KEY** and click the copy button next to the connection string.
100100

101101
<img src="./media/stream-analytics-real-time-fraud-detection/stream-analytics-shared-access-policy-copy-connection-string-new-portal.png" alt="Stream Analytics shared access policy" width="300px"/>
102102

103-
7. Paste the connection string into a text editor. You need this connection string for the next section, after you make some small edits to it.
103+
7. Paste the connection string into a text editor. You need this connection string for the next section, after you make some small edits to it.
104104

105105
The connection string looks like this:
106106

107-
Endpoint=sb://YOURNAME-eh-ns-demo.servicebus.windows.net/;SharedAccessKeyName=asa-policy-manage-demo;SharedAccessKey=Gw2NFZwU1Di+rxA2T+6hJYAtFExKRXaC2oSQa0ZsPkI=;EntityPath=asa-eh-frauddetection-demo
107+
`Endpoint=sb://YOURNAME-eh-ns-demo.servicebus.windows.net/;SharedAccessKeyName=asa-policy-manage-demo;SharedAccessKey=Gw2NFZwU1Di+rxA2T+6hJYAtFExKRXaC2oSQa0ZsPkI=;EntityPath=asa-eh-frauddetection-demo`
108108

109109
Notice that the connection string contains multiple key-value pairs, separated with semicolons: `Endpoint`, `SharedAccessKeyName`, `SharedAccessKey`, and `EntityPath`.
110110

111+
111112
## Configure and start the event generator application
112113

113114
Before you start the TelcoGenerator app, you must configure it so that it will send call records to the event hub you created.
@@ -125,24 +126,25 @@ Before you start the TelcoGenerator app, you must configure it so that it will s
125126

126127
The `<appSettings>` section will look like the following example:
127128

128-
```xml
129-
<appSettings>
130-
<!-- Service Bus specific app setings for messaging connections -->
131-
<add key="EventHubName" value="asa-eh-ns-demo"/>
132-
<add key="Microsoft.ServiceBus.ConnectionString" value="Endpoint=sb://asa-eh-ns-demo.servicebus.windows.net/;SharedAccessKeyName=asa-policy-manage-demo;SharedAccessKey=GEcnTKf2//1MRn6SN1A2u0O76MP9pj3v0Ccyf1su4Zo="/>
133-
</appSettings>
134-
```
129+
```xml
130+
<appSettings>
131+
<!-- Service Bus specific app setings for messaging connections -->
132+
<add key="EventHubName" value="asa-eh-ns-demo"/>
133+
<add key="Microsoft.ServiceBus.ConnectionString" value="Endpoint=sb://asa-eh-ns-demo.servicebus.windows.net/;SharedAccessKeyName=asa-policy-manage-demo;SharedAccessKey=GEcnTKf2//1MRn6SN1A2u0O76MP9pj3v0Ccyf1su4Zo="/>
134+
</appSettings>
135+
```
135136

136137
4. Save the file.
137138

138139
### Start the app
139-
1. Open a command window and change to the folder where the TelcoGenerator app is unzipped.
140140

141-
2. Enter the following command:
141+
1. Open a command window and change to the folder where the TelcoGenerator app is unzipped.
142142

143-
```cmd
144-
telcodatagen.exe 1000 0.2 2
145-
```
143+
2. Enter the following command:
144+
145+
```cmd
146+
telcodatagen.exe 1000 0.2 2
147+
```
146148

147149
The parameters are:
148150

0 commit comments

Comments
 (0)