Command line Azure ServiceBus Explorer
Explore Azure Service Bus on command line. You can send, receive, peek message from topic/subscriptions.
Installation
Requires python >= 3.7.4
pip install asb-cli-explorer
Quick start
Send a messge.
export SB_CONN_STR="Endpoint=sb://<full conn string having sender or manage role>"
asb-tour send --conn-str=${SB_CONN_STR} --topic=test-topic --props key1=va1,key2=value2 '{"hello":"world"}'
# using json file
asb-tour send --conn-str=${SB_CONN_STR} --topic=test-topic --props key1=va1,key2=value2 --data-file /path/to/payload_file
Peek/stream messge from a subscription asynchronously forever. Press 'Ctrl+C' to stop.
export SB_CONN_STR="Endpoint=sb://<full conn string having receiver or manage role>"
asb-tour peek --topic=test-topic --subscription=log --show-user-props --show-system-props
# optionaly pipe it to `jq` to get pretty printing and futher transformations
asb-tour peek --topic=test-topic --subscription=log --show-user-props --show-system-props | jq
List messages from subscription's dead letter queue (dlq).
export SB_CONN_STR="Endpoint=sb://<full conn string having receiver or manage role>"
asb-tour dlq peek --topic=test-topic --subscription=log --count=10
Move/Copy dlq messages to topics
export SB_CONN_STR="Endpoint=sb://<full conn string having receiver or manage role>"
asb-tour dlq move --topic=test-topic --subscription=log <message-ids>
asb-tour dlq copy --topic=test-topic --subscription=log <message-ids>
asb-tour dlq purge --topic=test-topic --subscription=log
Explore Topics, Subscriptions: Messages & DLQ
You can also explore messages using Terminal User Interface [TUI].
export SB_CONN_STR="Endpoint=sb://<full conn string having manage role>"
asb-tour explore
Metadata
Release files for asb-cli-explorer 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asb-cli-explorer-0.1.8.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asb_cli_explorer-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.7 kB
Release files / asb-cli-explorer-0.1.8.tar.gz
| Download URL | asb-cli-explorer-0.1.8.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ab6a64f2b59967adcf58c6e21e3fdba8f27897cf64972869fe8cb3a8309f9a8
|
|
BLAKE2b-256 checksum How to use checksums |
491e1cb1d44a2d2a1db276bb711ed1c3ee20c262ecc38907ce733e2e58b8fecc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Release files / asb_cli_explorer-0.1.8-py3-none-any.whl
| Download URL | asb_cli_explorer-0.1.8-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f1777d971fa29baf7f337dc3ecebdac90de3c32823f82c839a3b2038f8702a0
|
|
BLAKE2b-256 checksum How to use checksums |
ff825b2f7eef14a9599f795d6f73627206bfdab8c087aae46941cc3176c07621
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|