Skip to content

Commit 825ac9c

Browse files
committed
acrolinx edits
1 parent 3a4c462 commit 825ac9c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

includes/messaging-replicator-functions.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.custom: include file
1313

1414
A replication task receives events from a source and forwards them to a target. Most replication tasks will forward events unchanged and at most perform mapping between metadata structures if the source and target protocols differ.
1515

16-
Replication tasks are generally stateless, meaning that they do not share state or other side-effects across sequential or parallel executions of a task. That is also true for batching and chaining, which can both be implemented on top of the existing state of a stream.
16+
Replication tasks are generally stateless, meaning that they don't share state or other side-effects across sequential or parallel executions of a task. That is also true for batching and chaining, which can both be implemented on top of the existing state of a stream.
1717

1818
This makes replication tasks different from aggregation tasks, which are generally stateful, and are the domain of analytics frameworks and services like [Azure Stream Analytics](../articles/stream-analytics/stream-analytics-introduction.md).
1919

@@ -40,13 +40,13 @@ With Azure Functions Premium, multiple replication applications can share the sa
4040

4141
Whenever available, you should prefer the batch-oriented triggers over triggers that deliver individual events or messages and you should always obtain the complete event or message structure rather than rely on Azure Function's [parameter binding expressions](../articles/azure-functions/functions-bindings-expressions-patterns.md).
4242

43-
The name of the function should reflect the pair of source and target you are connecting, and you should prefix references to connection strings or other configuration elements in the application configuration files with that name.
43+
The name of the function should reflect the pair of source and target you're connecting, and you should prefix references to connection strings or other configuration elements in the application configuration files with that name.
4444

4545
### Data and metadata mapping
4646

47-
Once you've decided on a pair of input trigger and output binding, you will have to perform some mapping between the different event or message types, unless the type of your trigger and the output is the same.
47+
Once you've decided on a pair of input trigger and output binding, you'll have to perform some mapping between the different event or message types, unless the type of your trigger and the output is the same.
4848

49-
For simple replication tasks that copy messages between Event Hubs and Service Bus, you do not have to write your own code, but can lean on a [utility library that is provided](https://github.com/Azure-Samples/azure-messaging-replication-dotnet/tree/main/src/Azure.Messaging.Replication) with the replication samples.
49+
For simple replication tasks that copy messages between Event Hubs and Service Bus, you don't have to write your own code, but can lean on a [utility library that is provided](https://github.com/Azure-Samples/azure-messaging-replication-dotnet/tree/main/src/Azure.Messaging.Replication) with the replication samples.
5050

5151
### Retry policy
5252

@@ -80,7 +80,7 @@ Replication applications that must access Event Hubs bound to an Azure virtual n
8080

8181
The [samples repository](https://github.com/Azure-Samples/azure-messaging-replication-dotnet/) contains several examples of replication tasks that copy events between Event Hubs and/or between Service Bus entities.
8282

83-
For copying event between Event Hubs, you use an Event Hub Trigger with an Event Hub output binding:
83+
For copying event data between event hubs, you use an Event Hubs Trigger with an Event Hubs output binding:
8484

8585
```csharp
8686
[FunctionName("telemetry")]
@@ -112,9 +112,9 @@ The helper methods can make it easy to replicate between Event Hubs and Service
112112

113113
| Source | Target | Entry Point |
114114
|-------------|-------------|------------------------------------------------------------------------
115-
| Event Hub | Event Hub | `Azure.Messaging.Replication.EventHubReplicationTasks.ForwardToEventHub`
116-
| Event Hub | Service Bus | `Azure.Messaging.Replication.EventHubReplicationTasks.ForwardToServiceBus`
117-
| Service Bus | Event Hub | `Azure.Messaging.Replication.ServiceBusReplicationTasks.ForwardToEventHub`
115+
| Event Hubs | Event Hubs | `Azure.Messaging.Replication.EventHubReplicationTasks.ForwardToEventHub`
116+
| Event Hubs | Service Bus | `Azure.Messaging.Replication.EventHubReplicationTasks.ForwardToServiceBus`
117+
| Service Bus | Event Hubs | `Azure.Messaging.Replication.ServiceBusReplicationTasks.ForwardToEventHub`
118118
| Service Bus | Service Bus | `Azure.Messaging.Replication.ServiceBusReplicationTasks.ForwardToServiceBus`
119119

120120
### Monitoring

0 commit comments

Comments
 (0)