Skip to content

Add send and receive commands#1

Merged
zmoog merged 4 commits intomainfrom
zmoog/receive
Mar 13, 2023
Merged

Add send and receive commands#1
zmoog merged 4 commits intomainfrom
zmoog/receive

Conversation

@zmoog
Copy link
Copy Markdown
Owner

@zmoog zmoog commented Mar 12, 2023

Motivation

I need a simple CLI tool to:

  • receive from an event hub and print it to the stdout.
  • send data to and event hub

The can help a lot on development and troubleshooting of event hub related apps.

Change description

Add a simple implementation of a receive and send commands using https://devblogs.microsoft.com/azure-sdk/announcing-the-stable-release-of-the-python-event-hubs-client-library-using-pure-python-amqp-stack/ as starting point.

Additional Notes

Relates: zmoog/public-notes#25

Reviewer checklist

  • PR address a single concern.
  • PR title and description are appropriately filled.
  • Changes will be merged in main.
  • Changes are covered by tests.
  • Logging is meaningful in case of troubleshooting.
  • Docs are updated (at least the README.md, if needed).
  • History is clean, commit messages are meaningful (see CONTRIBUTING.md) and are well-formatted.

@zmoog zmoog self-assigned this Mar 12, 2023
@zmoog zmoog added the enhancement New feature or request label Mar 12, 2023
I am using again the article [^1] as a starting point to send a simple
single message to the event hub

Note: I added the `Send` permission to the SAS Policy.

refs: zmoog/public-notes#25

[^1]: https://devblogs.microsoft.com/azure-sdk/announcing-the-stable-release-of-the-python-event-hubs-client-library-using-pure-python-amqp-stack/
@zmoog zmoog changed the title Add eventdata receive command Add send and receive commands Mar 12, 2023
@zmoog zmoog marked this pull request as ready for review March 13, 2023 00:42
@zmoog zmoog merged commit 6ac5a8f into main Mar 13, 2023
@zmoog zmoog deleted the zmoog/receive branch March 13, 2023 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant