Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame^] | 1 | package sarama |
| 2 | |
| 3 | type ConfigResourceType int8 |
| 4 | |
| 5 | // Taken from : |
| 6 | // https://cwiki.apache.org/confluence/display/KAFKA/KIP-133%3A+Describe+and+Alter+Configs+Admin+APIs#KIP-133:DescribeandAlterConfigsAdminAPIs-WireFormattypes |
| 7 | |
| 8 | const ( |
| 9 | UnknownResource ConfigResourceType = 0 |
| 10 | AnyResource ConfigResourceType = 1 |
| 11 | TopicResource ConfigResourceType = 2 |
| 12 | GroupResource ConfigResourceType = 3 |
| 13 | ClusterResource ConfigResourceType = 4 |
| 14 | BrokerResource ConfigResourceType = 5 |
| 15 | ) |