ConsumerGroupProps
Properties for defining a ConsumerGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-consumergroup
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksls"
&alicloudroscdksls.ConsumerGroupProps {
ConsumerGroup: interface{},
Logstore: interface{},
Order: interface{},
Project: interface{},
Timeout: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
ConsumerGroup |
interface{} |
Property consumerGroup: The name of the consumer group. |
Logstore |
interface{} |
Property logstore: The name of the Logstore. |
Order |
interface{} |
Property order: Specifies whether to consume data in sequence. |
Project |
interface{} |
Property project: The name of the project. |
Timeout |
interface{} |
Property timeout: The timeout period. |
ConsumerGroupRequired
ConsumerGroup interface{}
- Type: interface{}
Property consumerGroup: The name of the consumer group.
The name must be unique in a project.
LogstoreRequired
Logstore interface{}
- Type: interface{}
Property logstore: The name of the Logstore.
OrderRequired
Order interface{}
- Type: interface{}
Property order: Specifies whether to consume data in sequence.
Valid values: true In a shard, data is consumed in ascending order based on the value of the *tag*:receive_time**** field. If a shard is split, data in the original shard is consumed first. Then, data in the new shards is consumed at the same time. If shards are merged, data in the original shards is consumed first. Then, data in the new shard is consumed. false Data in all shards is consumed at the same time. If a new shard is generated after a shard is split or after shards are merged, data in the new shard is immediately consumed.
ProjectRequired
Project interface{}
- Type: interface{}
Property project: The name of the project.
TimeoutRequired
Timeout interface{}
- Type: interface{}
Property timeout: The timeout period.
If the server does not receive heartbeats from a consumer within the timeout period, the server deletes the consumer. Unit: seconds.