Azure Event Hubs subscriber logger

Description

ezvpn/iohub-tools-azureeventhubs-sub is a Docker container designed for debugging purposes.

Azure Event Hubs logger schema

ezvpn/iohub-tools-azureeventhubs-sub subscribes to Azure Event Hubs and logs on console the incoming messages. Meant only for local debug.

Please check the Debug Tools documentation if you need to display the Docker console locally.

Otherwise, you can install the web logger application to get access to the logs.

How to use it

ezvpn/iohub-tools-azureeventhubs-sub is a Docker container image pre-configured for communication with ezvpn-mqtt-azureeventhubs. To use, install it along with ezvpn-mqtt-azureeventhubs or an Azure Event Hubs service.

Environment variables

When you start the ezvpn/iohub-tools-azureeventhubs-sub image, you can adjust the instance's configuration by passing one or more environment variables to the docker run command.

  • EH_EVENT_HUB_NAME: Event Hub name. Must be provided.
  • EH_CONNECTION_STRING: Event Hubs Connection string. Must be provided.
  • EH_EVENT_HUB_CONSUMER_GROUP: Event Hubs consumer group. Defaults to $Default.
  • EZ_STORAGE_CONTAINER_NAME: Storage Container name.
  • EH_STORAGE_CONNECTION_STRING: Storage Connection string.

Docker Container details

Image: ezvpn/iohub-tools-azureeventhubs-sub

Supported architecture: amd64

Running locally with Docker

Example of running an ezvpn/iohub-tools-azureeventhubs-sub Docker container:

docker run -it --rm -e EH_EVENT_HUB_NAME="<your hub name>" \
    -e EH_CONNECTION_STRING="<your connection string>" \
    ezvpn/iohub-tools-azureeventhubs-sub

Changelog

v1.0.1
  • Smaller image
v1.0.0
  • First Release