Skip to content

ConsumerGroupProps

Properties for defining a ConsumerGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-consumergroup

Initializer

using AlibabaCloud.SDK.ROS.CDK.Sls;
new ConsumerGroupProps {
    object ConsumerGroup,
    object Logstore,
    object Order,
    object Project,
    object Timeout
};

Properties

Name Type Description
ConsumerGroup object Property consumerGroup: The name of the consumer group.
Logstore object Property logstore: The name of the Logstore.
Order object Property order: Specifies whether to consume data in sequence.
Project object Property project: The name of the project.
Timeout object Property timeout: The timeout period.

ConsumerGroupRequired

public object ConsumerGroup { get; set; }
  • Type: object

Property consumerGroup: The name of the consumer group.

The name must be unique in a project.


LogstoreRequired

public object Logstore { get; set; }
  • Type: object

Property logstore: The name of the Logstore.


OrderRequired

public object Order { get; set; }
  • Type: object

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

public object Project { get; set; }
  • Type: object

Property project: The name of the project.


TimeoutRequired

public object Timeout { get; set; }
  • Type: object

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.