Skip to content

Commit 98df25e

Browse files
committed
Adding explicit consumerGroup to EventHub sample function metadata
1 parent c122cb0 commit 98df25e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

sample/EventHubTrigger/function.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"name": "input",
66
"direction": "in",
77
"connection": "AzureWebJobsEventHubReceiver",
8-
"path": "%AzureWebJobsEventHubPath%"
8+
"path": "%AzureWebJobsEventHubPath%",
9+
"consumerGroup": "$Default"
910
},
1011
{
1112
"type": "eventHub",

test/WebJobs.Script.Tests/TestScripts/Node/EventHubTrigger/function.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"name": "workItem",
66
"direction": "in",
77
"connection": "AzureWebJobsEventHubReceiver",
8-
"path": "%AzureWebJobsEventHubPath%"
8+
"path": "%AzureWebJobsEventHubPath%",
9+
"consumerGroup": "$Default"
910
},
1011
{
1112
"type": "blob",

0 commit comments

Comments
 (0)