ServiceBusAdmin 1.0.3

dotnet tool install --global ServiceBusAdmin --version 1.0.3
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local ServiceBusAdmin --version 1.0.3
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ServiceBusAdmin&version=1.0.3
nuke :add-package ServiceBusAdmin --version 1.0.3

Goal

Manage messages in your Azure Service Bus namespace with handy CLI. Send, peek and receive messages from your Service Bus entities.

Output format of ServiceBusAdmin is JSON so peeked messages can be easily filtered and transformed with tools like jq. Once you find messages that you were looking for, you can resend them to given Service Bus entity by either using their unique sequence numbers or by exporting them to a file and sending in batch mode.

Quick start

  1. Install ServiceBusAdmin .NET tool from nuget
    dotnet tool install --global ServiceBusAdmin
    
  2. Configure connection string to your Service Bus Namespace with environment variable
    export SEBA_CONNECTION_STRING="<service_bus_connection_string>"
    
  3. Verify your connection string
    seba props
    
    If connection string you configured is valid then you should see output similar to
    {"NamespaceName":"ssz-playground","CreatedTime":"2021-11-08T09:24:12.41+00:00","ModifiedTime":"2021-11-09T09:23:31.117+00:00"}
    
  4. Check status of entities in your Service Bus Namespace
    seba status
    
  5. Peek messages from a subscription's dead letter queue
    seba subscription peek <topic_name>/<subscription_name> -dlq --max 20
    
    This will return only messages' metadata. If you need their body as well, then use additional option --output-content all
  6. Every command has --help option. Use it to find out more about supported options, arguments and sub-commands.
    seba --help
    
  7. Common usage scenarios can be found on this documentation page.
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.3 323 12/21/2021
1.0.2 256 12/16/2021
1.0.1 231 12/16/2021
1.0.0 219 12/15/2021
0.6.3 391 12/15/2021
0.6.2 212 12/15/2021
0.6.1 249 12/13/2021
0.6.0 237 12/13/2021
0.5.0 344 12/12/2021
0.4.0 240 12/8/2021
0.3.0 259 12/5/2021
0.2.0 260 12/5/2021
0.1.7 261 12/4/2021
0.1.6 560 11/21/2021
0.1.5 570 11/21/2021
0.1.3 540 11/21/2021
0.1.2 548 11/21/2021