DATASOURCE::KAFKA::Topic is used to query the information about a topic.
Syntax
{
"Type": "DATASOURCE::KAFKA::Topic",
"Properties": {
"InstanceId": String,
"Topic": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
InstanceId | String | Yes | Yes | The ID of the instance to which the topic belongs. | None. |
Topic | String | Yes | Yes | The topic name. | None. |
Return values
Fn::GetAtt
PartitionNum: the number of partitions in the topic.
CompactTopic: the log cleanup policy. This property is returned if LocalTopic is set to true.
InstanceId: the instance ID.
CreateTime: the time when the topic is created. Unit: milliseconds.
StatusName: the status of the service.
TopicStatus: the status of the topic.
Topic: the topic name.
LocalTopic: the storage engine of the topic.
Tags: the tags.
Remark: the remarks.