config_resource_type.go 472 B

123456789101112131415
  1. package sarama
  2. type ConfigResourceType int8
  3. // Taken from :
  4. // https://cwiki.apache.org/confluence/display/KAFKA/KIP-133%3A+Describe+and+Alter+Configs+Admin+APIs#KIP-133:DescribeandAlterConfigsAdminAPIs-WireFormattypes
  5. const (
  6. UnknownResource ConfigResourceType = 0
  7. AnyResource ConfigResourceType = 1
  8. TopicResource ConfigResourceType = 2
  9. GroupResource ConfigResourceType = 3
  10. ClusterResource ConfigResourceType = 4
  11. BrokerResource ConfigResourceType = 5
  12. )