khenaidoo | ac63710 | 2019-01-14 15:44:34 -0500 | [diff] [blame] | 1 | package sarama |
| 2 | |
Scott Baker | beb3cfa | 2019-10-01 14:44:30 -0700 | [diff] [blame] | 3 | //ConfigResourceType is a type for config resource |
khenaidoo | ac63710 | 2019-01-14 15:44:34 -0500 | [diff] [blame] | 4 | type ConfigResourceType int8 |
| 5 | |
| 6 | // Taken from : |
| 7 | // https://cwiki.apache.org/confluence/display/KAFKA/KIP-133%3A+Describe+and+Alter+Configs+Admin+APIs#KIP-133:DescribeandAlterConfigsAdminAPIs-WireFormattypes |
| 8 | |
| 9 | const ( |
Scott Baker | beb3cfa | 2019-10-01 14:44:30 -0700 | [diff] [blame] | 10 | //UnknownResource constant type |
| 11 | UnknownResource ConfigResourceType = iota |
| 12 | //AnyResource constant type |
| 13 | AnyResource |
| 14 | //TopicResource constant type |
| 15 | TopicResource |
| 16 | //GroupResource constant type |
| 17 | GroupResource |
| 18 | //ClusterResource constant type |
| 19 | ClusterResource |
| 20 | //BrokerResource constant type |
| 21 | BrokerResource |
khenaidoo | ac63710 | 2019-01-14 15:44:34 -0500 | [diff] [blame] | 22 | ) |