Expose partitioning, max entity size and HierarchyNamespaceOptions#77
Merged
andreasohlund merged 2 commits intomainfrom Apr 23, 2026
Merged
Expose partitioning, max entity size and HierarchyNamespaceOptions#77andreasohlund merged 2 commits intomainfrom
andreasohlund merged 2 commits intomainfrom
Conversation
… the asb transport
Member
Author
|
Tested HierarchyNamespaces and it works as expected. To configure, users would have to:
|
danielmarbach
approved these changes
Apr 23, 2026
| using Transport.AzureServiceBus; | ||
|
|
||
| [TestFixture] | ||
| public class AzureServiceBusServerlessTransportTests |
Contributor
There was a problem hiding this comment.
For me, tests like that are usually of very little value because you can literally review the code to spot errors. That being said, I'm also not opposed to keeping it.
DavidBoike
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR exposes a small set of additional Azure Service Bus transport settings on
AzureServiceBusServerlessTransportso Azure Functions endpoints can configure the same infrastructure/topology concerns that make sense in the Functions hosting model.Changes
AzureServiceBusServerlessTransportfor:EnablePartitioningEntityMaximumSizeHierarchyNamespaceOptionsRationale
EnablePartitioningandEntityMaximumSizeare relevant in Azure Functions because the transport can still create infrastructure on startup, just like the regular Azure Service Bustransport. Exposing them keeps the serverless transport aligned with that behavior and with the already-exposed
AutoForwardDeadLetteredMessagesToErrorQueuesetting.HierarchyNamespaceOptionsis also a good fit, but for a slightly different reason: it not only influences infrastructure setup, but it also has runtime effects because it shapes the queuenames, topic names, and transport destination resolution.