{"id":22538396,"url":"https://github.com/shuttle/shuttle.esb.azureeventhubs","last_synced_at":"2026-02-11T20:08:09.334Z","repository":{"id":62794650,"uuid":"561734394","full_name":"Shuttle/Shuttle.Esb.AzureEventHubs","owner":"Shuttle","description":"Azure Event Hubs implementation for use with Shuttle.Esb.","archived":false,"fork":false,"pushed_at":"2025-03-02T14:06:37.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T22:14:20.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shuttle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-04T11:21:10.000Z","updated_at":"2025-03-02T14:06:40.000Z","dependencies_parsed_at":"2024-11-24T09:19:05.066Z","dependency_job_id":"45e0d693-6bba-4c48-b2f3-4af87987701a","html_url":"https://github.com/Shuttle/Shuttle.Esb.AzureEventHubs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuttle%2FShuttle.Esb.AzureEventHubs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuttle%2FShuttle.Esb.AzureEventHubs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuttle%2FShuttle.Esb.AzureEventHubs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuttle%2FShuttle.Esb.AzureEventHubs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shuttle","download_url":"https://codeload.github.com/Shuttle/Shuttle.Esb.AzureEventHubs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248104792,"owners_count":21048404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-07T11:11:52.610Z","updated_at":"2026-02-11T20:08:09.279Z","avatar_url":"https://github.com/Shuttle.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AzureEventHubs\n\n```\nPM\u003e Install-Package Shuttle.Esb.AzureEventHubs\n```\n\n## Configuration\n\nThe URI structure is `azureeh://configuration-name/queue-name`.\n\n```c#\nservices.AddAzureEventHubs(builder =\u003e\n{\n    var eventHubQueueOptions = new EventHubQueueOptions\n    {\n        ConnectionString = \"UseDevelopmentStorage=true\",\n        ProcessEvents = false,\n        ConsumerGroup = EventHubConsumerClient.DefaultConsumerGroupName,\n        BlobStorageConnectionString = \"{BlobStorageConnectionString}\",\n        BlobContainerName = \"{BlobContainerName}\",\n        OperationTimeout = TimeSpan.FromSeconds(30),\n        ConsumeTimeout = TimeSpan.FromSeconds(30),\n        DefaultStartingPosition = EventPosition.Latest\n    };\n\n    eventHubQueueOptions.ConfigureProducer += (sender, args) =\u003e\n    {\n        Console.WriteLine($\"[event] : ConfigureProducer / Uri = '{((IQueue)sender).Uri}'\");\n    };\n\n    eventHubQueueOptions.ConfigureBlobStorage += (sender, args) =\u003e\n    {\n        Console.WriteLine($\"[event] : ConfigureBlobStorage / Uri = '{((IQueue)sender).Uri}'\");\n    };\n\n    eventHubQueueOptions.ConfigureConsumer += (sender, args) =\u003e\n    {\n        Console.WriteLine($\"[event] : ConfigureConsumer / Uri = '{((IQueue)sender).Uri}'\");\n    };\n\n    builder.AddOptions(\"azure\", eventHubQueueOptions);\n});\n```\n\nIn the `Configure` events the `args` arugment exposes the relevant client options directly should you need to set an values explicitly.\n\nThe default JSON settings structure is as follows:\n\n```json\n{\n  \"Shuttle\": {\n    \"AzureEventHubs\": {\n      \"azure\": {\n        \"ConnectionString\": \"UseDevelopmentStorage=true\",\n        \"ProcessEvents\": false,\n        \"ConsumerGroup\": \"$Default\",\n        \"BlobStorageConnectionString\": \"{BlobStorageConnectionString}\",\n        \"BlobContainerName\": \"{BlobContainerName}\",\n        \"OperationTimeout\": \"00:00:30\",\n        \"ConsumeTimeout\": \"00:00:30\",\n        \"DefaultStartingPosition\": \"Latest\"\n      }\n    }\n  }\n}\n```\n\n## Options\n\n| Segment / Argument | Default | Description |\n| --- | --- | --- | \n| `ConnectionString` | | The Azure Event Hubs endpoint to connect to. |\n| `ProcessEvents` | `false` | Indicates whether the endpoint will process messages.  If `true`, an `EventProcessorClient` is instanced and configured. |\n| `ConsumerGroup` | \"$Default\" | The consumer group to use when processing events. |\n| `BlobStorageConnectionString` | | The Azure Storage Account endpoint to connect to in order to perform checkpoints. |\n| `BlobContainerName` | | The blob container name where checkpoints will be stored. |\n| `OperationTimeout` | \"00:00:30\" | The duration to wait for relevant `async` methods to complete before timing out. |\n| `ConsumeTimeout` | \"00:00:30\" | The duration to poll for messages before returning `null`. |\n| `DefaultStartingPosition` | | The default starting position to use when no checkpoint exists. |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuttle%2Fshuttle.esb.azureeventhubs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshuttle%2Fshuttle.esb.azureeventhubs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuttle%2Fshuttle.esb.azureeventhubs/lists"}