Skip to content

Commit f7df977

Browse files
committed
added processor level diagram to job simulator
1 parent c685f85 commit f7df977

File tree

4 files changed

+33
-6
lines changed

4 files changed

+33
-6
lines changed

articles/stream-analytics/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
items:
2828
- name: Azure portal
2929
href: create-cluster.md
30-
- name: Build an e2e streaming application
30+
- name: Build an End-to-End streaming application
3131
href: quick-start-build-application.md
3232
- name: Tutorials
3333
items:

articles/stream-analytics/cicd-tools.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ azure-streamanalytics-cicd localrun --project ./asaproj.json"
9494
> [!NOTE]
9595
> JavaScript UDF only works on Windows.
9696
97-
## Add automated test
97+
## Automated test
9898

9999
You can use the CI/CD npm package to configure and run automated tests for your Stream Analytics project.
100100

@@ -228,13 +228,31 @@ If test cases are executed, you can find a **testResultSummary.json** file gener
228228

229229
## Deploy to Azure
230230

231-
To deploy your Stream Analytics project using ARM templates, check out these docs:
231+
To deploy your Stream Analytics project using ARM templates, follow these steps:
232+
1. Connect to your Azure account:
232233

233-
* [Deploy with a Resource Manager template file and Azure PowerShell](https://aka.ms/armdeploytemplate).
234-
* [Use an object as a parameter in a Resource Manager template](https://learn.microsoft.com/azure/azure-resource-manager/templates/parameters#objects-as-parameters).
234+
```powershell
235+
# Connect to Azure
236+
Connect-AzAccount
237+
# Set the Azure subscription
238+
Set-AzContext [SubscriptionID/SubscriptionName]
239+
```
235240
241+
2. Deploy your Stream Analytics project:
242+
243+
```powershell
244+
$templateFile = ".\Deploy\ClickStream-Filter.JobTemplate.json"
245+
$parameterFile = ".\Deploy\ClickStream-Filter.JobTemplate.parameters.json"
246+
New-AzResourceGroupDeployment `
247+
-Name devenvironment `
248+
-ResourceGroupName myResourceGroupDev `
249+
-TemplateFile $templateFile `
250+
-TemplateParameterFile $parameterFile
251+
```
252+
253+
For more details about deploying resources with ARM templates, see [Deploy with a Resource Manager template file and Azure PowerShell](https://aka.ms/armdeploytemplate).
236254
237255
## Next steps
238256
239257
* [Continuous integration and Continuous deployment for Azure Stream Analytics](cicd-overview.md)
240-
* [Set up CI/CD pipeline for Stream Analytics job using Azure Pipelines](set-up-cicd-pipeline.md)
258+
* [Set up CI/CD pipeline for Stream Analytics job using Azure Pipelines](set-up-cicd-pipeline.md)
1.64 MB
Loading

articles/stream-analytics/optimize-query-using-job-diagram-simulator.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,16 @@ In this tutorial, you learn to improve query performance based on edit suggestio
6363

6464
:::image type="content" source="./media/job-diagram-simulator/job-diagram-simulator-adjust-su.png" alt-text="Screenshot of the VSCode using SU adjuster." lightbox= "./media/job-diagram-simulator/job-diagram-simulator-adjust-su.png" :::
6565

66+
## Processor-level diagram
6667

68+
Once you have adjusted the streaming units to simulate the topology of your job, you can expand any of the streaming nodes to observe how your data is being processed at the processor level.
69+
70+
:::image type="content" source="./media/job-diagram-simulator/processor-level-simulator.gif" alt-text="A screenshot in gif format showing the processor level diagram of the simulator." lightbox= "./media/job-diagram-simulator/processor-level-simulator.gif" :::
71+
72+
The processor-level diagram allows you to:
73+
* observe how the input partitions are allocated and being processed at each streaming node.
74+
* find out what the **Time shift** is for each computing processor.
75+
* provide information on whether the Input and Output processors are aligned in parallel.
6776

6877
## Enhancement suggestions
6978

0 commit comments

Comments
 (0)