Skip to content

TopicProps

Properties for defining a Topic.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-datahub-topic

Initializer

using AlibabaCloud.SDK.ROS.CDK.Datahub;
new TopicProps {
    object Comment,
    object ProjectName,
    object RecordType,
    object TopicName,
    object Lifecycle = null,
    object RecordSchema = null,
    object ShardCount = null
};

Properties

Name Type Description
Comment object Property comment: The comment of topic.
ProjectName object Property projectName: The name of the project.
RecordType object Property recordType: Record type.
TopicName object Property topicName: The name of the topic.
Lifecycle object Property lifecycle: Data storage life cycle.
RecordSchema object Property recordSchema: When creating a TUPLE type topic, you need to specify the schema, but the BLOB type does not pass this parameter.
ShardCount object Property shardCount: Initial shard number.

CommentRequired

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

Property comment: The comment of topic.


ProjectNameRequired

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

Property projectName: The name of the project.

Length [3, 32]. Beginning with characters, only characters, numbers and _ are allowed.


RecordTypeRequired

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

Property recordType: Record type.

TUPLE: structured data, BLOB: unstructured data.


TopicNameRequired

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

Property topicName: The name of the topic.

Length [3, 64]. Beginning with characters, only characters, numbers and _ are allowed.


LifecycleOptional

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

Property lifecycle: Data storage life cycle.


RecordSchemaOptional

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

Property recordSchema: When creating a TUPLE type topic, you need to specify the schema, but the BLOB type does not pass this parameter.


ShardCountOptional

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

Property shardCount: Initial shard number.