Skip to content

Commit 96973dc

Browse files
committed
Make Functions 2.x first.
1 parent 84218f1 commit 96973dc

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

includes/functions-host-json-event-hubs.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,6 @@ ms.date: 09/04/2018
66
ms.author: glenga
77
---
88

9-
### Functions 1.x
10-
11-
```json
12-
{
13-
"eventHub": {
14-
"maxBatchSize": 64,
15-
"prefetchCount": 256,
16-
"batchCheckpointFrequency": 1
17-
}
18-
}
19-
```
20-
21-
|Property |Default | Description |
22-
|---------|---------|---------|
23-
|maxBatchSize|64|The maximum event count received per receive loop.|
24-
|prefetchCount|n/a|The default pre-fetch that will be used by the underlying `EventProcessorHost`.|
25-
|batchCheckpointFrequency|1|The number of event batches to process before creating an EventHub cursor checkpoint.|
26-
27-
> [!NOTE]
28-
> For a reference of host.json in Azure Functions 1.x, see [host.json reference for Azure Functions 1.x](../articles/azure-functions/functions-host-json-v1.md).
29-
309
### Functions 2.x and higher
3110

3211
```json
@@ -52,3 +31,25 @@ ms.author: glenga
5231

5332
> [!NOTE]
5433
> For a reference of host.json in Azure Functions 2.x and beyond, see [host.json reference for Azure Functions](../articles/azure-functions/functions-host-json.md).
34+
35+
### Functions 1.x
36+
37+
```json
38+
{
39+
"eventHub": {
40+
"maxBatchSize": 64,
41+
"prefetchCount": 256,
42+
"batchCheckpointFrequency": 1
43+
}
44+
}
45+
```
46+
47+
|Property |Default | Description |
48+
|---------|---------|---------|
49+
|maxBatchSize|64|The maximum event count received per receive loop.|
50+
|prefetchCount|n/a|The default pre-fetch that will be used by the underlying `EventProcessorHost`.|
51+
|batchCheckpointFrequency|1|The number of event batches to process before creating an EventHub cursor checkpoint.|
52+
53+
> [!NOTE]
54+
> For a reference of host.json in Azure Functions 1.x, see [host.json reference for Azure Functions 1.x](../articles/azure-functions/functions-host-json-v1.md).
55+

0 commit comments

Comments
 (0)