Azure EventHubs trigger template (Azure Functions)
Create your first Arcus Azure Functions with Azure EventHubs trigger project
First, install the template from NuGet:
> dotnet new install Arcus.Templates.AzureFunctions.EventHubs
When installed, the template can be created with shortname: arcus-az-func-eventhubs
:
> dotnet new arcus-az-func-eventhubs --name Arcus.Demo.AzureFunctions.EventHubs
Features
Creates a starter worker project with by default configured:
- Arcus secret store setup with Azure Key Vault secret provider (see more info here on what this includes)
- Serilog as logging mechanism with default enrichers (version, application, sinking to Application Insights.
- Dockerfile
Configuration
And additional features available with options:
-es|--exclude-serilog
: Exclude the Serilog logging infrastructure in the worker project which includes default enrichers (version and application), and sinking to Application Insights.