模型定义
更新时间:2022-06-15
TopicCreateParameters
| 参数名称 | 类型 | 描述 |
|---|---|---|
| topicName | String | topic名称,只能包含大小写英文字母,数字,下划线_,横行-,不能使用双下划线__ |
| partitionCount | int | topic分区数,最少1个,最多10个 |
Topic
| 参数名称 | 类型 | 描述 |
|---|---|---|
| topicName | String | topic名称 |
| partitionCount | Int | 分区数,topic包含的总分区数量,定义参见Kafka官网/Topics and Logs |
| replicationFactor | Int | 副本数,每个分区的副本数量,定义参见Kafka官网/Replication |
| createTime | DateTime | topic创建时间 |
TopicAuthorizationParameters
| 参数名称 | 类型 | 描述 |
|---|---|---|
| topic | String | topic名称,只能包含大小写英文字母,数字,下划线_,横行-,不能使用双下划线__ |
| accountId | String | 用户Id |
| certificateSN | String | 证书序列号 |
| certificateId | String | 证书序列号(同certificateSN) |
| topicOperation | String | 权限信息,Read,Write,ReadWrite |
GroupAuthorizationParameters
| 参数名称 | 类型 | 描述 |
|---|---|---|
| accountId | String | 用户Id |
| certificateId | String | 证书序列号(同certificateSN) |
| consumerGroupName | String | consumerGroup名称 |
clusterPermission
| 参数名称 | 类型 | 描述 |
|---|---|---|
| accountId | String | 用户Id |
| cluster | String | 集群Id,集群标识,取值为KAFKA_01至KAFKA_10 |
| isVisible | boolean | 标识accountId对于当前集群是否有权限; true为有权限,false为无权限; |
