Skip to content

Commit edef33e

Browse files
Merge pull request #266425 from spelluru/ehubfreshness0215
Freshness review
2 parents ba202c5 + 4a2c3f8 commit edef33e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/event-hubs/event-hubs-node-get-started-send.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This quickstart shows how to send events to and receive events from an event hub
1212

1313

1414
## Prerequisites
15-
If you are new to Azure Event Hubs, see [Event Hubs overview](event-hubs-about.md) before you do this quickstart.
15+
If you're new to Azure Event Hubs, see [Event Hubs overview](event-hubs-about.md) before you do this quickstart.
1616

1717
To complete this quickstart, you need the following prerequisites:
1818

@@ -21,7 +21,7 @@ To complete this quickstart, you need the following prerequisites:
2121
- Visual Studio Code (recommended) or any other integrated development environment (IDE).
2222
- **Create an Event Hubs namespace and an event hub**. The first step is to use the [Azure portal](https://portal.azure.com) to create a namespace of type Event Hubs, and obtain the management credentials your application needs to communicate with the event hub. To create a namespace and an event hub, follow the procedure in [this article](event-hubs-create.md).
2323

24-
### Install the npm package(s) to send events
24+
### Install npm packages to send events
2525
To install the [Node Package Manager (npm) package for Event Hubs](https://www.npmjs.com/package/@azure/event-hubs), open a command prompt that has *npm* in its path, change the directory
2626
to the folder where you want to keep your samples.
2727

@@ -58,15 +58,15 @@ In this section, you create a JavaScript application that sends events to an eve
5858
## [Passwordless (Recommended)](#tab/passwordless)
5959

6060
In the code, use real values to replace the following placeholders:
61-
* `EVENT HUBS RESOURCE NAME`
61+
* `EVENT HUBS NAMESPACE NAME`
6262
* `EVENT HUB NAME`
6363

6464
```javascript
6565
const { EventHubProducerClient } = require("@azure/event-hubs");
6666
const { DefaultAzureCredential } = require("@azure/identity");
6767

6868
// Event hubs
69-
const eventHubsResourceName = "EVENT HUBS RESOURCE NAME";
69+
const eventHubsResourceName = "EVENT HUBS NAMESPACE NAME";
7070
const fullyQualifiedNamespace = `${eventHubsResourceName}.servicebus.windows.net`;
7171
const eventHubName = "EVENT HUB NAME";
7272

@@ -145,7 +145,7 @@ In this section, you create a JavaScript application that sends events to an eve
145145
> [!NOTE]
146146
> For the complete source code, including additional informational comments, go to the [GitHub sendEvents.js page](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/javascript/sendEvents.js).
147147

148-
Congratulations! You have now sent events to an event hub.
148+
You have now sent events to an event hub.
149149

150150

151151
## Receive events
@@ -167,7 +167,7 @@ To create an Azure storage account and a blob container in it, do the following
167167

168168
## [Connection String](#tab/connection-string)
169169

170-
[Get the connection string to the storage account](../storage/common/storage-configure-connection-string.md)
170+
[Get the connection string to the storage account](../storage/common/storage-configure-connection-string.md).
171171

172172
Note the connection string and the container name. You'll use them in the receive code.
173173
@@ -206,7 +206,7 @@ npm install @azure/eventhubs-checkpointstore-blob
206206
### [Passwordless (Recommended)](#tab/passwordless)
207207

208208
In the code, use real values to replace the following placeholders:
209-
- `EVENT HUBS RESOURCE NAME`
209+
- `EVENT HUBS NAMESPACE NAME`
210210
- `EVENT HUB NAME`
211211
- `STORAGE ACCOUNT NAME`
212212
- `STORAGE CONTAINER NAME`
@@ -218,7 +218,7 @@ npm install @azure/eventhubs-checkpointstore-blob
218218
const { BlobCheckpointStore } = require("@azure/eventhubs-checkpointstore-blob");
219219
220220
// Event hubs
221-
const eventHubsResourceName = "EVENT HUBS RESOURCE NAME";
221+
const eventHubsResourceName = "EVENT HUBS NAMESPACE NAME";
222222
const fullyQualifiedNamespace = `${eventHubsResourceName}.servicebus.windows.net`;
223223
const eventHubName = "EVENT HUB NAME";
224224
const consumerGroup = "$Default"; // name of the default consumer group
@@ -359,7 +359,7 @@ npm install @azure/eventhubs-checkpointstore-blob
359359
> [!NOTE]
360360
> For the complete source code, including additional informational comments, go to the [GitHub receiveEventsUsingCheckpointStore.js page](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsUsingCheckpointStore.js).
361361
362-
Congratulations! You have now received events from your event hub. The receiver program will receive events from all the partitions of the default consumer group in the event hub.
362+
You have now received events from your event hub. The receiver program will receive events from all the partitions of the default consumer group in the event hub.
363363
364364
## Next steps
365365
Check out these samples on GitHub:

0 commit comments

Comments
 (0)