Skip to content

Commit d77c8f0

Browse files
committed
make changes based on suggestions
1 parent d909643 commit d77c8f0

File tree

5 files changed

+19
-10
lines changed

5 files changed

+19
-10
lines changed

articles/stream-analytics/cicd-overview.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 12/27/2022
1111

1212
# Continuous integration and deployment (CI/CD) for Azure Stream Analytics
1313

14-
You can build and deploy your Azure Stream Analytics job continuously using a source control integration. Source control integration creates a workflow in which any code updates would trigger a resource deployment to Azure. This article outlines the basic steps for creating a continuous integration and continuous delivery (CI/CD) pipeline.
14+
You can build and deploy your Azure Stream Analytics (ASA) job continuously using a source control integration. Source control integration creates a workflow in which updating code would trigger a resource deployment to Azure. This article outlines the basic steps for creating a continuous integration and continuous delivery (CI/CD) pipeline.
1515

1616
If you're new to Azure Stream Analytics, get started with the [Azure Stream Analytics quickstart](stream-analytics-quick-create-portal.md).
1717

@@ -20,8 +20,10 @@ If you're new to Azure Stream Analytics, get started with the [Azure Stream Anal
2020
Follow the steps to create a CI/CD pipeline for your Stream Analytics project:
2121

2222
1. Create a Stream Analytics project using VSCode.
23-
24-
Use the ASA Tools extension for [Visual Studio Code](./quick-create-visual-studio-code.md) to [develop and test queries locally](develop-locally.md). You can also [export an existing job](visual-studio-code-explore-jobs.md#export-a-job-to-a-local-project) to your local machine.
23+
24+
You can either create a new project or export an existing job to your computer using the ASA Tools extension for Visual Studio Code. Check out these two docs for more information:
25+
* [Quickstart: Create a Stream Analytics job using VSCode](./quick-create-visual-studio-code.md)
26+
* [Export an existing job](visual-studio-code-explore-jobs.md#export-a-job-to-a-local-project)
2527

2628
2. Commit your Stream Analytics project to your source control system, like a Git repository.
2729

articles/stream-analytics/cicd-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 12/27/2022
1111

1212
# Automate builds, tests, and deployments of an Azure Stream Analytics job using CI/CD tools
1313

14-
You can use the Azure Stream Analytics CI/CD npm package to automatically build, test, and deploy your Azure Stream Analytics projects using Visual Studio Code. You can create a new Stream Analytics project using the ASA Tools extension for Visual Studio Code or export an existing Stream Analytics job from Azure. This article describes how to use the npm package with any CI/CD system. For deployment with Azure Pipelines, see [Use Azure DevOps to create a CI/CD pipeline for a Stream Analytics job](set-up-cicd-pipeline.md).
14+
After developing your Stream Analytics project in Visual Studio Code, you can use the Azure Stream Analytics (ASA) CI/CD npm package to automatically build, test, and deploy your Stream Analytics projects. This article shows how to use the npm package with any CI/CD system. For deployment with Azure pipelines, see [Use Azure DevOps to create a CI/CD pipeline for a Stream Analytics job](set-up-cicd-pipeline.md).
1515

1616
## Installation
1717

articles/stream-analytics/copy-job.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.date: 12/27/2012
1212

1313
# Copy, back up and move your Azure Stream Analytics jobs between regions
1414

15-
If you want to move, copy or back up your Azure Stream Analytics jobs in Azure, the Azure Stream Analytics extension for Visual Studio Code allows you to export an existing job in the cloud to your local computer. All the configurations of your Stream Analytics job will be saved locally and you can resubmit it to another region.
15+
If you want to move, copy or back up your Azure Stream Analytics jobs in Azure, the Azure Stream Analytics extension for Visual Studio Code allows you to export an existing job in Azure cloud to your local computer. All the configurations of your Stream Analytics job will be saved locally and you can resubmit it to another cloud region.
1616

1717
> [!NOTE]
1818
> * Copying a job to another region does not copy the last output time. Therefore, you cannot use [**When last stopped**](./start-job.md#start-options) option when starting the copied job.

articles/stream-analytics/develop-locally.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: stream-analytics
1010

1111
# Develop and debug Azure Stream Analytics jobs locally
1212

13-
Apart from creating and developing an Azure Stream Analytics job in the Azure portal, you can set up a Stream Analytics job using a developer tool on your computer. Azure Stream Analytics (ASA) allows you to use your favorite code editor, e.g., Visual Studio Code to build and test query locally with live data streams from Azure Event Hubs, IoT Hub, Blob Storage and other Azure resources. The ASA developer tool creates a fully functional node in local runtime to run your Stream Analytics job. You can also submit your local Stream Analytics jobs to Azure and change the job running status. Using the ASA developer tool is a convenient way to build, test and manage your Stream Analytics jobs.
13+
Apart from creating and developing an Azure Stream Analytics job in the Azure portal, you can set up a Stream Analytics job using a developer tool on your computer. Azure Stream Analytics (ASA) allows you to use your favorite code editor, e.g., Visual Studio Code to build and test query locally with live data streams from Azure Event Hubs, IoT Hub, Blob Storage and other Azure resources. The ASA developer tool creates a fully functional node in local runtime to run your Stream Analytics job. You can also submit your local Stream Analytics jobs to Azure cloud and change the job running status. Using the ASA developer tool is a convenient way to build, test and manage your Stream Analytics jobs.
1414

1515
## Local development environments
1616

@@ -20,7 +20,7 @@ The environments in the following table support local development:
2020

2121
|Environment |Description |
2222
|-----------------------------------------|------------|
23-
|[Visual Studio Code](visual-studio-code-explore-jobs.md)| The [Azure Stream Analytics Tools extension](https://marketplace.visualstudio.com/items?itemName=ms-bigdatatools.vscode-asa) for Visual Studio Code allows you to author, manage, test your Stream analytics job both locally and in the cloud with rich IntelliSense and native source control. Supports development on Linux, macOS and Windows. To learn more, see [Create an Azure Stream Analytics job in Visual Studio Code](quick-create-visual-studio-code.md). The extension also supports [Visual Studio Codespaces](https://visualstudio.microsoft.com/services/visual-studio-codespaces/), which is a cloud-hosted dev environment.|
23+
|[Visual Studio Code](visual-studio-code-explore-jobs.md)| The [Azure Stream Analytics tools extension](https://marketplace.visualstudio.com/items?itemName=ms-bigdatatools.vscode-asa) for Visual Studio Code allows you to author, manage, test your Stream Analytics job both locally and in the cloud with rich IntelliSense and native source control. It supports development on Linux, macOS and Windows. To learn more, see [Create an Azure Stream Analytics job in Visual Studio Code](quick-create-visual-studio-code.md). The extension also supports [Visual Studio Codespaces](https://visualstudio.microsoft.com/services/visual-studio-codespaces/), which is a cloud-hosted dev environment.|
2424
|[Command prompt or terminal](stream-analytics-tools-for-visual-studio-cicd.md)|The Azure Stream Analytics CI/CD NuGet package provides tools for Visual studio project build, local testing on an arbitrary machine. The Azure Stream Analytics CI/CD npm package provides tools for Visual Studio Code project builds (which generates an Azure Resource Manager template) on an arbitrary machine.|
2525

2626
## Next steps

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: zhenxilin
66
ms.service: stream-analytics
77
ms.custom: ignite-2022
88
ms.topic: how-to
9-
ms.date: 10/12/2022
9+
ms.date: 12/27/2022
1010
---
1111

1212
# Optimize query using job diagram simulator
@@ -23,10 +23,17 @@ If you want to learn more about query parallelization, see [Leverage query paral
2323

2424
## How to use job diagram simulator?
2525

26-
You can find the job diagram simulator in the Azure Stream Analytics tools extension for VSCode. If you haven't installed it yet, follow [this guide](quick-create-visual-studio-code.md) to install.
26+
The **Job diagram simulator** feature simulates the job running topology in Azure and provides suggestions for adjusting Streaming Units. Therefore, you must configure live inputs and outputs for your Stream Analytics job and use them in the query.
2727

28-
In this tutorial, you learn to improve query performance based on edit suggestions and make it executed in parallel. As an example, we're using a non-parallel job that takes the input data from an event hub and sends the results to another event hub.
28+
Prerequisites:
29+
* ASA Tools extension for VSCode. If you haven't installed it yet, follow [this guide](quick-create-visual-studio-code.md) to install.
30+
* Configure live input and live output for your Stream Analytics job.
31+
* You must include live input and output in the query.
32+
33+
> [!NOTE]
34+
> The Job diagram simulator can't simulate job running topology for local inputs and outputs. It doesn't send results to the output destination.
2935
36+
In this tutorial, you learn to improve query performance based on edit suggestions and make it executed in parallel. As an example, we're using a non-parallel job that takes the input data from an event hub and sends the results to another event hub.
3037

3138
1. Open the Azure Stream Analytics project in VSCode after you finish your query authoring, go to the query file **\*.asaql** and select **Simulate job** to start the job diagram simulation.
3239

0 commit comments

Comments
 (0)