https://github.com/zmoog/eh
eh is a command line tool to interact with Azure Event Hub
https://github.com/zmoog/eh
Last synced: about 1 year ago
JSON representation
eh is a command line tool to interact with Azure Event Hub
- Host: GitHub
- URL: https://github.com/zmoog/eh
- Owner: zmoog
- License: mit
- Created: 2022-05-03T14:01:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-13T10:27:59.000Z (over 1 year ago)
- Last Synced: 2025-03-13T11:30:30.736Z (over 1 year ago)
- Language: Go
- Size: 48.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eh
## ⚠️ WARNING ⚠️
This project is on hold, I am working on a Python version at https://github.com/zmoog/eventhubs.
## Usage
**eh** is a command line tool to dump messages with Azure Event Hub.
```shell
EVENTHUB_CONNECTION_STRING='Endpoint=sb://whatever'
EVENTHUB_NAME="whatever"
EVENTHUB_NAMESPACE="whatever"
$ eh
event: [{"records": [{ "LogicalServerName": "DummyValue", "SubscriptionId": "00000000-0000-0000-0000-000000000000", "ResourceGroup": "DummyValue", "time": "2022-05-03T09:09:56.5496795Z", ... }]}]
```
I am currently using it to print the original events published to my test Event Hub.
## Refs
- [Event Hub Go client library](https://github.com/Azure/azure-event-hubs-go)
- [Event Hub service](https://azure.microsoft.com/en-us/services/event-hubs/)