How to set up infrastructure for SQS transport?

I’m using NServiceBus SQS Transport 5.7 to publish events, but topics are not created. There are no exceptions in the applications and localstack api is hit with AWS sns.ListTopics => 200 requests, but events are not published. They were publishing successfully to RabbitMQ before.

Here Topology • Amazon SQS Transport • Particular Docs it’s stated that subscribing endpoints create infrastructure, is this true? How am I supposed to create it if consumers do not use NServiceBus? I cannot run arbitrary shell scripts, but can use terraform. But then how do I know which resources NServiceBus expects to be present?

Andrii,

Yes the consumers are the ones that create the topics.
You will have to create the topic manually. What is required from the NSB side is:

  • Standard topic type
  • The topic name needs to match the fully qualified event type in C# that is being published.
    • eg. if event is MyEvent in namespace this.is.namespace then the topic name would be this-is-namespace-MyEvent (any dots are replaced with dashes)

Regards,
Jo