Update eventhub_consumer README.

This commit is contained in:
Daniel Nelson 2020-03-16 13:21:53 -07:00
parent 1b187b173d
commit 9508bbdf29
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
2 changed files with 10 additions and 8 deletions

View File

@ -30,7 +30,7 @@ The main focus for development of this plugin is Azure IoT hub:
## Uncommenting the option below will create an Event Hub client based solely on the connection string.
## This can either be the associated environment variable or hard coded directly.
# connection_string = "$EVENTHUB_CONNECTION_STRING"
# connection_string = ""
## Set persistence directory to a valid folder to use a file persister instead of an in-memory persister
# persistence_dir = ""
@ -68,8 +68,8 @@ The main focus for development of this plugin is Azure IoT hub:
## Tags or fields to create from keys present in the application property bag.
## These could for example be set by message enrichments in Azure IoT Hub.
application_property_tags = []
application_property_fields = []
# application_property_tags = []
# application_property_fields = []
## Tag or field name to use for metadata
## By default all metadata is disabled
@ -91,6 +91,8 @@ The main focus for development of this plugin is Azure IoT hub:
data_format = "influx"
```
### Additional Environment
#### Environment Variables
- Authentication with [AAD TokenProvider environment variables](https://github.com/Azure/azure-event-hubs-go#aad-tokenprovider-environment-variables)
[Full documentation of the available environment variables][envvar].
[envvar]: https://github.com/Azure/azure-event-hubs-go#environment-variables

View File

@ -81,7 +81,7 @@ func (*EventHub) SampleConfig() string {
## Uncommenting the option below will create an Event Hub client based solely on the connection string.
## This can either be the associated environment variable or hard coded directly.
# connection_string = "$EVENTHUB_CONNECTION_STRING"
# connection_string = ""
## Set persistence directory to a valid folder to use a file persister instead of an in-memory persister
# persistence_dir = ""
@ -119,8 +119,8 @@ func (*EventHub) SampleConfig() string {
## Tags or fields to create from keys present in the application property bag.
## These could for example be set by message enrichments in Azure IoT Hub.
application_property_tags = []
application_property_fields = []
# application_property_tags = []
# application_property_fields = []
## Tag or field name to use for metadata
## By default all metadata is disabled