InfluxDBBatchConfig
The batching configuration of an InfluxDB rule action. AWS IoT closes a batch and writes it to InfluxDB when the first of the configured limits is reached.
Contents
- batchAcrossTopics
-
Specifies whether to collect data points from different topics into the same batch.
If omitted or
false, AWS IoT batches data points for each topic separately.Type: Boolean
Required: No
- maxBatchOpenMs
-
The maximum length of time, in milliseconds, to keep a batch open before writing it to InfluxDB.
If you don't specify a value, this limit doesn't apply. AWS IoT then closes each batch when another configured limit is reached.
Type: Integer
Valid Range: Minimum value of 5. Maximum value of 1000.
Required: No
- maxBatchSize
-
The maximum number of data points to collect in a batch.
If you don't specify a value, this limit doesn't apply. AWS IoT then closes each batch when another configured limit is reached.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 500.
Required: No
- maxBatchSizeBytes
-
The maximum size of a batch, in bytes, before AWS IoT writes it to InfluxDB.
If you don't specify a value, this limit doesn't apply. AWS IoT then closes each batch when another configured limit is reached.
Type: Integer
Valid Range: Minimum value of 100. Maximum value of 131072.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: