Skip to content

Conversation

@SzymonPobiega
Copy link
Member

@SzymonPobiega SzymonPobiega commented Feb 18, 2025

Azure Service Bus transport 5 introduces new event delivery topology using topic-per-type approach. This change affects how ServiceControl publishes integration events.

Behavior:

  • By default ServiceControl uses the new topic-per-event topology
  • If a topic to publish is provided via connection string TopicName property, ServiceControl uses the migration topology that allows publishing events in the way they can be processed by older versions of the transport
  • If custom settings are needed they can be provided via ServiceControl.Transport.ASBS/Topology setting. This option allows mixing topic-per-event and single-topic approaches if there are subscribers that use both versions

 - By default uses migration topology with budnle-1 topic
 - Can override the single topic via connection string
 - Can provide custom topology options via ServiceControl.Transport.ASBS/Topic setting
@SzymonPobiega SzymonPobiega self-assigned this Feb 18, 2025
- Connection string has precedence over custom config
@SzymonPobiega
Copy link
Member Author

@danielmarbach I pushed the latest approach that takes advantage of AddTransportForPrimaryCore to only add mappings when needed.

@danielmarbach
Copy link
Contributor

Approving but we should probably wait with merging until we have the final version right?

@ramonsmits
Copy link
Member

  • uses topic-per-event topology

@SzymonPobiega @danielmarbach

That is a HUGE breaking change. Please don't make that the default! It would break any subscribers to SC events if these would not be using the new topology. As SC needs to be wirecompatible with prior Core versions you can't make this the default without explicit consent.

Another option is explicit opt-in during upgrade OR make hybrid the default.

Please don't do a hidden breaking transport change.

@SzymonPobiega SzymonPobiega changed the title Upgrades SC to the new Azure Topology Update to Azure Service Bus 5 Feb 26, 2025
@SzymonPobiega SzymonPobiega merged commit 5e0946f into master Feb 26, 2025
32 checks passed
@SzymonPobiega SzymonPobiega deleted the upgrade-to-new-asb-topology branch February 26, 2025 13:48
@SzymonPobiega SzymonPobiega added this to the 6.4.0 milestone Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants