Skip to content

User guide

Ahmed Elharouny edited this page Apr 29, 2022 · 59 revisions

Setup and permissions

Setup for your tenant

To setup Service Bus Cloud Explorer to be used for your tenant; create a Service Bus Cloud Explorer resource in Azure Portal or from Azure Marketplace. For more details on setup process; please visit: Setup in your tenant page.

Start the app and login

To start Service Bus Cloud Explorer; users need to navigate to servicebus.cloudbricks.io and login with their organization accounts.

Provide Consent

During the first time any user logs in to the app, a consent screen will show up (if your organization administrator didn't consent on behalf of all users). Users have to consent on the following:

  1. Access Azure Service Management As you. This is required as the app users Azure Service Management APIs to load all namespaces, topics, queues and other information like active message counts and dead letter queue counts.
  2. Have full access to Azure Service Bus service This is required to be able to perform service bus operation on behalf of logged in user like peeking a message off a queue or sending a message to a topic. (Please note that App access is limited to the access of the user despite what appears in the title.)
  3. View your basic profile. This is required to log in users and get access to basic information like user email.
  4. Maintain access to data you have give it access to. This is required to be able to use refresh tokens to avoid having to log in users every time they use the app.

Consent Screen

Log out

The name of the logged-in user will appear in the application top bar. To log out; click on user name and click log out button from the popup menue.

image

Authenticate via user identity

The default method to authenticate to Service Bus entities is via user's Azure AD identity.

image

A basic read access over Service Bus namespaces is enough to populate all entities in left sidebar. In addition to that; the following permissions might be needed:

  • To send messages via user identity; users need Azure Service Bus Data Sender permission.
  • To peek or receive messages via user identity; users need Azure Service Bus Data Receiver permission.

The following screenshot is showing the permissions applied on a Resource Group level: Required Permissions

Explore Service Bus Entities

On the left sidebar, a tree of all namespaces in which the logged-in user have access to will show up. Users can expand nodes of the tree, which will load selected entities i.e. topics, queues and subscriptions on demand. Multiple namespaces can be expanded at the same time:

image

Filter entities

Users can filter topic and queues by name to narrow down the tree to a subset or a specific entity.

image

Message counts

In left sidebar you can see active and dead-lettered message counts for all entities in the format: [active], [dead-lettered].

image

Select entities

Users can set selected entity by clicking a topic, queue or subscription on the left sidebar. Which will reflect on entity information window:

image

Access Service Bus Messages

In the middle of the screen, the tab navigation is showing all the actions that can be performed on Service Bus messages: Browse, Send, Peek, Receive and Replay.

Browse Messages

Browse messages enables users to browse all messages in queues and subscriptions without locking them (i.e. message retry count will not be increased upon reading messages). For more information check message-browsing.

image

Filtering

Use the filtering functionality to filter rows of the grid via a particular criteria.

image

Show/Hide columns

Browse messages grid by-default displays few of the most important columns. However, you can use the show/hide column features to control what should be displayed.

image

Ordering

Use the ordering functionality to order by any column ascending or descending.

image

Apply limit

If you're dealing with a large number of messages you can use the limit dropdown to define an approximate number of messages to retrieve to save time and resources.

  • Loading messages will pause if number of loaded messages equals or more than defined limit.
  • Loading messages will resume if number of loaded messages are less than limit.

In the paging section you can see exactly how many messages loaded in memory.

image

Get Message Details

Click on any row on the grid to select the message and reveal its full details in the right sidebar. Press ctrl and click a selected row to unselect.

image

Clone this wiki locally