Update eventhub_consumer README.
This commit is contained in:
parent
1b187b173d
commit
9508bbdf29
|
@ -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.
|
## 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.
|
## 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
|
## Set persistence directory to a valid folder to use a file persister instead of an in-memory persister
|
||||||
# persistence_dir = ""
|
# 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.
|
## 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.
|
## These could for example be set by message enrichments in Azure IoT Hub.
|
||||||
application_property_tags = []
|
# application_property_tags = []
|
||||||
application_property_fields = []
|
# application_property_fields = []
|
||||||
|
|
||||||
## Tag or field name to use for metadata
|
## Tag or field name to use for metadata
|
||||||
## By default all metadata is disabled
|
## 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"
|
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
|
||||||
|
|
|
@ -81,7 +81,7 @@ func (*EventHub) SampleConfig() string {
|
||||||
|
|
||||||
## Uncommenting the option below will create an Event Hub client based solely on the connection 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.
|
## 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
|
## Set persistence directory to a valid folder to use a file persister instead of an in-memory persister
|
||||||
# persistence_dir = ""
|
# persistence_dir = ""
|
||||||
|
@ -119,8 +119,8 @@ func (*EventHub) SampleConfig() string {
|
||||||
|
|
||||||
## Tags or fields to create from keys present in the application property bag.
|
## 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.
|
## These could for example be set by message enrichments in Azure IoT Hub.
|
||||||
application_property_tags = []
|
# application_property_tags = []
|
||||||
application_property_fields = []
|
# application_property_fields = []
|
||||||
|
|
||||||
## Tag or field name to use for metadata
|
## Tag or field name to use for metadata
|
||||||
## By default all metadata is disabled
|
## By default all metadata is disabled
|
||||||
|
|
Loading…
Reference in New Issue