Skip to content

AsyncAPI and NServiceBus #7339

@JoostvdB94

Description

@JoostvdB94

Describe the feature.

AsyncAPI is an open-source specification that provides a standard way to define:

  • Event-driven services
  • Message brokers
  • Topics, channels, and event payloads

It makes it easier to document, understand, visualize, and generate code for message-based systems.

Is your feature related to a problem? Please describe.

NServiceBus already supports native integration. This requires at least 1 header, but in some cases several.
Exchanging the requested and published messages and it's headers using a language-agnostic interface specification would greatly increase the inoperability with languages other than C#.

Describe alternatives you've considered

I already looked into the extension points provided by NServiceBus, but couldn't find a way to list all messages that are sent by an application.

Another option could be to be able to generate a AsyncAPI document from ServiceInsight, as it has information on published and subscribed events.

Additional Context

We have created two samples to demonstrate how it can be used with NServiceBus:

There was a choice of two .NET AsyncAPI packages to use:

Neuroglia AsyncAPI was chosen as it supports the latest version of AsyncAPI.

Here are some questions that we are interested in understanding more:

  • In what context do you use AsyncAPI?
  • Are there any specific use cases that need to be supported?
  • Do you publish/register the generated document schemas? If so, where?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions