Fix ReceiveTimeout documentation and configuration

This commit is contained in:
gdooper 2018-03-08 23:06:48 -07:00
Родитель 1f1fdace9e
Коммит 8991eb8359
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -27,8 +27,8 @@ Here are the configurable values -
| IotHub.Partitions | String | Yes | | The access key for the IoT Hub. In the Azure Portal, navigate to "IoT Hub" >> your hub >> "Endpoints" >> "Events" >> "Partitions". |
| IotHub.StartTime | String | No | (Unused if not supplied) | The time from which to start retrieving messages from IoT Hub. The value should be in UTC and in the format yyyy-mm-ddThh:mm:ssZ. This setting is mutually exclusive with IotHub.Offsets. |
| IotHub.Offsets | String | No | (Unused if not supplied) | The offsets for each IoT Hub partition from which to start retrieving messages from IoTHub, as a comma separated string. For example, for 4 partitions, the value would be something like "abc,lmn,pqr,xyz". This setting is mutually exclusive with IotHub.StartTime. |
| BatchSize | Int | No | 100 | The size of each batch for retrieving entries from IoT Hub. |
| RequestTimeout | Int | No | 60 | The max duration in seconds to spend receiving entries from IoT Hub. |
| BatchSize | Int | No | 100 | The size of each batch for retrieving messages from IoT Hub. |
| ReceiveTimeout | Int | No | 60 | The max duration in seconds to wait for a full batch when retrieving messages from IoT Hub. |
> Note: If IotHub.StartTime is specified, then the value for IotHub.Offsets is ignored.
> If neither IotHub.StartTime not IotHub.Offsets are specified, then the messages are retrieved from the IoT Hub from
@ -50,7 +50,7 @@ IotHub.Partitions=4
IotHub.StartTime=2016-11-28T00:00:00Z
IotHub.Offsets=
BatchSize=100
RequestTimeout=60
ReceiveTimeout=60
```
### Building and running

Просмотреть файл

@ -54,8 +54,8 @@ IotHub.StartTime=PLACEHOLDER
# If StartTime is provided, the Offsets value will be ignored.
IotHub.Offsets=PLACEHOLDER
# The size of each batch for retrieving entries from IoTHub. The max supported value is 999.
# The size of each batch for retrieving messages from IoTHub. The max supported value is 999.
BatchSize=100
# The max duration in seconds to spend receiving entries from IoTHub. The default is 60.
# The max duration in seconds to wait for a full batch when retrieving messages from IoTHub. The default is 60.
ReceiveTimeout=60