acl_describe_request.go 490 B

12345678910111213141516171819202122232425
  1. package sarama
  2. type DescribeAclsRequest struct {
  3. AclFilter
  4. }
  5. func (d *DescribeAclsRequest) encode(pe packetEncoder) error {
  6. return d.AclFilter.encode(pe)
  7. }
  8. func (d *DescribeAclsRequest) decode(pd packetDecoder, version int16) (err error) {
  9. return d.AclFilter.decode(pd, version)
  10. }
  11. func (d *DescribeAclsRequest) key() int16 {
  12. return 29
  13. }
  14. func (d *DescribeAclsRequest) version() int16 {
  15. return 0
  16. }
  17. func (d *DescribeAclsRequest) requiredVersion() KafkaVersion {
  18. return V0_11_0_0
  19. }