Skip to content

Build an eventhub-cli in Python #25

@zmoog

Description

@zmoog

I want to build a simple Python-based CLI tool to receive and publish messages on Azure Event Hub.

Python is the ideal tool to prototype and build simple CLI tools.

UX

# config using options
eh eventdata receive --connection-string "Endpoint=sb://..." --namespace mynamespace --name myeventhub

# config using env vars
export EVEBTHUB_CONNECTION_STRING=“..”
eh eventdata receive --name azurelogs

# send
eh eventdata send --name azurelogs --data ‘{“foo”: “bar”}’

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions