Torch Log Service
Parameter | Type | Example | Description |
Parameter | Type | Example | Description |
max_fetch_log_group_count | int | 100 | The maximum number of log groups when the consumer consumes log data each time. Default value: 100. Maximum value: 1000. |
heartbeat_interval_in_second | int | 20 | The interval at which the consumer reports a heartbeat. Unit: seconds. |
data_fetch_interval_in_millisecond | int | 200 | The interval at which the consumer consumes log data. Unit: milliseconds. |
flush_checkpoint_interval_in_second | int | 5 | The interval at which the consumer uploads the consumption progress. Unit: seconds. |
consume_from | str | begin | The default consumer offset when the consumption starts. The value is consistent with that of From in the DescribeCursor API action. The parameter takes effect only when the consumer has not uploaded consumer offsets. |
ordered_consume | bool | False | Whether to enable consumption in sequence. If enabled, the consumer consumes log data based on the parent-child relationship of shard splitting. For example, Shard 0 is split into Shard 1 and Shard 2, while Shard 1 is then split into Shard 3 and Shard 4. If the feature is enabled, log data is consumed in the sequence of (Shard 0) > (Shard 1, Shard 2) > (Shard 2, Shard 3, Shard 4). |