SYMBOL INDEX (3569 symbols across 290 files) FILE: acl_bindings.go type Resource (line 4) | type Resource struct method encode (line 10) | func (r *Resource) encode(pe packetEncoder, version int16) error { method decode (line 28) | func (r *Resource) decode(pd packetDecoder, version int16) (err error) { type Acl (line 50) | type Acl struct method encode (line 57) | func (a *Acl) encode(pe packetEncoder) error { method decode (line 72) | func (a *Acl) decode(pd packetDecoder, version int16) (err error) { type ResourceAcls (line 97) | type ResourceAcls struct method encode (line 102) | func (r *ResourceAcls) encode(pe packetEncoder, version int16) error { method decode (line 119) | func (r *ResourceAcls) decode(pd packetDecoder, version int16) error { FILE: acl_create_request.go type CreateAclsRequest (line 4) | type CreateAclsRequest struct method setVersion (line 9) | func (c *CreateAclsRequest) setVersion(v int16) { method encode (line 13) | func (c *CreateAclsRequest) encode(pe packetEncoder) error { method decode (line 27) | func (c *CreateAclsRequest) decode(pd packetDecoder, version int16) (e... method key (line 46) | func (c *CreateAclsRequest) key() int16 { method version (line 50) | func (c *CreateAclsRequest) version() int16 { method headerVersion (line 54) | func (c *CreateAclsRequest) headerVersion() int16 { method isValidVersion (line 58) | func (c *CreateAclsRequest) isValidVersion() bool { method requiredVersion (line 62) | func (c *CreateAclsRequest) requiredVersion() KafkaVersion { type AclCreation (line 72) | type AclCreation struct method encode (line 77) | func (a *AclCreation) encode(pe packetEncoder, version int16) error { method decode (line 88) | func (a *AclCreation) decode(pd packetDecoder, version int16) (err err... FILE: acl_create_request_test.go function TestCreateAclsRequestv0 (line 29) | func TestCreateAclsRequestv0(t *testing.T) { function TestCreateAclsRequestv1 (line 51) | func TestCreateAclsRequestv1(t *testing.T) { FILE: acl_create_response.go type CreateAclsResponse (line 6) | type CreateAclsResponse struct method setVersion (line 12) | func (c *CreateAclsResponse) setVersion(v int16) { method encode (line 16) | func (c *CreateAclsResponse) encode(pe packetEncoder) error { method decode (line 32) | func (c *CreateAclsResponse) decode(pd packetDecoder, version int16) (... method key (line 54) | func (c *CreateAclsResponse) key() int16 { method version (line 58) | func (c *CreateAclsResponse) version() int16 { method headerVersion (line 62) | func (c *CreateAclsResponse) headerVersion() int16 { method isValidVersion (line 66) | func (c *CreateAclsResponse) isValidVersion() bool { method requiredVersion (line 70) | func (c *CreateAclsResponse) requiredVersion() KafkaVersion { method throttleTime (line 79) | func (r *CreateAclsResponse) throttleTime() time.Duration { type AclCreationResponse (line 84) | type AclCreationResponse struct method encode (line 89) | func (a *AclCreationResponse) encode(pe packetEncoder) error { method decode (line 99) | func (a *AclCreationResponse) decode(pd packetDecoder, version int16) ... FILE: acl_create_response_test.go function TestCreateAclsResponse (line 28) | func TestCreateAclsResponse(t *testing.T) { FILE: acl_delete_request.go type DeleteAclsRequest (line 4) | type DeleteAclsRequest struct method setVersion (line 9) | func (d *DeleteAclsRequest) setVersion(v int16) { method encode (line 13) | func (d *DeleteAclsRequest) encode(pe packetEncoder) error { method decode (line 28) | func (d *DeleteAclsRequest) decode(pd packetDecoder, version int16) (e... method key (line 47) | func (d *DeleteAclsRequest) key() int16 { method version (line 51) | func (d *DeleteAclsRequest) version() int16 { method headerVersion (line 55) | func (d *DeleteAclsRequest) headerVersion() int16 { method isValidVersion (line 59) | func (d *DeleteAclsRequest) isValidVersion() bool { method requiredVersion (line 63) | func (d *DeleteAclsRequest) requiredVersion() KafkaVersion { FILE: acl_delete_request_test.go function TestDeleteAclsRequest (line 67) | func TestDeleteAclsRequest(t *testing.T) { function TestDeleteAclsRequestV1 (line 95) | func TestDeleteAclsRequestV1(t *testing.T) { FILE: acl_delete_response.go type DeleteAclsResponse (line 6) | type DeleteAclsResponse struct method setVersion (line 12) | func (d *DeleteAclsResponse) setVersion(v int16) { method encode (line 16) | func (d *DeleteAclsResponse) encode(pe packetEncoder) error { method decode (line 32) | func (d *DeleteAclsResponse) decode(pd packetDecoder, version int16) (... method key (line 53) | func (d *DeleteAclsResponse) key() int16 { method version (line 57) | func (d *DeleteAclsResponse) version() int16 { method headerVersion (line 61) | func (d *DeleteAclsResponse) headerVersion() int16 { method isValidVersion (line 65) | func (d *DeleteAclsResponse) isValidVersion() bool { method requiredVersion (line 69) | func (d *DeleteAclsResponse) requiredVersion() KafkaVersion { method throttleTime (line 78) | func (r *DeleteAclsResponse) throttleTime() time.Duration { type FilterResponse (line 83) | type FilterResponse struct method encode (line 89) | func (f *FilterResponse) encode(pe packetEncoder, version int16) error { method decode (line 107) | func (f *FilterResponse) decode(pd packetDecoder, version int16) (err ... type MatchingAcl (line 133) | type MatchingAcl struct method encode (line 140) | func (m *MatchingAcl) encode(pe packetEncoder, version int16) error { method decode (line 157) | func (m *MatchingAcl) decode(pd packetDecoder, version int16) (err err... FILE: acl_delete_response_test.go function TestDeleteAclsResponse (line 26) | func TestDeleteAclsResponse(t *testing.T) { FILE: acl_describe_request.go type DescribeAclsRequest (line 4) | type DescribeAclsRequest struct method setVersion (line 9) | func (d *DescribeAclsRequest) setVersion(v int16) { method encode (line 13) | func (d *DescribeAclsRequest) encode(pe packetEncoder) error { method decode (line 18) | func (d *DescribeAclsRequest) decode(pd packetDecoder, version int16) ... method key (line 24) | func (d *DescribeAclsRequest) key() int16 { method version (line 28) | func (d *DescribeAclsRequest) version() int16 { method headerVersion (line 32) | func (d *DescribeAclsRequest) headerVersion() int16 { method isValidVersion (line 36) | func (d *DescribeAclsRequest) isValidVersion() bool { method requiredVersion (line 40) | func (d *DescribeAclsRequest) requiredVersion() KafkaVersion { FILE: acl_describe_request_test.go function TestAclDescribeRequestV0 (line 29) | func TestAclDescribeRequestV0(t *testing.T) { function TestAclDescribeRequestV1 (line 48) | func TestAclDescribeRequestV1(t *testing.T) { FILE: acl_describe_response.go type DescribeAclsResponse (line 6) | type DescribeAclsResponse struct method setVersion (line 14) | func (d *DescribeAclsResponse) setVersion(v int16) { method encode (line 18) | func (d *DescribeAclsResponse) encode(pe packetEncoder) error { method decode (line 39) | func (d *DescribeAclsResponse) decode(pd packetDecoder, version int16)... method key (line 73) | func (d *DescribeAclsResponse) key() int16 { method version (line 77) | func (d *DescribeAclsResponse) version() int16 { method headerVersion (line 81) | func (d *DescribeAclsResponse) headerVersion() int16 { method isValidVersion (line 85) | func (d *DescribeAclsResponse) isValidVersion() bool { method requiredVersion (line 89) | func (d *DescribeAclsResponse) requiredVersion() KafkaVersion { method throttleTime (line 98) | func (r *DescribeAclsResponse) throttleTime() time.Duration { FILE: acl_describe_response_test.go function TestAclDescribeResponse (line 24) | func TestAclDescribeResponse(t *testing.T) { FILE: acl_filter.go type AclFilter (line 3) | type AclFilter struct method encode (line 14) | func (a *AclFilter) encode(pe packetEncoder) error { method decode (line 36) | func (a *AclFilter) decode(pd packetDecoder, version int16) (err error) { FILE: acl_types.go type AclOperation (line 9) | type AclOperation method String (line 35) | func (a *AclOperation) String() string { method MarshalText (line 59) | func (a *AclOperation) MarshalText() ([]byte, error) { method UnmarshalText (line 64) | func (a *AclOperation) UnmarshalText(text []byte) error { type AclPermissionType (line 11) | type AclPermissionType method String (line 98) | func (a *AclPermissionType) String() string { method MarshalText (line 113) | func (a *AclPermissionType) MarshalText() ([]byte, error) { method UnmarshalText (line 118) | func (a *AclPermissionType) UnmarshalText(text []byte) error { type AclResourceType (line 13) | type AclResourceType method String (line 147) | func (a *AclResourceType) String() string { method MarshalText (line 165) | func (a *AclResourceType) MarshalText() ([]byte, error) { method UnmarshalText (line 170) | func (a *AclResourceType) UnmarshalText(text []byte) error { type AclResourcePatternType (line 15) | type AclResourcePatternType method String (line 200) | func (a *AclResourcePatternType) String() string { method MarshalText (line 216) | func (a *AclResourcePatternType) MarshalText() ([]byte, error) { method UnmarshalText (line 221) | func (a *AclResourcePatternType) UnmarshalText(text []byte) error { constant AclOperationUnknown (line 20) | AclOperationUnknown AclOperation = iota constant AclOperationAny (line 21) | AclOperationAny constant AclOperationAll (line 22) | AclOperationAll constant AclOperationRead (line 23) | AclOperationRead constant AclOperationWrite (line 24) | AclOperationWrite constant AclOperationCreate (line 25) | AclOperationCreate constant AclOperationDelete (line 26) | AclOperationDelete constant AclOperationAlter (line 27) | AclOperationAlter constant AclOperationDescribe (line 28) | AclOperationDescribe constant AclOperationClusterAction (line 29) | AclOperationClusterAction constant AclOperationDescribeConfigs (line 30) | AclOperationDescribeConfigs constant AclOperationAlterConfigs (line 31) | AclOperationAlterConfigs constant AclOperationIdempotentWrite (line 32) | AclOperationIdempotentWrite constant AclPermissionUnknown (line 92) | AclPermissionUnknown AclPermissionType = iota constant AclPermissionAny (line 93) | AclPermissionAny constant AclPermissionDeny (line 94) | AclPermissionDeny constant AclPermissionAllow (line 95) | AclPermissionAllow constant AclResourceUnknown (line 138) | AclResourceUnknown AclResourceType = iota constant AclResourceAny (line 139) | AclResourceAny constant AclResourceTopic (line 140) | AclResourceTopic constant AclResourceGroup (line 141) | AclResourceGroup constant AclResourceCluster (line 142) | AclResourceCluster constant AclResourceTransactionalID (line 143) | AclResourceTransactionalID constant AclResourceDelegationToken (line 144) | AclResourceDelegationToken constant AclPatternUnknown (line 193) | AclPatternUnknown AclResourcePatternType = iota constant AclPatternAny (line 194) | AclPatternAny constant AclPatternMatch (line 195) | AclPatternMatch constant AclPatternLiteral (line 196) | AclPatternLiteral constant AclPatternPrefixed (line 197) | AclPatternPrefixed FILE: acl_types_test.go function TestAclOperationTextMarshal (line 9) | func TestAclOperationTextMarshal(t *testing.T) { function TestAclPermissionTypeTextMarshal (line 26) | func TestAclPermissionTypeTextMarshal(t *testing.T) { function TestAclResourceTypeTextMarshal (line 43) | func TestAclResourceTypeTextMarshal(t *testing.T) { function TestAclResourcePatternTypeTextMarshal (line 60) | func TestAclResourcePatternTypeTextMarshal(t *testing.T) { FILE: add_offsets_to_txn_request.go type AddOffsetsToTxnRequest (line 4) | type AddOffsetsToTxnRequest struct method setVersion (line 12) | func (a *AddOffsetsToTxnRequest) setVersion(v int16) { method encode (line 16) | func (a *AddOffsetsToTxnRequest) encode(pe packetEncoder) error { method decode (line 32) | func (a *AddOffsetsToTxnRequest) decode(pd packetDecoder, version int1... method key (line 48) | func (a *AddOffsetsToTxnRequest) key() int16 { method version (line 52) | func (a *AddOffsetsToTxnRequest) version() int16 { method headerVersion (line 56) | func (a *AddOffsetsToTxnRequest) headerVersion() int16 { method isValidVersion (line 60) | func (a *AddOffsetsToTxnRequest) isValidVersion() bool { method requiredVersion (line 64) | func (a *AddOffsetsToTxnRequest) requiredVersion() KafkaVersion { FILE: add_offsets_to_txn_request_test.go function TestAddOffsetsToTxnRequest (line 14) | func TestAddOffsetsToTxnRequest(t *testing.T) { FILE: add_offsets_to_txn_response.go type AddOffsetsToTxnResponse (line 8) | type AddOffsetsToTxnResponse struct method setVersion (line 14) | func (a *AddOffsetsToTxnResponse) setVersion(v int16) { method encode (line 18) | func (a *AddOffsetsToTxnResponse) encode(pe packetEncoder) error { method decode (line 24) | func (a *AddOffsetsToTxnResponse) decode(pd packetDecoder, version int... method key (line 37) | func (a *AddOffsetsToTxnResponse) key() int16 { method version (line 41) | func (a *AddOffsetsToTxnResponse) version() int16 { method headerVersion (line 45) | func (a *AddOffsetsToTxnResponse) headerVersion() int16 { method isValidVersion (line 49) | func (a *AddOffsetsToTxnResponse) isValidVersion() bool { method requiredVersion (line 53) | func (a *AddOffsetsToTxnResponse) requiredVersion() KafkaVersion { method throttleTime (line 66) | func (r *AddOffsetsToTxnResponse) throttleTime() time.Duration { FILE: add_offsets_to_txn_response_test.go function TestAddOffsetsToTxnResponse (line 15) | func TestAddOffsetsToTxnResponse(t *testing.T) { FILE: add_partitions_to_txn_request.go type AddPartitionsToTxnRequest (line 4) | type AddPartitionsToTxnRequest struct method setVersion (line 12) | func (a *AddPartitionsToTxnRequest) setVersion(v int16) { method encode (line 16) | func (a *AddPartitionsToTxnRequest) encode(pe packetEncoder) error { method decode (line 38) | func (a *AddPartitionsToTxnRequest) decode(pd packetDecoder, version i... method key (line 72) | func (a *AddPartitionsToTxnRequest) key() int16 { method version (line 76) | func (a *AddPartitionsToTxnRequest) version() int16 { method headerVersion (line 80) | func (a *AddPartitionsToTxnRequest) headerVersion() int16 { method isValidVersion (line 84) | func (a *AddPartitionsToTxnRequest) isValidVersion() bool { method requiredVersion (line 88) | func (a *AddPartitionsToTxnRequest) requiredVersion() KafkaVersion { FILE: add_partitions_to_txn_request_test.go function TestAddPartitionsToTxnRequest (line 16) | func TestAddPartitionsToTxnRequest(t *testing.T) { FILE: add_partitions_to_txn_response.go type AddPartitionsToTxnResponse (line 8) | type AddPartitionsToTxnResponse struct method setVersion (line 14) | func (a *AddPartitionsToTxnResponse) setVersion(v int16) { method encode (line 18) | func (a *AddPartitionsToTxnResponse) encode(pe packetEncoder) error { method decode (line 41) | func (a *AddPartitionsToTxnResponse) decode(pd packetDecoder, version ... method key (line 78) | func (a *AddPartitionsToTxnResponse) key() int16 { method version (line 82) | func (a *AddPartitionsToTxnResponse) version() int16 { method headerVersion (line 86) | func (a *AddPartitionsToTxnResponse) headerVersion() int16 { method isValidVersion (line 90) | func (a *AddPartitionsToTxnResponse) isValidVersion() bool { method requiredVersion (line 94) | func (a *AddPartitionsToTxnResponse) requiredVersion() KafkaVersion { method throttleTime (line 105) | func (r *AddPartitionsToTxnResponse) throttleTime() time.Duration { type PartitionError (line 110) | type PartitionError struct method encode (line 115) | func (p *PartitionError) encode(pe packetEncoder) error { method decode (line 121) | func (p *PartitionError) decode(pd packetDecoder, version int16) (err ... FILE: add_partitions_to_txn_response_test.go function TestAddPartitionsToTxnResponse (line 19) | func TestAddPartitionsToTxnResponse(t *testing.T) { FILE: admin.go type ClusterAdmin (line 19) | type ClusterAdmin interface type clusterAdmin (line 164) | type clusterAdmin struct method Close (line 198) | func (ca *clusterAdmin) Close() error { method Controller (line 202) | func (ca *clusterAdmin) Controller() (*Broker, error) { method Coordinator (line 206) | func (ca *clusterAdmin) Coordinator(group string) (*Broker, error) { method refreshController (line 210) | func (ca *clusterAdmin) refreshController() (*Broker, error) { method retryOnError (line 231) | func (ca *clusterAdmin) retryOnError(retryable func(error) bool, fn fu... method CreateTopic (line 245) | func (ca *clusterAdmin) CreateTopic(topic string, detail *TopicDetail,... method DescribeTopics (line 292) | func (ca *clusterAdmin) DescribeTopics(topics []string) (metadata []*T... method DescribeCluster (line 312) | func (ca *clusterAdmin) DescribeCluster() (brokers []*Broker, controll... method describeClusterUsingAPI (line 325) | func (ca *clusterAdmin) describeClusterUsingAPI() (brokers []*Broker, ... method describeClusterUsingMetadata (line 357) | func (ca *clusterAdmin) describeClusterUsingMetadata() (brokers []*Bro... method findBroker (line 398) | func (ca *clusterAdmin) findBroker(id int32) (*Broker, error) { method findAnyBroker (line 408) | func (ca *clusterAdmin) findAnyBroker() (*Broker, error) { method ListTopics (line 417) | func (ca *clusterAdmin) ListTopics() (map[string]TopicDetail, error) { method DeleteTopic (line 498) | func (ca *clusterAdmin) DeleteTopic(topic string) error { method CreatePartitions (line 547) | func (ca *clusterAdmin) CreatePartitions(topic string, count int32, as... method AlterPartitionReassignments (line 595) | func (ca *clusterAdmin) AlterPartitionReassignments(topic string, assi... method ListPartitionReassignments (line 643) | func (ca *clusterAdmin) ListPartitionReassignments(topic string, parti... method DeleteRecords (line 677) | func (ca *clusterAdmin) DeleteRecords(topic string, partitionOffsets m... method DescribeConfig (line 742) | func (ca *clusterAdmin) DescribeConfig(resource ConfigResource) ([]Con... method AlterConfig (line 798) | func (ca *clusterAdmin) AlterConfig(resourceType ConfigResourceType, n... method IncrementalAlterConfig (line 850) | func (ca *clusterAdmin) IncrementalAlterConfig(resourceType ConfigReso... method CreateACL (line 907) | func (ca *clusterAdmin) CreateACL(resource Resource, acl Acl) error { method CreateACLs (line 925) | func (ca *clusterAdmin) CreateACLs(resourceACLs []*ResourceAcls) error { method ListAcls (line 947) | func (ca *clusterAdmin) ListAcls(filter AclFilter) ([]ResourceAcls, er... method DeleteACL (line 971) | func (ca *clusterAdmin) DeleteACL(filter AclFilter, validateOnly bool)... method ElectLeaders (line 999) | func (ca *clusterAdmin) ElectLeaders(electionType ElectionType, partit... method DescribeConsumerGroups (line 1037) | func (ca *clusterAdmin) DescribeConsumerGroups(groups []string) (resul... method ListConsumerGroups (line 1077) | func (ca *clusterAdmin) ListConsumerGroups() (allGroups map[string]str... method ListConsumerGroupOffsets (line 1133) | func (ca *clusterAdmin) ListConsumerGroupOffsets(group string, topicPa... method DeleteConsumerGroupOffset (line 1162) | func (ca *clusterAdmin) DeleteConsumerGroupOffset(group string, topic ... method DeleteConsumerGroup (line 1198) | func (ca *clusterAdmin) DeleteConsumerGroup(group string) error { method DescribeLogDirs (line 1240) | func (ca *clusterAdmin) DescribeLogDirs(brokerIds []int32) (allLogDirs... method DescribeUserScramCredentials (line 1298) | func (ca *clusterAdmin) DescribeUserScramCredentials(users []string) (... method UpsertUserScramCredentials (line 1319) | func (ca *clusterAdmin) UpsertUserScramCredentials(upsert []AlterUserS... method DeleteUserScramCredentials (line 1328) | func (ca *clusterAdmin) DeleteUserScramCredentials(delete []AlterUserS... method AlterUserScramCredentials (line 1337) | func (ca *clusterAdmin) AlterUserScramCredentials(u []AlterUserScramCr... method DescribeClientQuotas (line 1363) | func (ca *clusterAdmin) DescribeClientQuotas(components []QuotaFilterC... method AlterClientQuotas (line 1390) | func (ca *clusterAdmin) AlterClientQuotas(entity []QuotaEntityComponen... method RemoveMemberFromConsumerGroup (line 1423) | func (ca *clusterAdmin) RemoveMemberFromConsumerGroup(group string, gr... function NewClusterAdmin (line 170) | func NewClusterAdmin(addrs []string, conf *Config) (ClusterAdmin, error) { function NewClusterAdminFromClient (line 184) | func NewClusterAdminFromClient(client Client) (ClusterAdmin, error) { function isRetriableControllerError (line 216) | func isRetriableControllerError(err error) bool { function isRetriableGroupCoordinatorError (line 223) | func isRetriableGroupCoordinatorError(err error) bool { function convertDescribeClusterBrokers (line 379) | func convertDescribeClusterBrokers(entries []*DescribeClusterBroker) []*... function dependsOnSpecificNode (line 737) | func dependsOnSpecificNode(resource ConfigResource) bool { FILE: admin_test.go function TestClusterAdmin (line 12) | func TestClusterAdmin(t *testing.T) { function TestClusterAdminInvalidController (line 35) | func TestClusterAdminInvalidController(t *testing.T) { function TestClusterAdminCreateTopic (line 59) | func TestClusterAdminCreateTopic(t *testing.T) { function TestClusterAdminCreateTopicWithInvalidTopicDetail (line 87) | func TestClusterAdminCreateTopicWithInvalidTopicDetail(t *testing.T) { function TestClusterAdminCreateTopicWithoutAuthorization (line 115) | func TestClusterAdminCreateTopicWithoutAuthorization(t *testing.T) { function TestClusterAdminListTopics (line 145) | func TestClusterAdminListTopics(t *testing.T) { function TestClusterAdminDeleteTopic (line 196) | func TestClusterAdminDeleteTopic(t *testing.T) { function TestClusterAdminDeleteEmptyTopic (line 225) | func TestClusterAdminDeleteEmptyTopic(t *testing.T) { function TestClusterAdminDeleteTopicError (line 254) | func TestClusterAdminDeleteTopicError(t *testing.T) { function TestClusterAdminCreatePartitions (line 283) | func TestClusterAdminCreatePartitions(t *testing.T) { function TestClusterAdminCreatePartitionsWithDiffVersion (line 312) | func TestClusterAdminCreatePartitionsWithDiffVersion(t *testing.T) { function TestClusterAdminCreatePartitionsWithoutAuthorization (line 341) | func TestClusterAdminCreatePartitionsWithoutAuthorization(t *testing.T) { function TestClusterAdminAlterPartitionReassignments (line 370) | func TestClusterAdminAlterPartitionReassignments(t *testing.T) { function TestClusterAdminAlterPartitionReassignmentsWithDiffVersion (line 410) | func TestClusterAdminAlterPartitionReassignmentsWithDiffVersion(t *testi... function TestClusterAdminListPartitionReassignments (line 449) | func TestClusterAdminListPartitionReassignments(t *testing.T) { function TestClusterAdminListPartitionReassignmentsWithDiffVersion (line 496) | func TestClusterAdminListPartitionReassignmentsWithDiffVersion(t *testin... function TestClusterAdminDeleteRecords (line 535) | func TestClusterAdminDeleteRecords(t *testing.T) { function TestClusterAdminDeleteRecordsWithInCorrectBroker (line 580) | func TestClusterAdminDeleteRecordsWithInCorrectBroker(t *testing.T) { function TestClusterAdminDeleteRecordsWithUnsupportedVersion (line 631) | func TestClusterAdminDeleteRecordsWithUnsupportedVersion(t *testing.T) { function TestClusterAdminDeleteRecordsWithLeaderNotAvailable (line 681) | func TestClusterAdminDeleteRecordsWithLeaderNotAvailable(t *testing.T) { function TestClusterAdminDescribeConfig (line 726) | func TestClusterAdminDescribeConfig(t *testing.T) { function TestClusterAdminDescribeConfigWithErrorCode (line 794) | func TestClusterAdminDescribeConfigWithErrorCode(t *testing.T) { function TestClusterAdminDescribeBrokerConfig (line 829) | func TestClusterAdminDescribeBrokerConfig(t *testing.T) { function TestClusterAdminAlterConfig (line 879) | func TestClusterAdminAlterConfig(t *testing.T) { function TestClusterAdminAlterConfigWithErrorCode (line 912) | func TestClusterAdminAlterConfigWithErrorCode(t *testing.T) { function TestClusterAdminAlterBrokerConfig (line 943) | func TestClusterAdminAlterBrokerConfig(t *testing.T) { function TestClusterAdminIncrementalAlterConfig (line 997) | func TestClusterAdminIncrementalAlterConfig(t *testing.T) { function TestClusterAdminIncrementalAlterConfigWithErrorCode (line 1038) | func TestClusterAdminIncrementalAlterConfigWithErrorCode(t *testing.T) { function TestClusterAdminIncrementalAlterBrokerConfig (line 1080) | func TestClusterAdminIncrementalAlterBrokerConfig(t *testing.T) { function TestClusterAdminCreateAcl (line 1142) | func TestClusterAdminCreateAcl(t *testing.T) { function TestClusterAdminCreateAclErrorHandling (line 1174) | func TestClusterAdminCreateAclErrorHandling(t *testing.T) { function TestClusterAdminCreateAcls (line 1206) | func TestClusterAdminCreateAcls(t *testing.T) { function TestClusterAdminListAcls (line 1250) | func TestClusterAdminListAcls(t *testing.T) { function TestClusterAdminDeleteAcl (line 1297) | func TestClusterAdminDeleteAcl(t *testing.T) { function TestElectLeaders (line 1333) | func TestElectLeaders(t *testing.T) { function TestDescribeTopic (line 1372) | func TestDescribeTopic(t *testing.T) { function TestDescribeTopicWithVersion0_11 (line 1410) | func TestDescribeTopicWithVersion0_11(t *testing.T) { function TestDescribeConsumerGroup (line 1448) | func TestDescribeConsumerGroup(t *testing.T) { function TestListConsumerGroups (line 1491) | func TestListConsumerGroups(t *testing.T) { function TestListConsumerGroupsMultiBroker (line 1536) | func TestListConsumerGroupsMultiBroker(t *testing.T) { function TestListConsumerGroupOffsets (line 1600) | func TestListConsumerGroupOffsets(t *testing.T) { function TestDeleteConsumerGroup (line 1647) | func TestDeleteConsumerGroup(t *testing.T) { function TestDeleteOffset (line 1677) | func TestDeleteOffset(t *testing.T) { function TestRefreshMetaDataWithDifferentController (line 1730) | func TestRefreshMetaDataWithDifferentController(t *testing.T) { function TestDescribeLogDirs (line 1781) | func TestDescribeLogDirs(t *testing.T) { function TestDescribeLogDirsUnknownBroker (line 1829) | func TestDescribeLogDirsUnknownBroker(t *testing.T) { function Test_retryOnError (line 1875) | func Test_retryOnError(t *testing.T) { FILE: alter_client_quotas_request.go type AlterClientQuotasRequest (line 14) | type AlterClientQuotasRequest struct method setVersion (line 20) | func (a *AlterClientQuotasRequest) setVersion(v int16) { method encode (line 35) | func (a *AlterClientQuotasRequest) encode(pe packetEncoder) error { method decode (line 52) | func (a *AlterClientQuotasRequest) decode(pd packetDecoder, version in... method key (line 185) | func (a *AlterClientQuotasRequest) key() int16 { method version (line 189) | func (a *AlterClientQuotasRequest) version() int16 { method headerVersion (line 193) | func (a *AlterClientQuotasRequest) headerVersion() int16 { method isValidVersion (line 197) | func (a *AlterClientQuotasRequest) isValidVersion() bool { method requiredVersion (line 201) | func (a *AlterClientQuotasRequest) requiredVersion() KafkaVersion { type AlterClientQuotasEntry (line 24) | type AlterClientQuotasEntry struct method encode (line 81) | func (a *AlterClientQuotasEntry) encode(pe packetEncoder) error { method decode (line 105) | func (a *AlterClientQuotasEntry) decode(pd packetDecoder, version int1... type ClientQuotasOp (line 29) | type ClientQuotasOp struct method encode (line 145) | func (c *ClientQuotasOp) encode(pe packetEncoder) error { method decode (line 160) | func (c *ClientQuotasOp) decode(pd packetDecoder, version int16) error { FILE: alter_client_quotas_request_test.go function TestAlterClientQuotasRequest (line 67) | func TestAlterClientQuotasRequest(t *testing.T) { FILE: alter_client_quotas_response.go type AlterClientQuotasResponse (line 16) | type AlterClientQuotasResponse struct method setVersion (line 22) | func (a *AlterClientQuotasResponse) setVersion(v int16) { method encode (line 32) | func (a *AlterClientQuotasResponse) encode(pe packetEncoder) error { method decode (line 48) | func (a *AlterClientQuotasResponse) decode(pd packetDecoder, version i... method key (line 131) | func (a *AlterClientQuotasResponse) key() int16 { method version (line 135) | func (a *AlterClientQuotasResponse) version() int16 { method headerVersion (line 139) | func (a *AlterClientQuotasResponse) headerVersion() int16 { method isValidVersion (line 143) | func (a *AlterClientQuotasResponse) isValidVersion() bool { method requiredVersion (line 147) | func (a *AlterClientQuotasResponse) requiredVersion() KafkaVersion { method throttleTime (line 151) | func (r *AlterClientQuotasResponse) throttleTime() time.Duration { type AlterClientQuotasEntryResponse (line 26) | type AlterClientQuotasEntryResponse struct method encode (line 74) | func (a *AlterClientQuotasEntryResponse) encode(pe packetEncoder) error { method decode (line 96) | func (a *AlterClientQuotasEntryResponse) decode(pd packetDecoder, vers... FILE: alter_client_quotas_response_test.go function TestAlterClientQuotasResponse (line 44) | func TestAlterClientQuotasResponse(t *testing.T) { FILE: alter_configs_request.go type AlterConfigsRequest (line 4) | type AlterConfigsRequest struct method setVersion (line 10) | func (a *AlterConfigsRequest) setVersion(v int16) { method encode (line 21) | func (a *AlterConfigsRequest) encode(pe packetEncoder) error { method decode (line 36) | func (a *AlterConfigsRequest) decode(pd packetDecoder, version int16) ... method key (line 117) | func (a *AlterConfigsRequest) key() int16 { method version (line 121) | func (a *AlterConfigsRequest) version() int16 { method headerVersion (line 125) | func (a *AlterConfigsRequest) headerVersion() int16 { method isValidVersion (line 129) | func (a *AlterConfigsRequest) isValidVersion() bool { method requiredVersion (line 133) | func (a *AlterConfigsRequest) requiredVersion() KafkaVersion { type AlterConfigsResource (line 15) | type AlterConfigsResource struct method encode (line 62) | func (a *AlterConfigsResource) encode(pe packetEncoder) error { method decode (line 84) | func (a *AlterConfigsResource) decode(pd packetDecoder, version int16)... FILE: alter_configs_request_test.go function TestAlterConfigsRequest (line 45) | func TestAlterConfigsRequest(t *testing.T) { FILE: alter_configs_response.go type AlterConfigsResponse (line 9) | type AlterConfigsResponse struct method setVersion (line 15) | func (a *AlterConfigsResponse) setVersion(v int16) { method encode (line 40) | func (a *AlterConfigsResponse) encode(pe packetEncoder) error { method decode (line 56) | func (a *AlterConfigsResponse) decode(pd packetDecoder, version int16)... method key (line 127) | func (a *AlterConfigsResponse) key() int16 { method version (line 131) | func (a *AlterConfigsResponse) version() int16 { method headerVersion (line 135) | func (a *AlterConfigsResponse) headerVersion() int16 { method isValidVersion (line 139) | func (a *AlterConfigsResponse) isValidVersion() bool { method requiredVersion (line 143) | func (a *AlterConfigsResponse) requiredVersion() KafkaVersion { method throttleTime (line 154) | func (r *AlterConfigsResponse) throttleTime() time.Duration { type AlterConfigError (line 19) | type AlterConfigError struct method Error (line 24) | func (c *AlterConfigError) Error() string { type AlterConfigsResourceResponse (line 33) | type AlterConfigsResourceResponse struct method encode (line 79) | func (a *AlterConfigsResourceResponse) encode(pe packetEncoder) error { method decode (line 94) | func (a *AlterConfigsResourceResponse) decode(pd packetDecoder, versio... FILE: alter_configs_response_test.go function TestAlterConfigsResponse (line 25) | func TestAlterConfigsResponse(t *testing.T) { FILE: alter_partition_reassignments_request.go type alterPartitionReassignmentsBlock (line 3) | type alterPartitionReassignmentsBlock struct method encode (line 7) | func (b *alterPartitionReassignmentsBlock) encode(pe packetEncoder) er... method decode (line 16) | func (b *alterPartitionReassignmentsBlock) decode(pd packetDecoder) (e... type AlterPartitionReassignmentsRequest (line 26) | type AlterPartitionReassignmentsRequest struct method setVersion (line 32) | func (r *AlterPartitionReassignmentsRequest) setVersion(v int16) { method encode (line 36) | func (r *AlterPartitionReassignmentsRequest) encode(pe packetEncoder) ... method decode (line 64) | func (r *AlterPartitionReassignmentsRequest) decode(pd packetDecoder, ... method key (line 108) | func (r *AlterPartitionReassignmentsRequest) key() int16 { method version (line 112) | func (r *AlterPartitionReassignmentsRequest) version() int16 { method headerVersion (line 116) | func (r *AlterPartitionReassignmentsRequest) headerVersion() int16 { method isValidVersion (line 120) | func (r *AlterPartitionReassignmentsRequest) isValidVersion() bool { method isFlexible (line 124) | func (r *AlterPartitionReassignmentsRequest) isFlexible() bool { method isFlexibleVersion (line 128) | func (r *AlterPartitionReassignmentsRequest) isFlexibleVersion(version... method requiredVersion (line 132) | func (r *AlterPartitionReassignmentsRequest) requiredVersion() KafkaVe... method AddBlock (line 136) | func (r *AlterPartitionReassignmentsRequest) AddBlock(topic string, pa... FILE: alter_partition_reassignments_request_test.go function TestAlterPartitionReassignmentRequest (line 37) | func TestAlterPartitionReassignmentRequest(t *testing.T) { FILE: alter_partition_reassignments_response.go type alterPartitionReassignmentsErrorBlock (line 5) | type alterPartitionReassignmentsErrorBlock struct method encode (line 10) | func (b *alterPartitionReassignmentsErrorBlock) encode(pe packetEncode... method decode (line 20) | func (b *alterPartitionReassignmentsErrorBlock) decode(pd packetDecode... type AlterPartitionReassignmentsResponse (line 34) | type AlterPartitionReassignmentsResponse struct method setVersion (line 42) | func (r *AlterPartitionReassignmentsResponse) setVersion(v int16) { method AddError (line 46) | func (r *AlterPartitionReassignmentsResponse) AddError(topic string, p... method encode (line 59) | func (r *AlterPartitionReassignmentsResponse) encode(pe packetEncoder)... method decode (line 90) | func (r *AlterPartitionReassignmentsResponse) decode(pd packetDecoder,... method key (line 148) | func (r *AlterPartitionReassignmentsResponse) key() int16 { method version (line 152) | func (r *AlterPartitionReassignmentsResponse) version() int16 { method headerVersion (line 156) | func (r *AlterPartitionReassignmentsResponse) headerVersion() int16 { method isValidVersion (line 160) | func (r *AlterPartitionReassignmentsResponse) isValidVersion() bool { method isFlexible (line 164) | func (r *AlterPartitionReassignmentsResponse) isFlexible() bool { method isFlexibleVersion (line 168) | func (r *AlterPartitionReassignmentsResponse) isFlexibleVersion(versio... method requiredVersion (line 172) | func (r *AlterPartitionReassignmentsResponse) requiredVersion() KafkaV... method throttleTime (line 176) | func (r *AlterPartitionReassignmentsResponse) throttleTime() time.Dura... FILE: alter_partition_reassignments_response_test.go function TestAlterPartitionReassignmentResponse (line 30) | func TestAlterPartitionReassignmentResponse(t *testing.T) { FILE: alter_user_scram_credentials_request.go type AlterUserScramCredentialsRequest (line 3) | type AlterUserScramCredentialsRequest struct method setVersion (line 13) | func (r *AlterUserScramCredentialsRequest) setVersion(v int16) { method encode (line 34) | func (r *AlterUserScramCredentialsRequest) encode(pe packetEncoder) er... method decode (line 77) | func (r *AlterUserScramCredentialsRequest) decode(pd packetDecoder, ve... method key (line 134) | func (r *AlterUserScramCredentialsRequest) key() int16 { method version (line 138) | func (r *AlterUserScramCredentialsRequest) version() int16 { method headerVersion (line 142) | func (r *AlterUserScramCredentialsRequest) headerVersion() int16 { method isValidVersion (line 146) | func (r *AlterUserScramCredentialsRequest) isValidVersion() bool { method isFlexible (line 150) | func (r *AlterUserScramCredentialsRequest) isFlexible() bool { method isFlexibleVersion (line 154) | func (r *AlterUserScramCredentialsRequest) isFlexibleVersion(version i... method requiredVersion (line 158) | func (r *AlterUserScramCredentialsRequest) requiredVersion() KafkaVers... type AlterUserScramCredentialsDelete (line 17) | type AlterUserScramCredentialsDelete struct type AlterUserScramCredentialsUpsert (line 22) | type AlterUserScramCredentialsUpsert struct FILE: alter_user_scram_credentials_request_test.go function TestAlterUserScramCredentialsRequest (line 35) | func TestAlterUserScramCredentialsRequest(t *testing.T) { FILE: alter_user_scram_credentials_response.go type AlterUserScramCredentialsResponse (line 5) | type AlterUserScramCredentialsResponse struct method setVersion (line 13) | func (r *AlterUserScramCredentialsResponse) setVersion(v int16) { method encode (line 24) | func (r *AlterUserScramCredentialsResponse) encode(pe packetEncoder) e... method decode (line 45) | func (r *AlterUserScramCredentialsResponse) decode(pd packetDecoder, v... method key (line 81) | func (r *AlterUserScramCredentialsResponse) key() int16 { method version (line 85) | func (r *AlterUserScramCredentialsResponse) version() int16 { method headerVersion (line 89) | func (r *AlterUserScramCredentialsResponse) headerVersion() int16 { method isValidVersion (line 93) | func (r *AlterUserScramCredentialsResponse) isValidVersion() bool { method isFlexible (line 97) | func (r *AlterUserScramCredentialsResponse) isFlexible() bool { method isFlexibleVersion (line 101) | func (r *AlterUserScramCredentialsResponse) isFlexibleVersion(version ... method requiredVersion (line 105) | func (r *AlterUserScramCredentialsResponse) requiredVersion() KafkaVer... method throttleTime (line 109) | func (r *AlterUserScramCredentialsResponse) throttleTime() time.Durati... type AlterUserScramCredentialsResult (line 17) | type AlterUserScramCredentialsResult struct FILE: alter_user_scram_credentials_response_test.go function TestAlterUserScramCredentialsResponse (line 27) | func TestAlterUserScramCredentialsResponse(t *testing.T) { FILE: api_versions.go type apiVersionRange (line 3) | type apiVersionRange struct type apiVersionMap (line 8) | type apiVersionMap function restrictApiVersion (line 15) | func restrictApiVersion(pb protocolBody, brokerVersions apiVersionMap) e... constant apiKeyProduce (line 32) | apiKeyProduce = 0 constant apiKeyFetch (line 33) | apiKeyFetch = 1 constant apiKeyListOffsets (line 34) | apiKeyListOffsets = 2 constant apiKeyMetadata (line 35) | apiKeyMetadata = 3 constant apiKeyLeaderAndIsr (line 36) | apiKeyLeaderAndIsr = 4 constant apiKeyStopReplica (line 37) | apiKeyStopReplica = 5 constant apiKeyUpdateMetadata (line 38) | apiKeyUpdateMetadata = 6 constant apiKeyControlledShutdown (line 39) | apiKeyControlledShutdown = 7 constant apiKeyOffsetCommit (line 40) | apiKeyOffsetCommit = 8 constant apiKeyOffsetFetch (line 41) | apiKeyOffsetFetch = 9 constant apiKeyFindCoordinator (line 42) | apiKeyFindCoordinator = 10 constant apiKeyJoinGroup (line 43) | apiKeyJoinGroup = 11 constant apiKeyHeartbeat (line 44) | apiKeyHeartbeat = 12 constant apiKeyLeaveGroup (line 45) | apiKeyLeaveGroup = 13 constant apiKeySyncGroup (line 46) | apiKeySyncGroup = 14 constant apiKeyDescribeGroups (line 47) | apiKeyDescribeGroups = 15 constant apiKeyListGroups (line 48) | apiKeyListGroups = 16 constant apiKeySaslHandshake (line 49) | apiKeySaslHandshake = 17 constant apiKeyApiVersions (line 50) | apiKeyApiVersions = 18 constant apiKeyCreateTopics (line 51) | apiKeyCreateTopics = 19 constant apiKeyDeleteTopics (line 52) | apiKeyDeleteTopics = 20 constant apiKeyDeleteRecords (line 53) | apiKeyDeleteRecords = 21 constant apiKeyInitProducerId (line 54) | apiKeyInitProducerId = 22 constant apiKeyOffsetForLeaderEpoch (line 55) | apiKeyOffsetForLeaderEpoch = 23 constant apiKeyAddPartitionsToTxn (line 56) | apiKeyAddPartitionsToTxn = 24 constant apiKeyAddOffsetsToTxn (line 57) | apiKeyAddOffsetsToTxn = 25 constant apiKeyEndTxn (line 58) | apiKeyEndTxn = 26 constant apiKeyWriteTxnMarkers (line 59) | apiKeyWriteTxnMarkers = 27 constant apiKeyTxnOffsetCommit (line 60) | apiKeyTxnOffsetCommit = 28 constant apiKeyDescribeAcls (line 61) | apiKeyDescribeAcls = 29 constant apiKeyCreateAcls (line 62) | apiKeyCreateAcls = 30 constant apiKeyDeleteAcls (line 63) | apiKeyDeleteAcls = 31 constant apiKeyDescribeConfigs (line 64) | apiKeyDescribeConfigs = 32 constant apiKeyAlterConfigs (line 65) | apiKeyAlterConfigs = 33 constant apiKeyAlterReplicaLogDirs (line 66) | apiKeyAlterReplicaLogDirs = 34 constant apiKeyDescribeLogDirs (line 67) | apiKeyDescribeLogDirs = 35 constant apiKeySASLAuth (line 68) | apiKeySASLAuth = 36 constant apiKeyCreatePartitions (line 69) | apiKeyCreatePartitions = 37 constant apiKeyCreateDelegationToken (line 70) | apiKeyCreateDelegationToken = 38 constant apiKeyRenewDelegationToken (line 71) | apiKeyRenewDelegationToken = 39 constant apiKeyExpireDelegationToken (line 72) | apiKeyExpireDelegationToken = 40 constant apiKeyDescribeDelegationToken (line 73) | apiKeyDescribeDelegationToken = 41 constant apiKeyDeleteGroups (line 74) | apiKeyDeleteGroups = 42 constant apiKeyElectLeaders (line 75) | apiKeyElectLeaders = 43 constant apiKeyIncrementalAlterConfigs (line 76) | apiKeyIncrementalAlterConfigs = 44 constant apiKeyAlterPartitionReassignments (line 77) | apiKeyAlterPartitionReassignments = 45 constant apiKeyListPartitionReassignments (line 78) | apiKeyListPartitionReassignments = 46 constant apiKeyOffsetDelete (line 79) | apiKeyOffsetDelete = 47 constant apiKeyDescribeClientQuotas (line 80) | apiKeyDescribeClientQuotas = 48 constant apiKeyAlterClientQuotas (line 81) | apiKeyAlterClientQuotas = 49 constant apiKeyDescribeUserScramCredentials (line 82) | apiKeyDescribeUserScramCredentials = 50 constant apiKeyAlterUserScramCredentials (line 83) | apiKeyAlterUserScramCredentials = 51 constant apiKeyDescribeCluster (line 84) | apiKeyDescribeCluster = 60 FILE: api_versions_request.go constant defaultClientSoftwareName (line 3) | defaultClientSoftwareName = "sarama" type ApiVersionsRequest (line 5) | type ApiVersionsRequest struct method setVersion (line 14) | func (r *ApiVersionsRequest) setVersion(v int16) { method encode (line 18) | func (r *ApiVersionsRequest) encode(pe packetEncoder) (err error) { method decode (line 32) | func (r *ApiVersionsRequest) decode(pd packetDecoder, version int16) (... method key (line 47) | func (r *ApiVersionsRequest) key() int16 { method version (line 51) | func (r *ApiVersionsRequest) version() int16 { method headerVersion (line 55) | func (r *ApiVersionsRequest) headerVersion() int16 { method isValidVersion (line 62) | func (r *ApiVersionsRequest) isValidVersion() bool { method isFlexible (line 66) | func (r *ApiVersionsRequest) isFlexible() bool { method isFlexibleVersion (line 70) | func (r *ApiVersionsRequest) isFlexibleVersion(version int16) bool { method requiredVersion (line 74) | func (r *ApiVersionsRequest) requiredVersion() KafkaVersion { FILE: api_versions_request_test.go function TestApiVersionsRequest (line 17) | func TestApiVersionsRequest(t *testing.T) { function TestApiVersionsRequestV3 (line 22) | func TestApiVersionsRequestV3(t *testing.T) { FILE: api_versions_response.go type ApiVersionsResponseKey (line 8) | type ApiVersionsResponseKey struct method encode (line 19) | func (a *ApiVersionsResponseKey) encode(pe packetEncoder, version int1... method decode (line 34) | func (a *ApiVersionsResponseKey) decode(pd packetDecoder, version int1... type ApiVersionsResponse (line 52) | type ApiVersionsResponse struct method setVersion (line 63) | func (r *ApiVersionsResponse) setVersion(v int16) { method encode (line 67) | func (r *ApiVersionsResponse) encode(pe packetEncoder) (err error) { method decode (line 90) | func (r *ApiVersionsResponse) decode(pd packetDecoder, version int16) ... method key (line 128) | func (r *ApiVersionsResponse) key() int16 { method version (line 132) | func (r *ApiVersionsResponse) version() int16 { method headerVersion (line 136) | func (r *ApiVersionsResponse) headerVersion() int16 { method isValidVersion (line 142) | func (r *ApiVersionsResponse) isValidVersion() bool { method isFlexible (line 146) | func (r *ApiVersionsResponse) isFlexible() bool { method isFlexibleVersion (line 150) | func (r *ApiVersionsResponse) isFlexibleVersion(version int16) bool { method requiredVersion (line 154) | func (r *ApiVersionsResponse) requiredVersion() KafkaVersion { method throttleTime (line 169) | func (r *ApiVersionsResponse) throttleTime() time.Duration { FILE: api_versions_response_test.go function TestApiVersionsResponseV0 (line 78) | func TestApiVersionsResponseV0(t *testing.T) { function TestApiVersionsResponseV1V2 (line 92) | func TestApiVersionsResponseV1V2(t *testing.T) { function TestApiVersionsResponseV3 (line 110) | func TestApiVersionsResponseV3(t *testing.T) { function TestApiVersionsResponseUnsupportedVersion (line 127) | func TestApiVersionsResponseUnsupportedVersion(t *testing.T) { FILE: api_versions_test.go function TestRestrictApiVersionLowersVersionToBrokerMax (line 5) | func TestRestrictApiVersionLowersVersionToBrokerMax(t *testing.T) { function TestRestrictApiVersionLeavesVersionUnchangedWhenWithinRange (line 29) | func TestRestrictApiVersionLeavesVersionUnchangedWhenWithinRange(t *test... function TestRestrictApiVersionDoesNotRaiseVersionBeyondUserSetMax (line 54) | func TestRestrictApiVersionDoesNotRaiseVersionBeyondUserSetMax(t *testin... function TestRestrictApiVersionDoesNothingIfBrokerVersionRangeMissing (line 81) | func TestRestrictApiVersionDoesNothingIfBrokerVersionRangeMissing(t *tes... FILE: async_producer.go constant minFunctionalRetryBufferLength (line 23) | minFunctionalRetryBufferLength = 4 * 1024 constant minFunctionalRetryBufferBytes (line 27) | minFunctionalRetryBufferBytes = 32 * 1024 * 1024 type AsyncProducer (line 36) | type AsyncProducer interface type asyncProducer (line 88) | type asyncProducer struct method IsTransactional (line 434) | func (p *asyncProducer) IsTransactional() bool { method AddMessageToTxn (line 438) | func (p *asyncProducer) AddMessageToTxn(msg *ConsumerMessage, groupId ... method AddOffsetsToTxn (line 450) | func (p *asyncProducer) AddOffsetsToTxn(offsets map[string][]*Partitio... method TxnStatus (line 463) | func (p *asyncProducer) TxnStatus() ProducerTxnStatusFlag { method BeginTxn (line 467) | func (p *asyncProducer) BeginTxn() error { method CommitTxn (line 479) | func (p *asyncProducer) CommitTxn() error { method AbortTxn (line 497) | func (p *asyncProducer) AbortTxn() error { method finishTransaction (line 514) | func (p *asyncProducer) finishTransaction(commit bool) error { method Errors (line 525) | func (p *asyncProducer) Errors() <-chan *ProducerError { method Successes (line 529) | func (p *asyncProducer) Successes() <-chan *ProducerMessage { method Input (line 533) | func (p *asyncProducer) Input() chan<- *ProducerMessage { method Close (line 537) | func (p *asyncProducer) Close() error { method AsyncClose (line 562) | func (p *asyncProducer) AsyncClose() { method dispatcher (line 568) | func (p *asyncProducer) dispatcher() { method newTopicProducer (line 664) | func (p *asyncProducer) newTopicProducer(topic string) chan<- *Produce... method newPartitionProducer (line 768) | func (p *asyncProducer) newPartitionProducer(topic string, partition i... method newBrokerProducer (line 957) | func (p *asyncProducer) newBrokerProducer(broker *Broker) *brokerProdu... method retryBatch (line 1438) | func (p *asyncProducer) retryBatch(topic string, partition int32, pSet... method retryHandler (line 1544) | func (p *asyncProducer) retryHandler() { method shutdown (line 1605) | func (p *asyncProducer) shutdown() { method bumpIdempotentProducerEpoch (line 1627) | func (p *asyncProducer) bumpIdempotentProducerEpoch() { method maybeTransitionToErrorState (line 1643) | func (p *asyncProducer) maybeTransitionToErrorState(err error) error { method returnError (line 1656) | func (p *asyncProducer) returnError(msg *ProducerMessage, err error) { method returnErrors (line 1677) | func (p *asyncProducer) returnErrors(batch []*ProducerMessage, err err... method returnSuccesses (line 1683) | func (p *asyncProducer) returnSuccesses(batch []*ProducerMessage) { method retryMessage (line 1693) | func (p *asyncProducer) retryMessage(msg *ProducerMessage, err error) { method retryMessages (line 1702) | func (p *asyncProducer) retryMessages(batch []*ProducerMessage, err er... method getBrokerProducer (line 1708) | func (p *asyncProducer) getBrokerProducer(broker *Broker) *brokerProdu... method unrefBrokerProducer (line 1725) | func (p *asyncProducer) unrefBrokerProducer(broker *Broker, bp *broker... method abandonBrokerConnection (line 1740) | func (p *asyncProducer) abandonBrokerConnection(broker *Broker) { type partitionMuter (line 110) | type partitionMuter struct method isMuted (line 129) | func (m *partitionMuter) isMuted(topic string, partition int32) bool { method isAnyMuted (line 135) | func (m *partitionMuter) isAnyMuted(set *produceSet) bool { method mutePartition (line 143) | func (m *partitionMuter) mutePartition(topic string, partition int32) { method muteSet (line 152) | func (m *partitionMuter) muteSet(set *produceSet) { method tryMute (line 161) | func (m *partitionMuter) tryMute(set *produceSet) bool { method tryMutePartition (line 176) | func (m *partitionMuter) tryMutePartition(topic string, partition int3... method waitUntilMuted (line 189) | func (m *partitionMuter) waitUntilMuted(set *produceSet) bool { method awaitUnmuteChan (line 211) | func (m *partitionMuter) awaitUnmuteChan(set *produceSet) (<-chan stru... method unmute (line 226) | func (m *partitionMuter) unmute(set *produceSet) { method close (line 258) | func (m *partitionMuter) close() { function newPartitionMuter (line 118) | func newPartitionMuter() *partitionMuter { function NewAsyncProducer (line 271) | func NewAsyncProducer(addrs []string, conf *Config) (AsyncProducer, erro... function NewAsyncProducerFromClient (line 281) | func NewAsyncProducerFromClient(client Client) (AsyncProducer, error) { function newAsyncProducer (line 288) | func newAsyncProducer(client Client) (AsyncProducer, error) { type flagSet (line 320) | type flagSet constant syn (line 323) | syn flagSet = 1 << iota constant fin (line 324) | fin constant shutdown (line 325) | shutdown constant endtxn (line 326) | endtxn constant committxn (line 327) | committxn constant aborttxn (line 328) | aborttxn type ProducerMessage (line 332) | type ProducerMessage struct method ByteSize (line 383) | func (m *ProducerMessage) ByteSize(version int) int { method clear (line 402) | func (m *ProducerMessage) clear() { constant producerMessageOverhead (line 381) | producerMessageOverhead = 26 type ProducerError (line 412) | type ProducerError struct method Error (line 417) | func (pe ProducerError) Error() string { method Unwrap (line 421) | func (pe ProducerError) Unwrap() error { type ProducerErrors (line 428) | type ProducerErrors method Error (line 430) | func (pe ProducerErrors) Error() string { type topicProducer (line 654) | type topicProducer struct method dispatch (line 678) | func (tp *topicProducer) dispatch() { method partitionMessage (line 701) | func (tp *topicProducer) partitionMessage(msg *ProducerMessage) error { type partitionProducer (line 745) | type partitionProducer struct method backoff (line 783) | func (pp *partitionProducer) backoff(retries int) { method updateLeaderIfBrokerProducerIsNil (line 796) | func (pp *partitionProducer) updateLeaderIfBrokerProducerIsNil(msg *Pr... method dispatch (line 808) | func (pp *partitionProducer) dispatch() { method newHighWatermark (line 889) | func (pp *partitionProducer) newHighWatermark(hwm int) { method flushRetryBuffers (line 905) | func (pp *partitionProducer) flushRetryBuffers() { method updateLeader (line 938) | func (pp *partitionProducer) updateLeader() error { type partitionRetryState (line 763) | type partitionRetryState struct type brokerProducerResponse (line 1068) | type brokerProducerResponse struct type brokerProducer (line 1076) | type brokerProducer struct method run (line 1094) | func (bp *brokerProducer) run() { method tryBuildFlushingBatch (line 1194) | func (bp *brokerProducer) tryBuildFlushingBatch() bool { method shutdown (line 1217) | func (bp *brokerProducer) shutdown() { method needsRetry (line 1258) | func (bp *brokerProducer) needsRetry(msg *ProducerMessage) error { method waitForSpace (line 1267) | func (bp *brokerProducer) waitForSpace(msg *ProducerMessage, forceRoll... method rollOver (line 1315) | func (bp *brokerProducer) rollOver() { method handleResponse (line 1324) | func (bp *brokerProducer) handleResponse(response *brokerProducerRespo... method handleSuccess (line 1336) | func (bp *brokerProducer) handleSuccess(sent *produceSet, response *Pr... method handleError (line 1481) | func (bp *brokerProducer) handleError(sent *produceSet, err error) { FILE: async_producer_test.go function expectResultsWithTimeout (line 24) | func expectResultsWithTimeout(t *testing.T, p AsyncProducer, successCoun... function expectResults (line 60) | func expectResults(t *testing.T, p AsyncProducer, successCount, errorCou... function TestPartitionProducerFlushRetryBuffersAssignsSequence (line 64) | func TestPartitionProducerFlushRetryBuffersAssignsSequence(t *testing.T) { type testPartitioner (line 107) | type testPartitioner method Partition (line 109) | func (p testPartitioner) Partition(msg *ProducerMessage, numPartitions... method RequiresConsistency (line 118) | func (p testPartitioner) RequiresConsistency() bool { method feed (line 122) | func (p testPartitioner) feed(partition int32) { type flakyEncoder (line 126) | type flakyEncoder method Length (line 128) | func (f flakyEncoder) Length() int { method Encode (line 132) | func (f flakyEncoder) Encode() ([]byte, error) { function TestAsyncProducer (line 139) | func TestAsyncProducer(t *testing.T) { function TestAsyncProducerMultipleFlushes (line 188) | func TestAsyncProducerMultipleFlushes(t *testing.T) { function TestAsyncProducerMultipleBrokers (line 223) | func TestAsyncProducerMultipleBrokers(t *testing.T) { function TestAsyncProducerCustomPartitioner (line 263) | func TestAsyncProducerCustomPartitioner(t *testing.T) { function TestAsyncProducerFailureRetry (line 305) | func TestAsyncProducerFailureRetry(t *testing.T) { function TestAsyncProducerRecoveryWithRetriesDisabled (line 353) | func TestAsyncProducerRecoveryWithRetriesDisabled(t *testing.T) { function TestAsyncProducerEncoderFailures (line 439) | func TestAsyncProducerEncoderFailures(t *testing.T) { function TestAsyncProducerBrokerBounce (line 477) | func TestAsyncProducerBrokerBounce(t *testing.T) { function TestAsyncProducerBrokerBounceWithStaleMetadata (line 518) | func TestAsyncProducerBrokerBounceWithStaleMetadata(t *testing.T) { function TestAsyncProducerMultipleRetries (line 561) | func TestAsyncProducerMultipleRetries(t *testing.T) { function TestAsyncProducerMultipleRetriesWithBackoffFunc (line 617) | func TestAsyncProducerMultipleRetriesWithBackoffFunc(t *testing.T) { function TestAsyncProducerWithExponentialBackoffDurations (line 689) | func TestAsyncProducerWithExponentialBackoffDurations(t *testing.T) { function TestAsyncProducerMultipleRetriesWithConcurrentRequests (line 752) | func TestAsyncProducerMultipleRetriesWithConcurrentRequests(t *testing.T) { function TestAsyncProducerBrokerRestart (line 800) | func TestAsyncProducerBrokerRestart(t *testing.T) { function TestAsyncProducerOutOfRetries (line 917) | func TestAsyncProducerOutOfRetries(t *testing.T) { function TestAsyncProducerRetryWithReferenceOpen (line 974) | func TestAsyncProducerRetryWithReferenceOpen(t *testing.T) { function TestAsyncProducerFlusherRetryCondition (line 1031) | func TestAsyncProducerFlusherRetryCondition(t *testing.T) { function TestAsyncProducerRetryShutdown (line 1097) | func TestAsyncProducerRetryShutdown(t *testing.T) { function TestAsyncProducerNoReturns (line 1146) | func TestAsyncProducerNoReturns(t *testing.T) { function TestAsyncProducerIdempotentGoldenPath (line 1186) | func TestAsyncProducerIdempotentGoldenPath(t *testing.T) { function TestAsyncProducerIdempotentRetryCheckBatch (line 1234) | func TestAsyncProducerIdempotentRetryCheckBatch(t *testing.T) { function TestAsyncProducerIdempotentRetryCheckBatch_2378 (line 1382) | func TestAsyncProducerIdempotentRetryCheckBatch_2378(t *testing.T) { function TestAsyncProducerIdempotentErrorOnOutOfSeq (line 1450) | func TestAsyncProducerIdempotentErrorOnOutOfSeq(t *testing.T) { function TestAsyncProducerIdempotentEpochRollover (line 1499) | func TestAsyncProducerIdempotentEpochRollover(t *testing.T) { function TestAsyncProducerIdempotentEpochExhaustion (line 1570) | func TestAsyncProducerIdempotentEpochExhaustion(t *testing.T) { function TestBrokerProducerShutdown (line 1649) | func TestBrokerProducerShutdown(t *testing.T) { function TestBrokerProducerWaitForSpaceEmptyBufferRollover (line 1682) | func TestBrokerProducerWaitForSpaceEmptyBufferRollover(t *testing.T) { function awaitMuterBlocked (line 1712) | func awaitMuterBlocked(t *testing.T, m *partitionMuter, set *produceSet) { function assertNotDone (line 1726) | func assertNotDone[T any](t *testing.T, ch <-chan T, wait time.Duration) { function assertDoneWithin (line 1736) | func assertDoneWithin[T any](t *testing.T, ch <-chan T, timeout time.Dur... function TestBrokerProducerWaitForSpaceRespectsExternalUnmute (line 1750) | func TestBrokerProducerWaitForSpaceRespectsExternalUnmute(t *testing.T) { function TestBrokerProducerFlushSkipsMutedPartitions (line 1797) | func TestBrokerProducerFlushSkipsMutedPartitions(t *testing.T) { function TestBrokerProducerWaitForSpaceAllPartitionsMuted (line 1839) | func TestBrokerProducerWaitForSpaceAllPartitionsMuted(t *testing.T) { function TestPartitionMuterCloseWakesWaitUntilMuted (line 1874) | func TestPartitionMuterCloseWakesWaitUntilMuted(t *testing.T) { function TestBrokerProducerRollOverClearsTimer (line 1911) | func TestBrokerProducerRollOverClearsTimer(t *testing.T) { function TestRetryBatchRespectsPartitionMuter (line 1968) | func TestRetryBatchRespectsPartitionMuter(t *testing.T) { type stubLeaderClient (line 2021) | type stubLeaderClient struct method Config (line 2026) | func (c *stubLeaderClient) Config() *Config ... method Controller (line 2027) | func (c *stubLeaderClient) Controller() (*Broker, error) ... method RefreshController (line 2028) | func (c *stubLeaderClient) RefreshController() (*Broker, error) ... method Brokers (line 2029) | func (c *stubLeaderClient) Brokers() []*Broker ... method Broker (line 2030) | func (c *stubLeaderClient) Broker(int32) (*Broker, error) ... method Topics (line 2031) | func (c *stubLeaderClient) Topics() ([]string, error) ... method Partitions (line 2032) | func (c *stubLeaderClient) Partitions(string) ([]int32, error) ... method WritablePartitions (line 2033) | func (c *stubLeaderClient) WritablePartitions(string) ([]int32, error)... method Leader (line 2034) | func (c *stubLeaderClient) Leader(topic string, partitionID int32) (*B... method LeaderAndEpoch (line 2037) | func (c *stubLeaderClient) LeaderAndEpoch(string, int32) (*Broker, int... method Replicas (line 2040) | func (c *stubLeaderClient) Replicas(string, int32) ([]int32, error) ... method InSyncReplicas (line 2041) | func (c *stubLeaderClient) InSyncReplicas(string, int32) ([]int32, err... method OfflineReplicas (line 2042) | func (c *stubLeaderClient) OfflineReplicas(string, int32) ([]int32, er... method RefreshBrokers (line 2043) | func (c *stubLeaderClient) RefreshBrokers([]string) error ... method RefreshMetadata (line 2044) | func (c *stubLeaderClient) RefreshMetadata(...string) error ... method GetOffset (line 2045) | func (c *stubLeaderClient) GetOffset(string, int32, int64) (int64, err... method Coordinator (line 2046) | func (c *stubLeaderClient) Coordinator(string) (*Broker, error) ... method RefreshCoordinator (line 2047) | func (c *stubLeaderClient) RefreshCoordinator(string) error ... method TransactionCoordinator (line 2048) | func (c *stubLeaderClient) TransactionCoordinator(string) (*Broker, er... method RefreshTransactionCoordinator (line 2049) | func (c *stubLeaderClient) RefreshTransactionCoordinator(string) error... method InitProducerID (line 2050) | func (c *stubLeaderClient) InitProducerID() (*InitProducerIDResponse, ... method LeastLoadedBroker (line 2051) | func (c *stubLeaderClient) LeastLoadedBroker() *Broker ... method PartitionNotReadable (line 2052) | func (c *stubLeaderClient) PartitionNotReadable(string, int32) bool ... method Close (line 2053) | func (c *stubLeaderClient) Close() error ... method Closed (line 2054) | func (c *stubLeaderClient) Closed() bool ... function testProducerInterceptor (line 2056) | func testProducerInterceptor( function TestAsyncProducerInterceptors (line 2099) | func TestAsyncProducerInterceptors(t *testing.T) { function TestProducerError (line 2157) | func TestProducerError(t *testing.T) { function TestTxmngInitProducerId (line 2165) | func TestTxmngInitProducerId(t *testing.T) { function TestTxnProduceBumpEpoch (line 2198) | func TestTxnProduceBumpEpoch(t *testing.T) { function TestTxnProduceRecordWithCommit (line 2300) | func TestTxnProduceRecordWithCommit(t *testing.T) { function TestTxnProduceBatchAddPartition (line 2375) | func TestTxnProduceBatchAddPartition(t *testing.T) { function TestTxnProduceRecordWithAbort (line 2488) | func TestTxnProduceRecordWithAbort(t *testing.T) { function TestTxnCanAbort (line 2563) | func TestTxnCanAbort(t *testing.T) { function TestProducerRetryBufferLimits (line 2673) | func TestProducerRetryBufferLimits(t *testing.T) { function ExampleAsyncProducer_select (line 2780) | func ExampleAsyncProducer_select() { function ExampleAsyncProducer_goroutines (line 2817) | func ExampleAsyncProducer_goroutines() { function TestAsyncProducerRetryOrdering (line 2871) | func TestAsyncProducerRetryOrdering(t *testing.T) { function TestAsyncProducerPartitionUnmuting (line 2998) | func TestAsyncProducerPartitionUnmuting(t *testing.T) { FILE: balance_strategy.go constant RangeBalanceStrategyName (line 16) | RangeBalanceStrategyName = "range" constant RoundRobinBalanceStrategyName (line 19) | RoundRobinBalanceStrategyName = "roundrobin" constant StickyBalanceStrategyName (line 22) | StickyBalanceStrategyName = "sticky" constant defaultGeneration (line 24) | defaultGeneration = -1 type BalanceStrategyPlan (line 30) | type BalanceStrategyPlan method Add (line 33) | func (p BalanceStrategyPlan) Add(memberID, topic string, partitions ..... type BalanceStrategy (line 47) | type BalanceStrategy interface function NewBalanceStrategyRange (line 71) | func NewBalanceStrategyRange() BalanceStrategy { function NewBalanceStrategySticky (line 109) | func NewBalanceStrategySticky() BalanceStrategy { type balanceStrategy (line 118) | type balanceStrategy struct method Name (line 124) | func (s *balanceStrategy) Name() string { return s.name } method Plan (line 127) | func (s *balanceStrategy) Plan(members map[string]ConsumerGroupMemberM... method AssignmentData (line 162) | func (s *balanceStrategy) AssignmentData(memberID string, topics map[s... type stickyBalanceStrategy (line 166) | type stickyBalanceStrategy struct method Name (line 171) | func (s *stickyBalanceStrategy) Name() string { return StickyBalanceSt... method Plan (line 174) | func (s *stickyBalanceStrategy) Plan(members map[string]ConsumerGroupM... method AssignmentData (line 277) | func (s *stickyBalanceStrategy) AssignmentData(memberID string, topics... method balance (line 285) | func (s *stickyBalanceStrategy) balance(currentAssignment map[string][... method performReassignments (line 491) | func (s *stickyBalanceStrategy) performReassignments(reassignableParti... method reassignPartitionToNewConsumer (line 542) | func (s *stickyBalanceStrategy) reassignPartitionToNewConsumer(partiti... method reassignPartition (line 552) | func (s *stickyBalanceStrategy) reassignPartition(partition topicParti... method processPartitionMovement (line 560) | func (s *stickyBalanceStrategy) processPartitionMovement(partition top... function NewBalanceStrategyRoundRobin (line 337) | func NewBalanceStrategyRoundRobin() BalanceStrategy { type roundRobinBalancer (line 344) | type roundRobinBalancer struct method Name (line 346) | func (b *roundRobinBalancer) Name() string { method Plan (line 350) | func (b *roundRobinBalancer) Plan(memberAndMetadata map[string]Consume... method AssignmentData (line 401) | func (b *roundRobinBalancer) AssignmentData(memberID string, topics ma... type topicAndPartition (line 405) | type topicAndPartition struct method comparedValue (line 410) | func (tp *topicAndPartition) comparedValue() string { type memberAndTopic (line 414) | type memberAndTopic struct method hasTopic (line 419) | func (m *memberAndTopic) hasTopic(topic string) bool { function getBalanceScore (line 427) | func getBalanceScore(assignment map[string][]topicPartitionAssignment) i... function isBalanced (line 444) | func isBalanced(currentAssignment map[string][]topicPartitionAssignment,... function canConsumerParticipateInReassignment (line 571) | func canConsumerParticipateInReassignment(memberID string, currentAssign... function canTopicPartitionParticipateInReassignment (line 591) | func canTopicPartitionParticipateInReassignment(partition topicPartition... function assignPartition (line 596) | func assignPartition(partition topicPartitionAssignment, sortedCurrentSu... function deserializeTopicPartitionAssignment (line 608) | func deserializeTopicPartitionAssignment(userDataBytes []byte) (StickyAs... function filterAssignedPartitions (line 622) | func filterAssignedPartitions(currentAssignment map[string][]topicPartit... function removeTopicPartitionFromMemberAssignments (line 638) | func removeTopicPartitionFromMemberAssignments(assignments []topicPartit... function memberAssignmentsIncludeTopicPartition (line 647) | func memberAssignmentsIncludeTopicPartition(assignments []topicPartition... function sortPartitions (line 651) | func sortPartitions(currentAssignment map[string][]topicPartitionAssignm... function sortMemberIDsByPartitionAssignments (line 715) | func sortMemberIDsByPartitionAssignments(assignments map[string][]topicP... function sortPartitionsByPotentialConsumerAssignments (line 731) | func sortPartitionsByPotentialConsumerAssignments(partition2AllPotential... function deepCopyAssignment (line 752) | func deepCopyAssignment(assignment map[string][]topicPartitionAssignment... function areSubscriptionsIdentical (line 760) | func areSubscriptionsIdentical(partition2AllPotentialConsumers map[topic... function prepopulateCurrentAssignments (line 816) | func prepopulateCurrentAssignments(members map[string]ConsumerGroupMembe... type consumerGenerationPair (line 879) | type consumerGenerationPair struct type consumerPair (line 885) | type consumerPair struct type partitionMovements (line 891) | type partitionMovements struct method removeMovementRecordOfPartition (line 896) | func (p *partitionMovements) removeMovementRecordOfPartition(partition... method addPartitionMovementRecord (line 911) | func (p *partitionMovements) addPartitionMovementRecord(partition topi... method movePartition (line 923) | func (p *partitionMovements) movePartition(partition topicPartitionAss... method getTheActualPartitionToBeMoved (line 946) | func (p *partitionMovements) getTheActualPartitionToBeMoved(partition ... method isLinked (line 974) | func (p *partitionMovements) isLinked(src, dst string, pairs []consume... method in (line 1009) | func (p *partitionMovements) in(cycle []string, cycles [][]string) bool { method hasCycles (line 1024) | func (p *partitionMovements) hasCycles(pairs []consumerPair) bool { method isSticky (line 1056) | func (p *partitionMovements) isSticky() bool { function indexOfSubList (line 1074) | func indexOfSubList(source []string, target []string) int { type consumerGroupMember (line 1093) | type consumerGroupMember struct type assignmentPriorityQueue (line 1100) | type assignmentPriorityQueue method Len (line 1102) | func (pq assignmentPriorityQueue) Len() int { return len(pq) } method Less (line 1104) | func (pq assignmentPriorityQueue) Less(i, j int) bool { method Swap (line 1112) | func (pq assignmentPriorityQueue) Swap(i, j int) { method Push (line 1116) | func (pq *assignmentPriorityQueue) Push(x interface{}) { method Pop (line 1121) | func (pq *assignmentPriorityQueue) Pop() interface{} { FILE: balance_strategy_test.go function TestBalanceStrategyRange (line 17) | func TestBalanceStrategyRange(t *testing.T) { function TestBalanceStrategyRangeAssignmentData (line 101) | func TestBalanceStrategyRangeAssignmentData(t *testing.T) { function TestBalanceStrategyRoundRobin (line 121) | func TestBalanceStrategyRoundRobin(t *testing.T) { function Test_deserializeTopicPartitionAssignment (line 203) | func Test_deserializeTopicPartitionAssignment(t *testing.T) { function TestBalanceStrategyRoundRobinAssignmentData (line 288) | func TestBalanceStrategyRoundRobinAssignmentData(t *testing.T) { function Test_prepopulateCurrentAssignments (line 308) | func Test_prepopulateCurrentAssignments(t *testing.T) { function Test_areSubscriptionsIdentical (line 460) | func Test_areSubscriptionsIdentical(t *testing.T) { function Test_sortMemberIDsByPartitionAssignments (line 584) | func Test_sortMemberIDsByPartitionAssignments(t *testing.T) { function Test_sortPartitions (line 640) | func Test_sortPartitions(t *testing.T) { function Test_filterAssignedPartitions (line 751) | func Test_filterAssignedPartitions(t *testing.T) { function Test_canConsumerParticipateInReassignment (line 823) | func Test_canConsumerParticipateInReassignment(t *testing.T) { function Test_removeTopicPartitionFromMemberAssignments (line 924) | func Test_removeTopicPartitionFromMemberAssignments(t *testing.T) { function Test_assignPartition (line 997) | func Test_assignPartition(t *testing.T) { function Test_stickyBalanceStrategy_Plan (line 1121) | func Test_stickyBalanceStrategy_Plan(t *testing.T) { function Test_stickyBalanceStrategy_Plan_KIP54_ExampleOne (line 1350) | func Test_stickyBalanceStrategy_Plan_KIP54_ExampleOne(t *testing.T) { function Test_stickyBalanceStrategy_Plan_KIP54_ExampleTwo (line 1390) | func Test_stickyBalanceStrategy_Plan_KIP54_ExampleTwo(t *testing.T) { function Test_stickyBalanceStrategy_Plan_KIP54_ExampleThree (line 1434) | func Test_stickyBalanceStrategy_Plan_KIP54_ExampleThree(t *testing.T) { function Test_stickyBalanceStrategy_Plan_AddRemoveConsumerOneTopic (line 1471) | func Test_stickyBalanceStrategy_Plan_AddRemoveConsumerOneTopic(t *testin... function Test_stickyBalanceStrategy_Plan_PoorRoundRobinAssignmentScenario (line 1507) | func Test_stickyBalanceStrategy_Plan_PoorRoundRobinAssignmentScenario(t ... function Test_stickyBalanceStrategy_Plan_AddRemoveTopicTwoConsumers (line 1538) | func Test_stickyBalanceStrategy_Plan_AddRemoveTopicTwoConsumers(t *testi... function Test_stickyBalanceStrategy_Plan_ReassignmentAfterOneConsumerLeaves (line 1588) | func Test_stickyBalanceStrategy_Plan_ReassignmentAfterOneConsumerLeaves(... function Test_stickyBalanceStrategy_Plan_ReassignmentAfterOneConsumerAdded (line 1628) | func Test_stickyBalanceStrategy_Plan_ReassignmentAfterOneConsumerAdded(t... function Test_stickyBalanceStrategy_Plan_SameSubscriptions (line 1652) | func Test_stickyBalanceStrategy_Plan_SameSubscriptions(t *testing.T) { function Test_stickyBalanceStrategy_Plan_LargeAssignmentWithMultipleConsumersLeaving (line 1689) | func Test_stickyBalanceStrategy_Plan_LargeAssignmentWithMultipleConsumer... function Test_stickyBalanceStrategy_Plan_NewSubscription (line 1729) | func Test_stickyBalanceStrategy_Plan_NewSubscription(t *testing.T) { function Test_stickyBalanceStrategy_Plan_ReassignmentWithRandomSubscriptionsAndChanges (line 1758) | func Test_stickyBalanceStrategy_Plan_ReassignmentWithRandomSubscriptions... function Test_stickyBalanceStrategy_Plan_MoveExistingAssignments (line 1807) | func Test_stickyBalanceStrategy_Plan_MoveExistingAssignments(t *testing.... function Test_stickyBalanceStrategy_Plan_Stickiness (line 1832) | func Test_stickyBalanceStrategy_Plan_Stickiness(t *testing.T) { function Test_stickyBalanceStrategy_Plan_AssignmentUpdatedForDeletedTopic (line 1860) | func Test_stickyBalanceStrategy_Plan_AssignmentUpdatedForDeletedTopic(t ... function Test_stickyBalanceStrategy_Plan_NoExceptionRaisedWhenOnlySubscribedTopicDeleted (line 1882) | func Test_stickyBalanceStrategy_Plan_NoExceptionRaisedWhenOnlySubscribed... function Test_stickyBalanceStrategy_Plan_AssignmentWithMultipleGenerations1 (line 1910) | func Test_stickyBalanceStrategy_Plan_AssignmentWithMultipleGenerations1(... function Test_stickyBalanceStrategy_Plan_AssignmentWithMultipleGenerations2 (line 1960) | func Test_stickyBalanceStrategy_Plan_AssignmentWithMultipleGenerations2(... function Test_stickyBalanceStrategy_Plan_AssignmentWithConflictingPreviousGenerations (line 2006) | func Test_stickyBalanceStrategy_Plan_AssignmentWithConflictingPreviousGe... function Test_stickyBalanceStrategy_Plan_SchemaBackwardCompatibility (line 2029) | func Test_stickyBalanceStrategy_Plan_SchemaBackwardCompatibility(t *test... function Test_stickyBalanceStrategy_Plan_ConflictingPreviousAssignments (line 2049) | func Test_stickyBalanceStrategy_Plan_ConflictingPreviousAssignments(t *t... function Test_stickyBalanceStrategy_Plan_AssignmentData (line 2068) | func Test_stickyBalanceStrategy_Plan_AssignmentData(t *testing.T) { function Test_stickyBalanceStrategy_Plan_data_race (line 2090) | func Test_stickyBalanceStrategy_Plan_data_race(t *testing.T) { function BenchmarkStickAssignmentWithLargeNumberOfConsumersAndTopics (line 2107) | func BenchmarkStickAssignmentWithLargeNumberOfConsumersAndTopics(b *test... function BenchmarkStickAssignmentWithLargeNumberOfConsumersAndTopicsAndExistingAssignments (line 2135) | func BenchmarkStickAssignmentWithLargeNumberOfConsumersAndTopicsAndExist... function verifyPlanIsBalancedAndSticky (line 2174) | func verifyPlanIsBalancedAndSticky(t *testing.T, s *stickyBalanceStrateg... function verifyValidityAndBalance (line 2187) | func verifyValidityAndBalance(t *testing.T, consumers map[string]Consume... function intersection (line 2264) | func intersection(a interface{}, b interface{}) []interface{} { function encodeSubscriberPlan (line 2285) | func encodeSubscriberPlan(t *testing.T, assignments map[string][]int32) ... function encodeSubscriberPlanWithGeneration (line 2289) | func encodeSubscriberPlanWithGeneration(t *testing.T, assignments map[st... function encodeSubscriberPlanWithGenerationForBenchmark (line 2301) | func encodeSubscriberPlanWithGenerationForBenchmark(b *testing.B, assign... function encodeSubscriberPlanWithOldSchema (line 2313) | func encodeSubscriberPlanWithOldSchema(t *testing.T, assignments map[str... function verifyFullyBalanced (line 2326) | func verifyFullyBalanced(t *testing.T, plan BalanceStrategyPlan) { function getRandomSublist (line 2346) | func getRandomSublist(r *rand.Rand, s []string) []string { function Test_sortPartitionsByPotentialConsumerAssignments (line 2365) | func Test_sortPartitionsByPotentialConsumerAssignments(t *testing.T) { FILE: broker.go type Broker (line 23) | type Broker struct method Open (line 165) | func (b *Broker) Open(conf *Config) error { method ResponseSize (line 315) | func (b *Broker) ResponseSize() int { method Connected (line 324) | func (b *Broker) Connected() (bool, error) { method TLSConnectionState (line 332) | func (b *Broker) TLSConnectionState() (state tls.ConnectionState, ok b... method Close (line 350) | func (b *Broker) Close() error { method maybeCloseLocked (line 360) | func (b *Broker) maybeCloseLocked(err error) bool { method closeLocked (line 372) | func (b *Broker) closeLocked() error { method ID (line 403) | func (b *Broker) ID() int32 { method Addr (line 408) | func (b *Broker) Addr() string { method Rack (line 416) | func (b *Broker) Rack() string { method GetMetadata (line 424) | func (b *Broker) GetMetadata(request *MetadataRequest) (*MetadataRespo... method DescribeCluster (line 436) | func (b *Broker) DescribeCluster(request *DescribeClusterRequest) (*De... method GetConsumerMetadata (line 448) | func (b *Broker) GetConsumerMetadata(request *ConsumerMetadataRequest)... method FindCoordinator (line 460) | func (b *Broker) FindCoordinator(request *FindCoordinatorRequest) (*Fi... method GetAvailableOffsets (line 472) | func (b *Broker) GetAvailableOffsets(request *OffsetRequest) (*OffsetR... method AsyncProduce (line 499) | func (b *Broker) AsyncProduce(request *ProduceRequest, cb ProduceCallb... method Produce (line 539) | func (b *Broker) Produce(request *ProduceRequest) (*ProduceResponse, e... method Fetch (line 560) | func (b *Broker) Fetch(request *FetchRequest) (*FetchResponse, error) { method CommitOffset (line 581) | func (b *Broker) CommitOffset(request *OffsetCommitRequest) (*OffsetCo... method FetchOffset (line 593) | func (b *Broker) FetchOffset(request *OffsetFetchRequest) (*OffsetFetc... method JoinGroup (line 606) | func (b *Broker) JoinGroup(request *JoinGroupRequest) (*JoinGroupRespo... method SyncGroup (line 618) | func (b *Broker) SyncGroup(request *SyncGroupRequest) (*SyncGroupRespo... method LeaveGroup (line 630) | func (b *Broker) LeaveGroup(request *LeaveGroupRequest) (*LeaveGroupRe... method Heartbeat (line 642) | func (b *Broker) Heartbeat(request *HeartbeatRequest) (*HeartbeatRespo... method ListGroups (line 654) | func (b *Broker) ListGroups(request *ListGroupsRequest) (*ListGroupsRe... method DescribeGroups (line 667) | func (b *Broker) DescribeGroups(request *DescribeGroupsRequest) (*Desc... method ApiVersions (line 679) | func (b *Broker) ApiVersions(request *ApiVersionsRequest) (*ApiVersion... method CreateTopics (line 691) | func (b *Broker) CreateTopics(request *CreateTopicsRequest) (*CreateTo... method DeleteTopics (line 703) | func (b *Broker) DeleteTopics(request *DeleteTopicsRequest) (*DeleteTo... method CreatePartitions (line 716) | func (b *Broker) CreatePartitions(request *CreatePartitionsRequest) (*... method AlterPartitionReassignments (line 729) | func (b *Broker) AlterPartitionReassignments(request *AlterPartitionRe... method ListPartitionReassignments (line 742) | func (b *Broker) ListPartitionReassignments(request *ListPartitionReas... method ElectLeaders (line 754) | func (b *Broker) ElectLeaders(request *ElectLeadersRequest) (*ElectLea... method DeleteRecords (line 767) | func (b *Broker) DeleteRecords(request *DeleteRecordsRequest) (*Delete... method DescribeAcls (line 779) | func (b *Broker) DescribeAcls(request *DescribeAclsRequest) (*Describe... method CreateAcls (line 791) | func (b *Broker) CreateAcls(request *CreateAclsRequest) (*CreateAclsRe... method DeleteAcls (line 814) | func (b *Broker) DeleteAcls(request *DeleteAclsRequest) (*DeleteAclsRe... method InitProducerID (line 826) | func (b *Broker) InitProducerID(request *InitProducerIDRequest) (*Init... method AddPartitionsToTxn (line 840) | func (b *Broker) AddPartitionsToTxn(request *AddPartitionsToTxnRequest... method AddOffsetsToTxn (line 853) | func (b *Broker) AddOffsetsToTxn(request *AddOffsetsToTxnRequest) (*Ad... method EndTxn (line 865) | func (b *Broker) EndTxn(request *EndTxnRequest) (*EndTxnResponse, erro... method TxnOffsetCommit (line 878) | func (b *Broker) TxnOffsetCommit(request *TxnOffsetCommitRequest) (*Tx... method DescribeConfigs (line 891) | func (b *Broker) DescribeConfigs(request *DescribeConfigsRequest) (*De... method AlterConfigs (line 903) | func (b *Broker) AlterConfigs(request *AlterConfigsRequest) (*AlterCon... method IncrementalAlterConfigs (line 915) | func (b *Broker) IncrementalAlterConfigs(request *IncrementalAlterConf... method DeleteGroups (line 927) | func (b *Broker) DeleteGroups(request *DeleteGroupsRequest) (*DeleteGr... method DeleteOffsets (line 938) | func (b *Broker) DeleteOffsets(request *DeleteOffsetsRequest) (*Delete... method DescribeLogDirs (line 949) | func (b *Broker) DescribeLogDirs(request *DescribeLogDirsRequest) (*De... method DescribeUserScramCredentials (line 961) | func (b *Broker) DescribeUserScramCredentials(req *DescribeUserScramCr... method AlterUserScramCredentials (line 972) | func (b *Broker) AlterUserScramCredentials(req *AlterUserScramCredenti... method DescribeClientQuotas (line 984) | func (b *Broker) DescribeClientQuotas(request *DescribeClientQuotasReq... method AlterClientQuotas (line 996) | func (b *Broker) AlterClientQuotas(request *AlterClientQuotasRequest) ... method readFull (line 1009) | func (b *Broker) readFull(buf []byte) (n int, err error) { method write (line 1019) | func (b *Broker) write(buf []byte) (n int, err error) { method send (line 1039) | func (b *Broker) send(req, res protocolBody) (*responsePromise, error) { method sendWithPromise (line 1064) | func (b *Broker) sendWithPromise(rb protocolBody, promise *responsePro... method sendInternal (line 1083) | func (b *Broker) sendInternal(rb protocolBody, promise *responsePromis... method sendAndReceive (line 1132) | func (b *Broker) sendAndReceive(req protocolBody, res protocolBody) er... method decode (line 1166) | func (b *Broker) decode(pd packetDecoder, version int16) (err error) { method encode (line 1198) | func (b *Broker) encode(pe packetEncoder, version int16) (err error) { method responseReceiver (line 1229) | func (b *Broker) responseReceiver() { method sendAndReceiveApiVersions (line 1327) | func (b *Broker) sendAndReceiveApiVersions(v int16) (*ApiVersionsRespo... method authenticateViaSASLv0 (line 1392) | func (b *Broker) authenticateViaSASLv0() error { method authenticateViaSASLv1 (line 1403) | func (b *Broker) authenticateViaSASLv1() error { method sendAndReceiveKerberos (line 1470) | func (b *Broker) sendAndReceiveKerberos() error { method sendAndReceiveSASLHandshake (line 1478) | func (b *Broker) sendAndReceiveSASLHandshake(saslType SASLMechanism, v... method sendAndReceiveSASLPlainAuthV0 (line 1555) | func (b *Broker) sendAndReceiveSASLPlainAuthV0() error { method sendAndReceiveSASLPlainAuthV1 (line 1599) | func (b *Broker) sendAndReceiveSASLPlainAuthV1(authSendReceiver func(a... method sendAndReceiveSASLOAuth (line 1611) | func (b *Broker) sendAndReceiveSASLOAuth(authSendReceiver func(authByt... method sendAndReceiveSASLSCRAMv0 (line 1635) | func (b *Broker) sendAndReceiveSASLSCRAMv0() error { method sendAndReceiveSASLSCRAMv1 (line 1692) | func (b *Broker) sendAndReceiveSASLSCRAMv1(authSendReceiver func(authB... method createSaslAuthenticateRequest (line 1720) | func (b *Broker) createSaslAuthenticateRequest(msg []byte) *SaslAuthen... method computeSaslSessionLifetime (line 1764) | func (b *Broker) computeSaslSessionLifetime(res *SaslAuthenticateRespo... method updateIncomingCommunicationMetrics (line 1781) | func (b *Broker) updateIncomingCommunicationMetrics(bytes int, request... method updateRequestLatencyAndInFlightMetrics (line 1801) | func (b *Broker) updateRequestLatencyAndInFlightMetrics(requestLatency... method addRequestInFlightMetrics (line 1812) | func (b *Broker) addRequestInFlightMetrics(i int64) { method updateOutgoingCommunicationMetrics (line 1819) | func (b *Broker) updateOutgoingCommunicationMetrics(bytes int) { method updateProtocolMetrics (line 1837) | func (b *Broker) updateProtocolMetrics(rb protocolBody) { method handleThrottledResponse (line 1859) | func (b *Broker) handleThrottledResponse(resp protocolBody) { method setThrottle (line 1874) | func (b *Broker) setThrottle(throttleTime time.Duration) { method waitIfThrottled (line 1886) | func (b *Broker) waitIfThrottled() { method updateThrottleMetric (line 1896) | func (b *Broker) updateThrottleMetric(throttleTime time.Duration) { method registerMetrics (line 1903) | func (b *Broker) registerMetrics() { method registerMeter (line 1917) | func (b *Broker) registerMeter(name string) metrics.Meter { method registerHistogram (line 1922) | func (b *Broker) registerHistogram(name string) metrics.Histogram { method registerCounter (line 1927) | func (b *Broker) registerCounter(name string) metrics.Counter { type SASLMechanism (line 69) | type SASLMechanism constant SASLTypeOAuth (line 73) | SASLTypeOAuth = "OAUTHBEARER" constant SASLTypePlaintext (line 75) | SASLTypePlaintext = "PLAIN" constant SASLTypeSCRAMSHA256 (line 77) | SASLTypeSCRAMSHA256 = "SCRAM-SHA-256" constant SASLTypeSCRAMSHA512 (line 79) | SASLTypeSCRAMSHA512 = "SCRAM-SHA-512" constant SASLTypeGSSAPI (line 80) | SASLTypeGSSAPI = "GSSAPI" constant SASLHandshakeV0 (line 83) | SASLHandshakeV0 = int16(0) constant SASLHandshakeV1 (line 86) | SASLHandshakeV1 = int16(1) constant SASLExtKeyAuth (line 89) | SASLExtKeyAuth = "auth" type AccessToken (line 94) | type AccessToken struct type AccessTokenProvider (line 106) | type AccessTokenProvider interface type SCRAMClient (line 119) | type SCRAMClient interface type responsePromise (line 131) | type responsePromise struct method handle (line 140) | func (p *responsePromise) handle(packets []byte, err error) { function NewBroker (line 156) | func NewBroker(addr string) *Broker { type ProduceCallback (line 485) | type ProduceCallback function makeResponsePromise (line 1054) | func makeResponsePromise(res protocolBody) *responsePromise { function handleResponsePromise (line 1157) | func handleResponsePromise(req protocolBody, res protocolBody, promise *... function getHeaderLength (line 1284) | func getHeaderLength(headerVersion int16) int8 { function shouldCloseBrokerConn (line 1294) | func shouldCloseBrokerConn(err error) bool { function currentUnixMilli (line 1605) | func currentUnixMilli() int64 { function buildClientFirstMessage (line 1731) | func buildClientFirstMessage(token *AccessToken) ([]byte, error) { function mapToString (line 1752) | func mapToString(extensions map[string]string, keyValSep string, elemSep... type throttleSupport (line 1855) | type throttleSupport interface function validServerNameTLS (line 1932) | func validServerNameTLS(addr string, cfg *tls.Config) *tls.Config { FILE: broker_test.go function ExampleBroker (line 19) | func ExampleBroker() { type mockEncoder (line 40) | type mockEncoder struct method encode (line 44) | func (m mockEncoder) encode(pe packetEncoder) error { method headerVersion (line 48) | func (m mockEncoder) headerVersion() int16 { type brokerMetrics (line 52) | type brokerMetrics struct function TestBrokerAccessors (line 57) | func TestBrokerAccessors(t *testing.T) { type produceResponsePromise (line 84) | type produceResponsePromise struct method callback (line 99) | func (p produceResponsePromise) callback(res *ProduceResponse, err err... method Get (line 111) | func (p produceResponsePromise) Get() (*ProduceResponse, error) { type produceResOrError (line 88) | type produceResOrError struct function newProduceResponsePromise (line 93) | func newProduceResponsePromise() produceResponsePromise { function TestSimpleBrokerCommunication (line 116) | func TestSimpleBrokerCommunication(t *testing.T) { function TestBrokerFailedRequest (line 159) | func TestBrokerFailedRequest(t *testing.T) { type closeImmediatelyDialer (line 203) | type closeImmediatelyDialer struct method Dial (line 205) | func (closeImmediatelyDialer) Dial(_, _ string) (net.Conn, error) { function TestBrokerOpenApiVersionsTransportError (line 211) | func TestBrokerOpenApiVersionsTransportError(t *testing.T) { function TestBrokerOpenSASLv1FailThenReopenTransportError (line 252) | func TestBrokerOpenSASLv1FailThenReopenTransportError(t *testing.T) { type TokenProvider (line 293) | type TokenProvider struct method Token (line 298) | func (t *TokenProvider) Token() (*AccessToken, error) { function newTokenProvider (line 302) | func newTokenProvider(token *AccessToken, err error) *TokenProvider { function TestSASLOAuthBearer (line 309) | func TestSASLOAuthBearer(t *testing.T) { type MockSCRAMClient (line 429) | type MockSCRAMClient struct method Begin (line 433) | func (m *MockSCRAMClient) Begin(_, _, _ string) (err error) { method Step (line 437) | func (m *MockSCRAMClient) Step(challenge string) (response string, err... method Done (line 448) | func (m *MockSCRAMClient) Done() bool { function TestSASLSCRAMSHAXXX (line 454) | func TestSASLSCRAMSHAXXX(t *testing.T) { function TestSASLPlainAuth (line 559) | func TestSASLPlainAuth(t *testing.T) { function TestSASLReadTimeout (line 681) | func TestSASLReadTimeout(t *testing.T) { function TestGSSAPIKerberosAuth_Authorize (line 729) | func TestGSSAPIKerberosAuth_Authorize(t *testing.T) { function TestBuildClientFirstMessage (line 846) | func TestBuildClientFirstMessage(t *testing.T) { function TestKip368ReAuthenticationSuccess (line 899) | func TestKip368ReAuthenticationSuccess(t *testing.T) { function TestKip368ReAuthenticationFailure (line 983) | func TestKip368ReAuthenticationFailure(t *testing.T) { function validateBrokerMetrics (line 1463) | func validateBrokerMetrics(t *testing.T, broker *Broker, mockBrokerMetri... function BenchmarkBroker_Open (line 1494) | func BenchmarkBroker_Open(b *testing.B) { function BenchmarkBroker_No_Metrics_Open (line 1512) | func BenchmarkBroker_No_Metrics_Open(b *testing.B) { function Test_handleThrottledResponse (line 1529) | func Test_handleThrottledResponse(t *testing.T) { FILE: client.go type Client (line 24) | type Client interface constant OffsetNewest (line 135) | OffsetNewest int64 = -1 constant OffsetOldest (line 140) | OffsetOldest int64 = -2 type client (line 143) | type client struct method Config (line 252) | func (client *client) Config() *Config { method Brokers (line 256) | func (client *client) Brokers() []*Broker { method Broker (line 266) | func (client *client) Broker(brokerID int32) (*Broker, error) { method InitProducerID (line 277) | func (client *client) InitProducerID() (*InitProducerIDResponse, error) { method Close (line 312) | func (client *client) Close() error { method Closed (line 343) | func (client *client) Closed() bool { method Topics (line 350) | func (client *client) Topics() ([]string, error) { method MetadataTopics (line 366) | func (client *client) MetadataTopics() ([]string, error) { method Partitions (line 382) | func (client *client) Partitions(topic string) ([]int32, error) { method WritablePartitions (line 386) | func (client *client) WritablePartitions(topic string) ([]int32, error) { method getPartitions (line 390) | func (client *client) getPartitions(topic string, pt partitionType) ([... method Replicas (line 418) | func (client *client) Replicas(topic string, partitionID int32) ([]int... method InSyncReplicas (line 424) | func (client *client) InSyncReplicas(topic string, partitionID int32) ... method OfflineReplicas (line 430) | func (client *client) OfflineReplicas(topic string, partitionID int32)... method getReplicas (line 436) | func (client *client) getReplicas(topic string, partitionID int32, ext... method Leader (line 462) | func (client *client) Leader(topic string, partitionID int32) (*Broker... method LeaderAndEpoch (line 467) | func (client *client) LeaderAndEpoch(topic string, partitionID int32) ... method RefreshBrokers (line 484) | func (client *client) RefreshBrokers(addrs []string) error { method RefreshMetadata (line 513) | func (client *client) RefreshMetadata(topics ...string) error { method GetOffset (line 527) | func (client *client) GetOffset(topic string, partitionID int32, times... method Controller (line 543) | func (client *client) Controller() (*Broker, error) { method deregisterController (line 569) | func (client *client) deregisterController() { method RefreshController (line 580) | func (client *client) RefreshController() (*Broker, error) { method Coordinator (line 600) | func (client *client) Coordinator(consumerGroup string) (*Broker, erro... method RefreshCoordinator (line 622) | func (client *client) RefreshCoordinator(consumerGroup string) error { method TransactionCoordinator (line 639) | func (client *client) TransactionCoordinator(transactionID string) (*B... method RefreshTransactionCoordinator (line 661) | func (client *client) RefreshTransactionCoordinator(transactionID stri... method randomizeSeedBrokers (line 680) | func (client *client) randomizeSeedBrokers(addrs []string) { method updateBroker (line 687) | func (client *client) updateBroker(brokers []*Broker) { method registerBroker (line 721) | func (client *client) registerBroker(broker *Broker) { method deregisterBroker (line 739) | func (client *client) deregisterBroker(broker *Broker) { method resurrectDeadBrokers (line 755) | func (client *client) resurrectDeadBrokers() { method LeastLoadedBroker (line 766) | func (client *client) LeastLoadedBroker() *Broker { method cachedMetadata (line 804) | func (client *client) cachedMetadata(topic string, partitionID int32) ... method cachedPartitions (line 816) | func (client *client) cachedPartitions(topic string, partitionSet part... method setPartitionCache (line 828) | func (client *client) setPartitionCache(topic string, partitionSet par... method cachedLeader (line 847) | func (client *client) cachedLeader(topic string, partitionID int32) (*... method getOffset (line 870) | func (client *client) getOffset(topic string, partitionID int32, times... method backgroundMetadataUpdater (line 902) | func (client *client) backgroundMetadataUpdater() { method refreshMetadata (line 924) | func (client *client) refreshMetadata() error { method tryRefreshMetadata (line 944) | func (client *client) tryRefreshMetadata(topics []string, attemptsRema... method updateMetadata (line 1048) | func (client *client) updateMetadata(data *MetadataResponse, allKnownM... method cachedCoordinator (line 1115) | func (client *client) cachedCoordinator(consumerGroup string) *Broker { method cachedTransactionCoordinator (line 1124) | func (client *client) cachedTransactionCoordinator(transactionID strin... method cachedController (line 1133) | func (client *client) cachedController() *Broker { method computeBackoff (line 1140) | func (client *client) computeBackoff(attemptsRemaining int) time.Durat... method findCoordinator (line 1149) | func (client *client) findCoordinator(coordinatorKey string, coordinat... method resolveCanonicalNames (line 1227) | func (client *client) resolveCanonicalNames(addrs []string) ([]string,... method PartitionNotReadable (line 1289) | func (client *client) PartitionNotReadable(topic string, partition int... function NewClient (line 177) | func NewClient(addrs []string, conf *Config) (Client, error) { type partitionType (line 793) | type partitionType constant allPartitions (line 796) | allPartitions partitionType = iota constant writablePartitions (line 797) | writablePartitions constant maxPartitionIndex (line 801) | maxPartitionIndex type nopCloserClient (line 1279) | type nopCloserClient struct method Close (line 1285) | func (ncc *nopCloserClient) Close() error { FILE: client_test.go function TestSimpleClient (line 20) | func TestSimpleClient(t *testing.T) { function TestCachedPartitions (line 36) | func TestCachedPartitions(t *testing.T) { function TestClientDoesntCachePartitionsForTopicsWithErrors (line 75) | func TestClientDoesntCachePartitionsForTopicsWithErrors(t *testing.T) { function TestClientSeedBrokers (line 131) | func TestClientSeedBrokers(t *testing.T) { function TestClientMetadata (line 147) | func TestClientMetadata(t *testing.T) { function TestClientMetadataWithOfflineReplicas (line 222) | func TestClientMetadataWithOfflineReplicas(t *testing.T) { function TestClientGetOffset (line 310) | func TestClientGetOffset(t *testing.T) { function TestClientReceivingUnknownTopicWithBackoffFunc (line 358) | func TestClientReceivingUnknownTopicWithBackoffFunc(t *testing.T) { function TestClientReceivingUnknownTopic (line 397) | func TestClientReceivingUnknownTopic(t *testing.T) { function TestClientReceivingPartialMetadata (line 435) | func TestClientReceivingPartialMetadata(t *testing.T) { function TestClientRefreshBehaviourWhenEmptyMetadataResponse (line 489) | func TestClientRefreshBehaviourWhenEmptyMetadataResponse(t *testing.T) { function TestClientRefreshBehaviour (line 536) | func TestClientRefreshBehaviour(t *testing.T) { function TestClientRefreshBrokers (line 573) | func TestClientRefreshBrokers(t *testing.T) { function TestClientRefreshMetadataBrokerOffline (line 606) | func TestClientRefreshMetadataBrokerOffline(t *testing.T) { function TestClientGetBroker (line 643) | func TestClientGetBroker(t *testing.T) { function TestClientResurrectDeadSeeds (line 686) | func TestClientResurrectDeadSeeds(t *testing.T) { function TestClientController (line 750) | func TestClientController(t *testing.T) { function TestClientMetadataTimeout (line 796) | func TestClientMetadataTimeout(t *testing.T) { function TestClientUpdateMetadataErrorAndRetry (line 884) | func TestClientUpdateMetadataErrorAndRetry(t *testing.T) { function TestClientRefreshesMetadataConcurrently (line 941) | func TestClientRefreshesMetadataConcurrently(t *testing.T) { function TestClientCoordinatorWithConsumerOffsetsTopic (line 1004) | func TestClientCoordinatorWithConsumerOffsetsTopic(t *testing.T) { function TestClientCoordinatorChangeWithConsumerOffsetsTopic (line 1058) | func TestClientCoordinatorChangeWithConsumerOffsetsTopic(t *testing.T) { function TestClientCoordinatorWithoutConsumerOffsetsTopic (line 1134) | func TestClientCoordinatorWithoutConsumerOffsetsTopic(t *testing.T) { function TestClientAutorefreshShutdownRace (line 1190) | func TestClientAutorefreshShutdownRace(t *testing.T) { function TestClientConnectionRefused (line 1234) | func TestClientConnectionRefused(t *testing.T) { function TestClientCoordinatorConnectionRefused (line 1249) | func TestClientCoordinatorConnectionRefused(t *testing.T) { function TestInitProducerIDConnectionRefused (line 1276) | func TestInitProducerIDConnectionRefused(t *testing.T) { function TestMetricsCleanup (line 1310) | func TestMetricsCleanup(t *testing.T) { function TestUpdateBroker (line 1335) | func TestUpdateBroker(t *testing.T) { FILE: client_tls_test.go function TestTLS (line 17) | func TestTLS(t *testing.T) { function doListenerTLSTest (line 185) | func doListenerTLSTest(t *testing.T, expectSuccess bool, serverConfig, c... function TestSetServerName (line 225) | func TestSetServerName(t *testing.T) { FILE: compress.go function compress (line 112) | func compress(cc CompressionCodec, level int, data []byte) ([]byte, erro... function gzipCompress (line 129) | func gzipCompress(level int, data []byte) ([]byte, error) { function lz4Compress (line 178) | func lz4Compress(data []byte) ([]byte, error) { FILE: config.go constant defaultClientID (line 16) | defaultClientID = "sarama" type Config (line 23) | type Config struct method Validate (line 596) | func (c *Config) Validate() error { method getDialer (line 888) | func (c *Config) getDialer() proxy.Dialer { function NewConfig (line 530) | func NewConfig() *Config { constant MAX_GROUP_INSTANCE_ID_LENGTH (line 901) | MAX_GROUP_INSTANCE_ID_LENGTH = 249 function validateGroupInstanceId (line 905) | func validateGroupInstanceId(id string) error { FILE: config_resource_type.go type ConfigResourceType (line 4) | type ConfigResourceType constant UnknownResource (line 11) | UnknownResource ConfigResourceType = 0 constant TopicResource (line 13) | TopicResource ConfigResourceType = 2 constant BrokerResource (line 15) | BrokerResource ConfigResourceType = 4 constant BrokerLoggerResource (line 17) | BrokerLoggerResource ConfigResourceType = 8 FILE: config_test.go function NewTestConfig (line 19) | func NewTestConfig() *Config { function TestDefaultConfigValidates (line 28) | func TestDefaultConfigValidates(t *testing.T) { function TestInvalidClientIDValidated (line 40) | func TestInvalidClientIDValidated(t *testing.T) { type DummyTokenProvider (line 58) | type DummyTokenProvider struct method Token (line 60) | func (t *DummyTokenProvider) Token() (*AccessToken, error) { function TestNetConfigValidates (line 64) | func TestNetConfigValidates(t *testing.T) { function TestMetadataConfigValidates (line 273) | func TestMetadataConfigValidates(t *testing.T) { function TestAdminConfigValidates (line 313) | func TestAdminConfigValidates(t *testing.T) { function TestProducerConfigValidates (line 339) | func TestProducerConfigValidates(t *testing.T) { function TestConsumerConfigValidates (line 470) | func TestConsumerConfigValidates(t *testing.T) { function TestLZ4ConfigValidation (line 505) | func TestLZ4ConfigValidation(t *testing.T) { function TestZstdConfigValidation (line 519) | func TestZstdConfigValidation(t *testing.T) { function TestValidGroupInstanceId (line 533) | func TestValidGroupInstanceId(t *testing.T) { function TestGroupInstanceIdAndVersionValidation (line 565) | func TestGroupInstanceIdAndVersionValidation(t *testing.T) { function TestConsumerGroupStrategyCompatibility (line 577) | func TestConsumerGroupStrategyCompatibility(t *testing.T) { function ExampleConfig_metrics (line 587) | func ExampleConfig_metrics() { FILE: consumer.go type ConsumerMessage (line 15) | type ConsumerMessage struct type ConsumerError (line 28) | type ConsumerError struct method Error (line 34) | func (ce ConsumerError) Error() string { method Unwrap (line 38) | func (ce ConsumerError) Unwrap() error { type ConsumerErrors (line 45) | type ConsumerErrors method Error (line 47) | func (ce ConsumerErrors) Error() string { type Consumer (line 54) | type Consumer interface constant partitionConsumersBatchTimeout (line 100) | partitionConsumersBatchTimeout = 100 * time.Millisecond type consumer (line 102) | type consumer struct method Close (line 146) | func (c *consumer) Close() error { method Topics (line 151) | func (c *consumer) Topics() ([]string, error) { method Partitions (line 155) | func (c *consumer) Partitions(topic string) ([]int32, error) { method ConsumePartition (line 159) | func (c *consumer) ConsumePartition(topic string, partition int32, off... method HighWaterMarks (line 198) | func (c *consumer) HighWaterMarks() map[string]map[int32]int64 { method addChild (line 214) | func (c *consumer) addChild(child *partitionConsumer) error { method removeChild (line 232) | func (c *consumer) removeChild(child *partitionConsumer) { method refBrokerConsumer (line 239) | func (c *consumer) refBrokerConsumer(broker *Broker) *brokerConsumer { method unrefBrokerConsumer (line 254) | func (c *consumer) unrefBrokerConsumer(brokerWorker *brokerConsumer) { method abandonBrokerConsumer (line 268) | func (c *consumer) abandonBrokerConsumer(brokerWorker *brokerConsumer) { method Pause (line 276) | func (c *consumer) Pause(topicPartitions map[string][]int32) { method Resume (line 292) | func (c *consumer) Resume(topicPartitions map[string][]int32) { method PauseAll (line 308) | func (c *consumer) PauseAll() { method ResumeAll (line 320) | func (c *consumer) ResumeAll() { method newBrokerConsumer (line 863) | func (c *consumer) newBrokerConsumer(broker *Broker) *brokerConsumer { function NewConsumer (line 112) | func NewConsumer(addrs []string, config *Config) (Consumer, error) { function NewConsumerFromClient (line 122) | func NewConsumerFromClient(client Client) (Consumer, error) { function newConsumer (line 129) | func newConsumer(client Client) (Consumer, error) { type PartitionConsumer (line 350) | type PartitionConsumer interface type partitionConsumer (line 394) | type partitionConsumer struct method sendError (line 421) | func (child *partitionConsumer) sendError(err error) { method computeBackoff (line 435) | func (child *partitionConsumer) computeBackoff() time.Duration { method dispatcher (line 443) | func (child *partitionConsumer) dispatcher() { method preferredBroker (line 468) | func (child *partitionConsumer) preferredBroker() (*Broker, int32, err... method dispatch (line 488) | func (child *partitionConsumer) dispatch() error { method chooseStartingOffset (line 505) | func (child *partitionConsumer) chooseStartingOffset(offset int64) err... method Messages (line 532) | func (child *partitionConsumer) Messages() <-chan *ConsumerMessage { method Errors (line 536) | func (child *partitionConsumer) Errors() <-chan *ConsumerError { method AsyncClose (line 540) | func (child *partitionConsumer) AsyncClose() { method Close (line 550) | func (child *partitionConsumer) Close() error { method HighWaterMarkOffset (line 564) | func (child *partitionConsumer) HighWaterMarkOffset() int64 { method responseFeeder (line 568) | func (child *partitionConsumer) responseFeeder() { method parseMessages (line 622) | func (child *partitionConsumer) parseMessages(msgSet *MessageSet) ([]*... method parseRecords (line 656) | func (child *partitionConsumer) parseRecords(batch *RecordBatch) ([]*C... method parseResponse (line 685) | func (child *partitionConsumer) parseResponse(response *FetchResponse)... method interceptors (line 832) | func (child *partitionConsumer) interceptors(msg *ConsumerMessage) { method Pause (line 839) | func (child *partitionConsumer) Pause() { method Resume (line 844) | func (child *partitionConsumer) Resume() { method IsPaused (line 849) | func (child *partitionConsumer) IsPaused() bool { type brokerConsumer (line 853) | type brokerConsumer struct method subscriptionManager (line 883) | func (bc *brokerConsumer) subscriptionManager() { method subscriptionConsumer (line 924) | func (bc *brokerConsumer) subscriptionConsumer() { method updateSubscriptions (line 968) | func (bc *brokerConsumer) updateSubscriptions(newSubscriptions []*part... method handleResponses (line 987) | func (bc *brokerConsumer) handleResponses() { method abort (line 1042) | func (bc *brokerConsumer) abort(err error) { method fetchNewMessages (line 1066) | func (bc *brokerConsumer) fetchNewMessages() (*FetchResponse, error) { FILE: consumer_group.go type ConsumerGroup (line 19) | type ConsumerGroup interface type consumerGroup (line 79) | type consumerGroup struct method Errors (line 154) | func (c *consumerGroup) Errors() <-chan error { return c.errors } method Close (line 157) | func (c *consumerGroup) Close() (err error) { method Consume (line 187) | func (c *consumerGroup) Consume(ctx context.Context, topics []string, ... method Pause (line 227) | func (c *consumerGroup) Pause(partitions map[string][]int32) { method Resume (line 232) | func (c *consumerGroup) Resume(partitions map[string][]int32) { method PauseAll (line 237) | func (c *consumerGroup) PauseAll() { method ResumeAll (line 242) | func (c *consumerGroup) ResumeAll() { method retryNewSession (line 246) | func (c *consumerGroup) retryNewSession(ctx context.Context, topics []... method newSession (line 268) | func (c *consumerGroup) newSession(ctx context.Context, topics []strin... method joinGroupRequest (line 445) | func (c *consumerGroup) joinGroupRequest(coordinator *Broker, topics [... method findStrategy (line 502) | func (c *consumerGroup) findStrategy(name string, groupStrategies []Ba... method syncGroupRequest (line 511) | func (c *consumerGroup) syncGroupRequest( method heartbeatRequest (line 562) | func (c *consumerGroup) heartbeatRequest(coordinator *Broker, memberID... method balance (line 589) | func (c *consumerGroup) balance(strategy BalanceStrategy, members map[... method leave (line 622) | func (c *consumerGroup) leave() error { method handleError (line 673) | func (c *consumerGroup) handleError(err error, topic string, partition... method loopCheckPartitionNumbers (line 704) | func (c *consumerGroup) loopCheckPartitionNumbers(allSubscribedTopicPa... method topicToPartitionNumbers (line 745) | func (c *consumerGroup) topicToPartitionNumbers(topics []string) (map[... function NewConsumerGroup (line 100) | func NewConsumerGroup(addrs []string, groupID string, config *Config) (C... function NewConsumerGroupFromClient (line 116) | func NewConsumerGroupFromClient(groupID string, client Client) (Consumer... function newConsumerGroup (line 126) | func newConsumerGroup(groupID string, client Client) (ConsumerGroup, err... type ConsumerGroupSession (line 763) | type ConsumerGroupSession interface type consumerGroupSession (line 807) | type consumerGroupSession struct method Claims (line 908) | func (s *consumerGroupSession) Claims() map[string][]int32 { return s.... method MemberID (line 909) | func (s *consumerGroupSession) MemberID() string { return s.... method GenerationID (line 910) | func (s *consumerGroupSession) GenerationID() int32 { return s.... method MarkOffset (line 912) | func (s *consumerGroupSession) MarkOffset(topic string, partition int3... method Commit (line 918) | func (s *consumerGroupSession) Commit() { method ResetOffset (line 922) | func (s *consumerGroupSession) ResetOffset(topic string, partition int... method MarkMessage (line 928) | func (s *consumerGroupSession) MarkMessage(msg *ConsumerMessage, metad... method Context (line 932) | func (s *consumerGroupSession) Context() context.Context { method consume (line 936) | func (s *consumerGroupSession) consume(topic string, partition int32) { method release (line 987) | func (s *consumerGroupSession) release(withCleanup bool) (err error) { method heartbeatLoop (line 1018) | func (s *consumerGroupSession) heartbeatLoop() { function newConsumerGroupSession (line 823) | func newConsumerGroupSession(ctx context.Context, parent *consumerGroup,... type ConsumerGroupHandler (line 1099) | type ConsumerGroupHandler interface type ConsumerGroupClaim (line 1114) | type ConsumerGroupClaim interface type consumerGroupClaim (line 1137) | type consumerGroupClaim struct method Topic (line 1169) | func (c *consumerGroupClaim) Topic() string { return c.topic } method Partition (line 1170) | func (c *consumerGroupClaim) Partition() int32 { return c.partition } method InitialOffset (line 1171) | func (c *consumerGroupClaim) InitialOffset() int64 { return c.offset } method waitClosed (line 1174) | func (c *consumerGroupClaim) waitClosed() (errs ConsumerErrors) { function newConsumerGroupClaim (line 1144) | func newConsumerGroupClaim(sess *consumerGroupSession, topic string, par... FILE: consumer_group_example_test.go type exampleConsumerGroupHandler (line 10) | type exampleConsumerGroupHandler struct method Setup (line 12) | func (exampleConsumerGroupHandler) Setup(_ ConsumerGroupSession) error... method Cleanup (line 13) | func (exampleConsumerGroupHandler) Cleanup(_ ConsumerGroupSession) err... method ConsumeClaim (line 14) | func (h exampleConsumerGroupHandler) ConsumeClaim(sess ConsumerGroupSe... function ExampleConsumerGroup (line 22) | func ExampleConsumerGroup() { FILE: consumer_group_members.go type ConsumerGroupMemberMetadata (line 7) | type ConsumerGroupMemberMetadata struct method encode (line 16) | func (m *ConsumerGroupMemberMetadata) encode(pe packetEncoder) error { method decode (line 51) | func (m *ConsumerGroupMemberMetadata) decode(pd packetDecoder) (err er... type OwnedPartition (line 100) | type OwnedPartition struct method encode (line 105) | func (m *OwnedPartition) encode(pe packetEncoder) error { method decode (line 115) | func (m *OwnedPartition) decode(pd packetDecoder) (err error) { type ConsumerGroupMemberAssignment (line 128) | type ConsumerGroupMemberAssignment struct method encode (line 134) | func (m *ConsumerGroupMemberAssignment) encode(pe packetEncoder) error { method decode (line 157) | func (m *ConsumerGroupMemberAssignment) decode(pd packetDecoder) (err ... FILE: consumer_group_members_test.go function TestConsumerGroupMemberMetadata (line 59) | func TestConsumerGroupMemberMetadata(t *testing.T) { function TestConsumerGroupMemberMetadataV1Decode (line 82) | func TestConsumerGroupMemberMetadataV1Decode(t *testing.T) { function TestConsumerGroupMemberMetadataV3Decode (line 92) | func TestConsumerGroupMemberMetadataV3Decode(t *testing.T) { function TestConsumerGroupMemberAssignment (line 99) | func TestConsumerGroupMemberAssignment(t *testing.T) { FILE: consumer_group_test.go type handler (line 15) | type handler struct method Setup (line 19) | func (h *handler) Setup(s ConsumerGroupSession) error { return nil } method Cleanup (line 20) | func (h *handler) Cleanup(s ConsumerGroupSession) error { return nil } method ConsumeClaim (line 21) | func (h *handler) ConsumeClaim(sess ConsumerGroupSession, claim Consum... function TestNewConsumerGroupFromClient (line 34) | func TestNewConsumerGroupFromClient(t *testing.T) { function TestConsumerGroupNewSessionDuringOffsetLoad (line 46) | func TestConsumerGroupNewSessionDuringOffsetLoad(t *testing.T) { function TestConsume_RaceTest (line 119) | func TestConsume_RaceTest(t *testing.T) { function TestConsumerGroupSessionDoesNotRetryForever (line 203) | func TestConsumerGroupSessionDoesNotRetryForever(t *testing.T) { function TestConsumerShouldNotRetrySessionIfContextCancelled (line 244) | func TestConsumerShouldNotRetrySessionIfContextCancelled(t *testing.T) { FILE: consumer_metadata_request.go type ConsumerMetadataRequest (line 4) | type ConsumerMetadataRequest struct method setVersion (line 9) | func (r *ConsumerMetadataRequest) setVersion(v int16) { method encode (line 13) | func (r *ConsumerMetadataRequest) encode(pe packetEncoder) error { method decode (line 21) | func (r *ConsumerMetadataRequest) decode(pd packetDecoder, version int... method key (line 30) | func (r *ConsumerMetadataRequest) key() int16 { method version (line 34) | func (r *ConsumerMetadataRequest) version() int16 { method headerVersion (line 38) | func (r *ConsumerMetadataRequest) headerVersion() int16 { method isValidVersion (line 42) | func (r *ConsumerMetadataRequest) isValidVersion() bool { method requiredVersion (line 46) | func (r *ConsumerMetadataRequest) requiredVersion() KafkaVersion { FILE: consumer_metadata_request_test.go function TestConsumerMetadataRequest (line 19) | func TestConsumerMetadataRequest(t *testing.T) { FILE: consumer_metadata_response.go type ConsumerMetadataResponse (line 9) | type ConsumerMetadataResponse struct method setVersion (line 18) | func (r *ConsumerMetadataResponse) setVersion(v int16) { method decode (line 22) | func (r *ConsumerMetadataResponse) decode(pd packetDecoder, version in... method encode (line 53) | func (r *ConsumerMetadataResponse) encode(pe packetEncoder) error { method key (line 73) | func (r *ConsumerMetadataResponse) key() int16 { method version (line 77) | func (r *ConsumerMetadataResponse) version() int16 { method headerVersion (line 81) | func (r *ConsumerMetadataResponse) headerVersion() int16 { method isValidVersion (line 85) | func (r *ConsumerMetadataResponse) isValidVersion() bool { method requiredVersion (line 89) | func (r *ConsumerMetadataResponse) requiredVersion() KafkaVersion { FILE: consumer_metadata_response_test.go function TestConsumerMetadataResponseError (line 26) | func TestConsumerMetadataResponseError(t *testing.T) { function TestConsumerMetadataResponseSuccess (line 40) | func TestConsumerMetadataResponseSuccess(t *testing.T) { FILE: consumer_test.go function TestConsumerOffsetManual (line 25) | func TestConsumerOffsetManual(t *testing.T) { function TestConsumerMessageWithKey (line 88) | func TestConsumerMessageWithKey(t *testing.T) { function TestPauseResumeConsumption (line 152) | func TestPauseResumeConsumption(t *testing.T) { function TestConsumerOffsetNewest (line 236) | func TestConsumerOffsetNewest(t *testing.T) { function TestConsumerOffsetOldest (line 282) | func TestConsumerOffsetOldest(t *testing.T) { function TestConsumerRecreate (line 329) | func TestConsumerRecreate(t *testing.T) { function TestConsumerDuplicate (line 370) | func TestConsumerDuplicate(t *testing.T) { function runConsumerLeaderRefreshErrorTestWithConfig (line 410) | func runConsumerLeaderRefreshErrorTestWithConfig(t *testing.T, config *C... function TestConsumerLeaderRefreshError (line 483) | func TestConsumerLeaderRefreshError(t *testing.T) { function TestConsumerLeaderRefreshErrorWithBackoffFunc (line 493) | func TestConsumerLeaderRefreshErrorWithBackoffFunc(t *testing.T) { function TestConsumerInvalidTopic (line 513) | func TestConsumerInvalidTopic(t *testing.T) { function TestConsumerClosePartitionWithoutLeader (line 540) | func TestConsumerClosePartitionWithoutLeader(t *testing.T) { function TestConsumerShutsDownOutOfRange (line 594) | func TestConsumerShutsDownOutOfRange(t *testing.T) { function TestConsumerExtraOffsets (line 632) | func TestConsumerExtraOffsets(t *testing.T) { function TestConsumerReceivingFetchResponseWithTooOldRecords (line 703) | func TestConsumerReceivingFetchResponseWithTooOldRecords(t *testing.T) { function TestConsumeMessageWithNewerFetchAPIVersion (line 750) | func TestConsumeMessageWithNewerFetchAPIVersion(t *testing.T) { function TestConsumeMessageWithSessionIDs (line 792) | func TestConsumeMessageWithSessionIDs(t *testing.T) { function TestConsumeMessagesFromReadReplica (line 840) | func TestConsumeMessagesFromReadReplica(t *testing.T) { function TestConsumeMessagesFromReadReplicaLeaderFallback (line 916) | func TestConsumeMessagesFromReadReplicaLeaderFallback(t *testing.T) { function TestConsumeMessagesFromReadReplicaErrorReplicaNotAvailable (line 967) | func TestConsumeMessagesFromReadReplicaErrorReplicaNotAvailable(t *testi... function TestConsumeMessagesFromReadReplicaErrorUnknown (line 1037) | func TestConsumeMessagesFromReadReplicaErrorUnknown(t *testing.T) { function TestConsumeMessagesTrackLeader (line 1113) | func TestConsumeMessagesTrackLeader(t *testing.T) { function TestConsumerNonSequentialOffsets (line 1226) | func TestConsumerNonSequentialOffsets(t *testing.T) { function TestConsumerRebalancingMultiplePartitions (line 1282) | func TestConsumerRebalancingMultiplePartitions(t *testing.T) { function TestConsumerInterleavedClose (line 1485) | func TestConsumerInterleavedClose(t *testing.T) { function TestConsumerBounceWithReferenceOpen (line 1533) | func TestConsumerBounceWithReferenceOpen(t *testing.T) { function TestConsumerOffsetOutOfRange (line 1632) | func TestConsumerOffsetOutOfRange(t *testing.T) { function TestConsumerExpiryTicker (line 1664) | func TestConsumerExpiryTicker(t *testing.T) { function TestConsumerTimestamps (line 1706) | func TestConsumerTimestamps(t *testing.T) { function TestExcludeUncommitted (line 1819) | func TestExcludeUncommitted(t *testing.T) { function assertMessageKey (line 1880) | func assertMessageKey(t *testing.T, msg *ConsumerMessage, expectedKey En... function assertMessageValue (line 1889) | func assertMessageValue(t *testing.T, msg *ConsumerMessage, expectedValu... function assertMessageOffset (line 1898) | func assertMessageOffset(t *testing.T, msg *ConsumerMessage, expectedOff... function ExampleConsumer (line 1907) | func ExampleConsumer() { function Test_partitionConsumer_parseResponse (line 1949) | func Test_partitionConsumer_parseResponse(t *testing.T) { function Test_partitionConsumer_parseResponseEmptyBatch (line 1995) | func Test_partitionConsumer_parseResponseEmptyBatch(t *testing.T) { function testConsumerInterceptor (line 2028) | func testConsumerInterceptor( function TestConsumerInterceptors (line 2077) | func TestConsumerInterceptors(t *testing.T) { function TestConsumerError (line 2139) | func TestConsumerError(t *testing.T) { FILE: control_record.go type ControlRecordType (line 4) | type ControlRecordType constant ControlRecordAbort (line 8) | ControlRecordAbort ControlRecordType = iota constant ControlRecordCommit (line 10) | ControlRecordCommit constant ControlRecordUnknown (line 12) | ControlRecordUnknown type ControlRecord (line 18) | type ControlRecord struct method decode (line 24) | func (cr *ControlRecord) decode(key, value packetDecoder) error { method encode (line 63) | func (cr *ControlRecord) encode(key, value packetEncoder) { FILE: control_record_test.go function testDecode (line 34) | func testDecode(t *testing.T, tp string, key []byte, value []byte) Contr... function assertRecordType (line 44) | func assertRecordType(t *testing.T, r *ControlRecord, expected ControlRe... function TestDecodingControlRecords (line 50) | func TestDecodingControlRecords(t *testing.T) { FILE: crc32_field.go type crcPolynomial (line 10) | type crcPolynomial constant crcIEEE (line 13) | crcIEEE crcPolynomial = iota constant crcCastagnoli (line 14) | crcCastagnoli function acquireCrc32Field (line 19) | func acquireCrc32Field(polynomial crcPolynomial) *crc32Field { function releaseCrc32Field (line 29) | func releaseCrc32Field(c *crc32Field) { type crc32Field (line 36) | type crc32Field struct method saveOffset (line 41) | func (c *crc32Field) saveOffset(in int) { method reserveLength (line 45) | func (c *crc32Field) reserveLength() int { method run (line 53) | func (c *crc32Field) run(curOffset int, buf []byte) error { method check (line 62) | func (c *crc32Field) check(curOffset int, buf []byte) error { method crc (line 76) | func (c *crc32Field) crc(curOffset int, buf []byte) (uint32, error) { function newCRC32Field (line 49) | func newCRC32Field(polynomial crcPolynomial) *crc32Field { FILE: create_partitions_request.go type CreatePartitionsRequest (line 5) | type CreatePartitionsRequest struct method setVersion (line 12) | func (c *CreatePartitionsRequest) setVersion(v int16) { method encode (line 16) | func (c *CreatePartitionsRequest) encode(pe packetEncoder) error { method decode (line 37) | func (c *CreatePartitionsRequest) decode(pd packetDecoder, version int... method key (line 67) | func (r *CreatePartitionsRequest) key() int16 { method version (line 71) | func (r *CreatePartitionsRequest) version() int16 { method headerVersion (line 75) | func (r *CreatePartitionsRequest) headerVersion() int16 { method isValidVersion (line 79) | func (r *CreatePartitionsRequest) isValidVersion() bool { method requiredVersion (line 83) | func (r *CreatePartitionsRequest) requiredVersion() KafkaVersion { type TopicPartition (line 94) | type TopicPartition struct method encode (line 99) | func (t *TopicPartition) encode(pe packetEncoder) error { method decode (line 120) | func (t *TopicPartition) decode(pd packetDecoder, version int16) (err ... FILE: create_partitions_request_test.go function TestCreatePartitionsRequest (line 34) | func TestCreatePartitionsRequest(t *testing.T) { FILE: create_partitions_response.go type CreatePartitionsResponse (line 8) | type CreatePartitionsResponse struct method setVersion (line 14) | func (c *CreatePartitionsResponse) setVersion(v int16) { method encode (line 18) | func (c *CreatePartitionsResponse) encode(pe packetEncoder) error { method decode (line 36) | func (c *CreatePartitionsResponse) decode(pd packetDecoder, version in... method key (line 61) | func (r *CreatePartitionsResponse) key() int16 { method version (line 65) | func (r *CreatePartitionsResponse) version() int16 { method headerVersion (line 69) | func (r *CreatePartitionsResponse) headerVersion() int16 { method isValidVersion (line 73) | func (r *CreatePartitionsResponse) isValidVersion() bool { method requiredVersion (line 77) | func (r *CreatePartitionsResponse) requiredVersion() KafkaVersion { method throttleTime (line 88) | func (r *CreatePartitionsResponse) throttleTime() time.Duration { type TopicPartitionError (line 92) | type TopicPartitionError struct method Error (line 97) | func (t *TopicPartitionError) Error() string { method Unwrap (line 105) | func (t *TopicPartitionError) Unwrap() error { method encode (line 109) | func (t *TopicPartitionError) encode(pe packetEncoder) error { method decode (line 119) | func (t *TopicPartitionError) decode(pd packetDecoder, version int16) ... FILE: create_partitions_response_test.go function TestCreatePartitionsResponse (line 30) | func TestCreatePartitionsResponse(t *testing.T) { function TestTopicPartitionError (line 57) | func TestTopicPartitionError(t *testing.T) { FILE: create_topics_request.go type CreateTopicsRequest (line 7) | type CreateTopicsRequest struct method setVersion (line 19) | func (c *CreateTopicsRequest) setVersion(v int16) { method encode (line 52) | func (c *CreateTopicsRequest) encode(pe packetEncoder) error { method decode (line 75) | func (c *CreateTopicsRequest) decode(pd packetDecoder, version int16) ... method key (line 112) | func (c *CreateTopicsRequest) key() int16 { method version (line 116) | func (c *CreateTopicsRequest) version() int16 { method headerVersion (line 120) | func (c *CreateTopicsRequest) headerVersion() int16 { method isFlexible (line 127) | func (c *CreateTopicsRequest) isFlexible() bool { method isFlexibleVersion (line 131) | func (c *CreateTopicsRequest) isFlexibleVersion(version int16) bool { method isValidVersion (line 135) | func (c *CreateTopicsRequest) isValidVersion() bool { method requiredVersion (line 139) | func (c *CreateTopicsRequest) requiredVersion() KafkaVersion { function NewCreateTopicsRequest (line 23) | func NewCreateTopicsRequest( type TopicDetail (line 158) | type TopicDetail struct method encode (line 174) | func (t *TopicDetail) encode(pe packetEncoder) error { method decode (line 206) | func (t *TopicDetail) decode(pd packetDecoder, version int16) (err err... FILE: create_topics_request_test.go function TestCreateTopicsRequest (line 46) | func TestCreateTopicsRequest(t *testing.T) { FILE: create_topics_response.go type CreateTopicsResponse (line 8) | type CreateTopicsResponse struct method setVersion (line 20) | func (c *CreateTopicsResponse) setVersion(v int16) { method encode (line 24) | func (c *CreateTopicsResponse) encode(pe packetEncoder) error { method decode (line 54) | func (c *CreateTopicsResponse) decode(pd packetDecoder, version int16)... method key (line 95) | func (c *CreateTopicsResponse) key() int16 { method version (line 99) | func (c *CreateTopicsResponse) version() int16 { method headerVersion (line 103) | func (c *CreateTopicsResponse) headerVersion() int16 { method isFlexible (line 110) | func (c *CreateTopicsResponse) isFlexible() bool { method isFlexibleVersion (line 114) | func (c *CreateTopicsResponse) isFlexibleVersion(version int16) bool { method isValidVersion (line 118) | func (c *CreateTopicsResponse) isValidVersion() bool { method requiredVersion (line 122) | func (c *CreateTopicsResponse) requiredVersion() KafkaVersion { method throttleTime (line 141) | func (r *CreateTopicsResponse) throttleTime() time.Duration { type TopicError (line 145) | type TopicError struct method Error (line 150) | func (t *TopicError) Error() string { method Unwrap (line 158) | func (t *TopicError) Unwrap() error { method encode (line 162) | func (t *TopicError) encode(pe packetEncoder, version int16) error { method decode (line 174) | func (t *TopicError) decode(pd packetDecoder, version int16) (err erro... type CreatableTopicResult (line 190) | type CreatableTopicResult struct method encode (line 201) | func (r *CreatableTopicResult) encode(pe packetEncoder, version int16)... method decode (line 233) | func (r *CreatableTopicResult) decode(pd packetDecoder, version int16)... type CreatableTopicConfigs (line 275) | type CreatableTopicConfigs struct method encode (line 286) | func (c *CreatableTopicConfigs) encode(pe packetEncoder, version int16... method decode (line 297) | func (c *CreatableTopicConfigs) decode(pd packetDecoder, version int16... FILE: create_topics_response_test.go function TestCreateTopicsResponse (line 75) | func TestCreateTopicsResponse(t *testing.T) { function TestTopicError (line 116) | func TestTopicError(t *testing.T) { FILE: decompress.go function decompress (line 36) | func decompress(cc CompressionCodec, data []byte) ([]byte, error) { FILE: delete_groups_request.go type DeleteGroupsRequest (line 3) | type DeleteGroupsRequest struct method setVersion (line 8) | func (r *DeleteGroupsRequest) setVersion(v int16) { method encode (line 12) | func (r *DeleteGroupsRequest) encode(pe packetEncoder) error { method decode (line 20) | func (r *DeleteGroupsRequest) decode(pd packetDecoder, version int16) ... method key (line 29) | func (r *DeleteGroupsRequest) key() int16 { method version (line 33) | func (r *DeleteGroupsRequest) version() int16 { method headerVersion (line 37) | func (r *DeleteGroupsRequest) headerVersion() int16 { method isFlexible (line 44) | func (r *DeleteGroupsRequest) isFlexible() bool { method isFlexibleVersion (line 48) | func (r *DeleteGroupsRequest) isFlexibleVersion(version int16) bool { method isValidVersion (line 52) | func (r *DeleteGroupsRequest) isValidVersion() bool { method requiredVersion (line 56) | func (r *DeleteGroupsRequest) requiredVersion() KafkaVersion { method AddGroup (line 69) | func (r *DeleteGroupsRequest) AddGroup(group string) { FILE: delete_groups_request_test.go function TestDeleteGroupsRequest (line 40) | func TestDeleteGroupsRequest(t *testing.T) { function TestDeleteGroupsRequestV2 (line 56) | func TestDeleteGroupsRequestV2(t *testing.T) { FILE: delete_groups_response.go type DeleteGroupsResponse (line 7) | type DeleteGroupsResponse struct method setVersion (line 13) | func (r *DeleteGroupsResponse) setVersion(v int16) { method encode (line 17) | func (r *DeleteGroupsResponse) encode(pe packetEncoder) error { method decode (line 35) | func (r *DeleteGroupsResponse) decode(pd packetDecoder, version int16)... method key (line 69) | func (r *DeleteGroupsResponse) key() int16 { method version (line 73) | func (r *DeleteGroupsResponse) version() int16 { method headerVersion (line 77) | func (r *DeleteGroupsResponse) headerVersion() int16 { method isFlexible (line 84) | func (r *DeleteGroupsResponse) isFlexible() bool { method isFlexibleVersion (line 88) | func (r *DeleteGroupsResponse) isFlexibleVersion(version int16) bool { method isValidVersion (line 92) | func (r *DeleteGroupsResponse) isValidVersion() bool { method requiredVersion (line 96) | func (r *DeleteGroupsResponse) requiredVersion() KafkaVersion { method throttleTime (line 109) | func (r *DeleteGroupsResponse) throttleTime() time.Duration { FILE: delete_groups_response_test.go function TestDeleteGroupsResponse (line 55) | func TestDeleteGroupsResponse(t *testing.T) { function TestDeleteGroupsResponseV2 (line 86) | func TestDeleteGroupsResponseV2(t *testing.T) { FILE: delete_offsets_request.go type DeleteOffsetsRequest (line 3) | type DeleteOffsetsRequest struct method setVersion (line 9) | func (r *DeleteOffsetsRequest) setVersion(v int16) { method encode (line 13) | func (r *DeleteOffsetsRequest) encode(pe packetEncoder) (err error) { method decode (line 39) | func (r *DeleteOffsetsRequest) decode(pd packetDecoder, version int16)... method key (line 75) | func (r *DeleteOffsetsRequest) key() int16 { method version (line 79) | func (r *DeleteOffsetsRequest) version() int16 { method headerVersion (line 83) | func (r *DeleteOffsetsRequest) headerVersion() int16 { method isValidVersion (line 87) | func (r *DeleteOffsetsRequest) isValidVersion() bool { method requiredVersion (line 91) | func (r *DeleteOffsetsRequest) requiredVersion() KafkaVersion { method AddPartition (line 95) | func (r *DeleteOffsetsRequest) AddPartition(topic string, partitionID ... FILE: delete_offsets_request_test.go function TestDeleteOffsetsRequest (line 14) | func TestDeleteOffsetsRequest(t *testing.T) { FILE: delete_offsets_response.go type DeleteOffsetsResponse (line 7) | type DeleteOffsetsResponse struct method setVersion (line 16) | func (r *DeleteOffsetsResponse) setVersion(v int16) { method AddError (line 20) | func (r *DeleteOffsetsResponse) AddError(topic string, partition int32... method encode (line 32) | func (r *DeleteOffsetsResponse) encode(pe packetEncoder) error { method decode (line 54) | func (r *DeleteOffsetsResponse) decode(pd packetDecoder, version int16... method key (line 99) | func (r *DeleteOffsetsResponse) key() int16 { method version (line 103) | func (r *DeleteOffsetsResponse) version() int16 { method headerVersion (line 107) | func (r *DeleteOffsetsResponse) headerVersion() int16 { method isValidVersion (line 111) | func (r *DeleteOffsetsResponse) isValidVersion() bool { method requiredVersion (line 115) | func (r *DeleteOffsetsResponse) requiredVersion() KafkaVersion { method throttleTime (line 119) | func (r *DeleteOffsetsResponse) throttleTime() time.Duration { FILE: delete_offsets_response_test.go function TestDeleteOffsetsResponse (line 37) | func TestDeleteOffsetsResponse(t *testing.T) { FILE: delete_records_request.go type DeleteRecordsRequest (line 16) | type DeleteRecordsRequest struct method setVersion (line 22) | func (d *DeleteRecordsRequest) setVersion(v int16) { method encode (line 26) | func (d *DeleteRecordsRequest) encode(pe packetEncoder) error { method decode (line 48) | func (d *DeleteRecordsRequest) decode(pd packetDecoder, version int16)... method key (line 78) | func (d *DeleteRecordsRequest) key() int16 { method version (line 82) | func (d *DeleteRecordsRequest) version() int16 { method headerVersion (line 86) | func (d *DeleteRecordsRequest) headerVersion() int16 { method isValidVersion (line 90) | func (d *DeleteRecordsRequest) isValidVersion() bool { method requiredVersion (line 94) | func (d *DeleteRecordsRequest) requiredVersion() KafkaVersion { type DeleteRecordsRequestTopic (line 103) | type DeleteRecordsRequestTopic struct method encode (line 107) | func (t *DeleteRecordsRequestTopic) encode(pe packetEncoder) error { method decode (line 123) | func (t *DeleteRecordsRequestTopic) decode(pd packetDecoder, version i... FILE: delete_records_request_test.go function TestDeleteRecordsRequest (line 23) | func TestDeleteRecordsRequest(t *testing.T) { FILE: delete_records_response.go type DeleteRecordsResponse (line 16) | type DeleteRecordsResponse struct method setVersion (line 22) | func (d *DeleteRecordsResponse) setVersion(v int16) { method encode (line 26) | func (d *DeleteRecordsResponse) encode(pe packetEncoder) error { method decode (line 48) | func (d *DeleteRecordsResponse) decode(pd packetDecoder, version int16... method key (line 78) | func (d *DeleteRecordsResponse) key() int16 { method version (line 82) | func (d *DeleteRecordsResponse) version() int16 { method headerVersion (line 86) | func (d *DeleteRecordsResponse) headerVersion() int16 { method isValidVersion (line 90) | func (d *DeleteRecordsResponse) isValidVersion() bool { method requiredVersion (line 94) | func (d *DeleteRecordsResponse) requiredVersion() KafkaVersion { method throttleTime (line 103) | func (r *DeleteRecordsResponse) throttleTime() time.Duration { type DeleteRecordsResponseTopic (line 107) | type DeleteRecordsResponseTopic struct method encode (line 111) | func (t *DeleteRecordsResponseTopic) encode(pe packetEncoder) error { method decode (line 129) | func (t *DeleteRecordsResponseTopic) decode(pd packetDecoder, version ... type DeleteRecordsResponsePartition (line 153) | type DeleteRecordsResponsePartition struct method encode (line 158) | func (t *DeleteRecordsResponsePartition) encode(pe packetEncoder) error { method decode (line 164) | func (t *DeleteRecordsResponsePartition) decode(pd packetDecoder, vers... FILE: delete_records_response_test.go function TestDeleteRecordsResponse (line 25) | func TestDeleteRecordsResponse(t *testing.T) { FILE: delete_topics_request.go type DeleteTopicsRequest (line 5) | type DeleteTopicsRequest struct method setVersion (line 11) | func (d *DeleteTopicsRequest) setVersion(v int16) { method encode (line 32) | func (d *DeleteTopicsRequest) encode(pe packetEncoder) error { method decode (line 41) | func (d *DeleteTopicsRequest) decode(pd packetDecoder, version int16) ... method key (line 56) | func (d *DeleteTopicsRequest) key() int16 { method version (line 60) | func (d *DeleteTopicsRequest) version() int16 { method headerVersion (line 64) | func (d *DeleteTopicsRequest) headerVersion() int16 { method isFlexible (line 71) | func (d *DeleteTopicsRequest) isFlexible() bool { method isFlexibleVersion (line 75) | func (d *DeleteTopicsRequest) isFlexibleVersion(version int16) bool { method isValidVersion (line 79) | func (d *DeleteTopicsRequest) isValidVersion() bool { method requiredVersion (line 83) | func (d *DeleteTopicsRequest) requiredVersion() KafkaVersion { function NewDeleteTopicsRequest (line 15) | func NewDeleteTopicsRequest(version KafkaVersion, topics []string, timeo... FILE: delete_topics_request_test.go function TestDeleteTopicsRequestV0 (line 26) | func TestDeleteTopicsRequestV0(t *testing.T) { function TestDeleteTopicsRequestV1 (line 36) | func TestDeleteTopicsRequestV1(t *testing.T) { function TestDeleteTopicsRequestV4 (line 46) | func TestDeleteTopicsRequestV4(t *testing.T) { FILE: delete_topics_response.go type DeleteTopicsResponse (line 7) | type DeleteTopicsResponse struct method setVersion (line 13) | func (d *DeleteTopicsResponse) setVersion(v int16) { method encode (line 17) | func (d *DeleteTopicsResponse) encode(pe packetEncoder) error { method decode (line 37) | func (d *DeleteTopicsResponse) decode(pd packetDecoder, version int16)... method key (line 72) | func (d *DeleteTopicsResponse) key() int16 { method version (line 76) | func (d *DeleteTopicsResponse) version() int16 { method headerVersion (line 80) | func (d *DeleteTopicsResponse) headerVersion() int16 { method isFlexible (line 87) | func (d *DeleteTopicsResponse) isFlexible() bool { method isFlexibleVersion (line 91) | func (d *DeleteTopicsResponse) isFlexibleVersion(version int16) bool { method isValidVersion (line 95) | func (d *DeleteTopicsResponse) isValidVersion() bool { method requiredVersion (line 99) | func (d *DeleteTopicsResponse) requiredVersion() KafkaVersion { method throttleTime (line 116) | func (r *DeleteTopicsResponse) throttleTime() time.Duration { FILE: delete_topics_response_test.go function TestDeleteTopicsResponse (line 34) | func TestDeleteTopicsResponse(t *testing.T) { FILE: describe_client_quotas_request.go type DescribeClientQuotasRequest (line 20) | type DescribeClientQuotasRequest struct method setVersion (line 37) | func (d *DescribeClientQuotasRequest) setVersion(v int16) { method encode (line 51) | func (d *DescribeClientQuotasRequest) encode(pe packetEncoder) error { method decode (line 70) | func (d *DescribeClientQuotasRequest) decode(pd packetDecoder, version... method key (line 157) | func (d *DescribeClientQuotasRequest) key() int16 { method version (line 161) | func (d *DescribeClientQuotasRequest) version() int16 { method headerVersion (line 165) | func (d *DescribeClientQuotasRequest) headerVersion() int16 { method isValidVersion (line 173) | func (d *DescribeClientQuotasRequest) isValidVersion() bool { method isFlexible (line 177) | func (d *DescribeClientQuotasRequest) isFlexible() bool { method isFlexibleVersion (line 181) | func (d *DescribeClientQuotasRequest) isFlexibleVersion(version int16)... method requiredVersion (line 185) | func (d *DescribeClientQuotasRequest) requiredVersion() KafkaVersion { function NewDescribeClientQuotasRequest (line 26) | func NewDescribeClientQuotasRequest(version KafkaVersion, components []Q... type QuotaFilterComponent (line 45) | type QuotaFilterComponent struct method encode (line 100) | func (d *QuotaFilterComponent) encode(pe packetEncoder) error { method decode (line 129) | func (d *QuotaFilterComponent) decode(pd packetDecoder, version int16)... FILE: describe_client_quotas_request_test.go function TestDescribeClientQuotasRequest (line 51) | func TestDescribeClientQuotasRequest(t *testing.T) { function TestDescribeClientQuotasRequestV1 (line 98) | func TestDescribeClientQuotasRequestV1(t *testing.T) { FILE: describe_client_quotas_response.go type DescribeClientQuotasResponse (line 30) | type DescribeClientQuotasResponse struct method setVersion (line 38) | func (d *DescribeClientQuotasResponse) setVersion(v int16) { method encode (line 53) | func (d *DescribeClientQuotasResponse) encode(pe packetEncoder) error { method decode (line 79) | func (d *DescribeClientQuotasResponse) decode(pd packetDecoder, versio... method key (line 244) | func (d *DescribeClientQuotasResponse) key() int16 { method version (line 248) | func (d *DescribeClientQuotasResponse) version() int16 { method headerVersion (line 252) | func (d *DescribeClientQuotasResponse) headerVersion() int16 { method isValidVersion (line 260) | func (d *DescribeClientQuotasResponse) isValidVersion() bool { method isFlexible (line 264) | func (d *DescribeClientQuotasResponse) isFlexible() bool { method isFlexibleVersion (line 268) | func (d *DescribeClientQuotasResponse) isFlexibleVersion(version int16... method requiredVersion (line 272) | func (d *DescribeClientQuotasResponse) requiredVersion() KafkaVersion { method throttleTime (line 283) | func (r *DescribeClientQuotasResponse) throttleTime() time.Duration { type DescribeClientQuotasEntry (line 42) | type DescribeClientQuotasEntry struct method encode (line 119) | func (d *DescribeClientQuotasEntry) encode(pe packetEncoder) error { method decode (line 148) | func (d *DescribeClientQuotasEntry) decode(pd packetDecoder, version i... type QuotaEntityComponent (line 47) | type QuotaEntityComponent struct method encode (line 199) | func (c *QuotaEntityComponent) encode(pe packetEncoder) error { method decode (line 219) | func (c *QuotaEntityComponent) decode(pd packetDecoder, version int16)... FILE: describe_client_quotas_response_test.go function TestDescribeClientQuotasResponse (line 71) | func TestDescribeClientQuotasResponse(t *testing.T) { function TestDescribeClientQuotasResponseV1 (line 122) | func TestDescribeClientQuotasResponseV1(t *testing.T) { FILE: describe_cluster_request.go constant DescribeClusterEndpointTypeBrokers (line 6) | DescribeClusterEndpointTypeBrokers int8 = 1 constant DescribeClusterEndpointTypeControllers (line 7) | DescribeClusterEndpointTypeControllers int8 = 2 type DescribeClusterRequest (line 10) | type DescribeClusterRequest struct method encode (line 40) | func (r *DescribeClusterRequest) encode(pe packetEncoder) error { method decode (line 57) | func (r *DescribeClusterRequest) decode(pd packetDecoder, version int1... method key (line 82) | func (r *DescribeClusterRequest) key() int16 { return apiKeyDescribeCl... method version (line 84) | func (r *DescribeClusterRequest) version() int16 { return r.Version } method setVersion (line 86) | func (r *DescribeClusterRequest) setVersion(v int16) { r.Version = v } method headerVersion (line 88) | func (r *DescribeClusterRequest) headerVersion() int16 { return 2 } method isValidVersion (line 90) | func (r *DescribeClusterRequest) isValidVersion() bool { method isFlexible (line 94) | func (r *DescribeClusterRequest) isFlexible() bool { return true } method isFlexibleVersion (line 96) | func (r *DescribeClusterRequest) isFlexibleVersion(version int16) bool... method requiredVersion (line 98) | func (r *DescribeClusterRequest) requiredVersion() KafkaVersion { function NewDescribeClusterRequest (line 18) | func NewDescribeClusterRequest(version KafkaVersion) *DescribeClusterReq... FILE: describe_cluster_request_test.go function TestDescribeClusterRequestVersions (line 7) | func TestDescribeClusterRequestVersions(t *testing.T) { function TestNewDescribeClusterRequest (line 32) | func TestNewDescribeClusterRequest(t *testing.T) { FILE: describe_cluster_response.go type DescribeClusterResponse (line 5) | type DescribeClusterResponse struct method encode (line 27) | func (r *DescribeClusterResponse) encode(pe packetEncoder) error { method decode (line 59) | func (r *DescribeClusterResponse) decode(pd packetDecoder, version int... method key (line 108) | func (r *DescribeClusterResponse) key() int16 { return apiKeyDescribeC... method version (line 110) | func (r *DescribeClusterResponse) version() int16 { return r.Version } method setVersion (line 112) | func (r *DescribeClusterResponse) setVersion(v int16) { r.Version = v } method headerVersion (line 114) | func (r *DescribeClusterResponse) headerVersion() int16 { return 1 } method isValidVersion (line 116) | func (r *DescribeClusterResponse) isValidVersion() bool { method isFlexible (line 120) | func (r *DescribeClusterResponse) isFlexible() bool { return true } method isFlexibleVersion (line 122) | func (r *DescribeClusterResponse) isFlexibleVersion(version int16) boo... method requiredVersion (line 124) | func (r *DescribeClusterResponse) requiredVersion() KafkaVersion { method throttleTime (line 135) | func (r *DescribeClusterResponse) throttleTime() time.Duration { type DescribeClusterBroker (line 19) | type DescribeClusterBroker struct method encode (line 139) | func (b *DescribeClusterBroker) encode(pe packetEncoder, version int16... method decode (line 155) | func (b *DescribeClusterBroker) decode(pd packetDecoder, version int16... FILE: describe_cluster_response_test.go function TestDescribeClusterResponse (line 7) | func TestDescribeClusterResponse(t *testing.T) { FILE: describe_configs_request.go type DescribeConfigsRequest (line 3) | type DescribeConfigsRequest struct method setVersion (line 9) | func (r *DescribeConfigsRequest) setVersion(v int16) { method encode (line 19) | func (r *DescribeConfigsRequest) encode(pe packetEncoder) error { method decode (line 46) | func (r *DescribeConfigsRequest) decode(pd packetDecoder, version int1... method key (line 98) | func (r *DescribeConfigsRequest) key() int16 { method version (line 102) | func (r *DescribeConfigsRequest) version() int16 { method headerVersion (line 106) | func (r *DescribeConfigsRequest) headerVersion() int16 { method isValidVersion (line 110) | func (r *DescribeConfigsRequest) isValidVersion() bool { method requiredVersion (line 114) | func (r *DescribeConfigsRequest) requiredVersion() KafkaVersion { type ConfigResource (line 13) | type ConfigResource struct FILE: describe_configs_request_test.go function TestDescribeConfigsRequestv0 (line 53) | func TestDescribeConfigsRequestv0(t *testing.T) { function TestDescribeConfigsRequestv1 (line 106) | func TestDescribeConfigsRequestv1(t *testing.T) { FILE: describe_configs_response.go type ConfigSource (line 8) | type ConfigSource method String (line 10) | func (s ConfigSource) String() string { constant SourceUnknown (line 29) | SourceUnknown ConfigSource = iota constant SourceTopic (line 30) | SourceTopic constant SourceDynamicBroker (line 31) | SourceDynamicBroker constant SourceDynamicDefaultBroker (line 32) | SourceDynamicDefaultBroker constant SourceStaticBroker (line 33) | SourceStaticBroker constant SourceDefault (line 34) | SourceDefault type DescribeConfigError (line 37) | type DescribeConfigError struct method Error (line 42) | func (c *DescribeConfigError) Error() string { type DescribeConfigsResponse (line 50) | type DescribeConfigsResponse struct method setVersion (line 56) | func (r *DescribeConfigsResponse) setVersion(v int16) { method encode (line 84) | func (r *DescribeConfigsResponse) encode(pe packetEncoder) (err error) { method decode (line 99) | func (r *DescribeConfigsResponse) decode(pd packetDecoder, version int... method key (line 122) | func (r *DescribeConfigsResponse) key() int16 { method version (line 126) | func (r *DescribeConfigsResponse) version() int16 { method headerVersion (line 130) | func (r *DescribeConfigsResponse) headerVersion() int16 { method isValidVersion (line 134) | func (r *DescribeConfigsResponse) isValidVersion() bool { method requiredVersion (line 138) | func (r *DescribeConfigsResponse) requiredVersion() KafkaVersion { method throttleTime (line 151) | func (r *DescribeConfigsResponse) throttleTime() time.Duration { type ResourceResponse (line 60) | type ResourceResponse struct method encode (line 155) | func (r *ResourceResponse) encode(pe packetEncoder, version int16) (er... method decode (line 180) | func (r *ResourceResponse) decode(pd packetDecoder, version int16) (er... type ConfigEntry (line 68) | type ConfigEntry struct method encode (line 221) | func (r *ConfigEntry) encode(pe packetEncoder, version int16) (err err... method decode (line 253) | func (r *ConfigEntry) decode(pd packetDecoder, version int16) (err err... type ConfigSynonym (line 78) | type ConfigSynonym struct method encode (line 317) | func (c *ConfigSynonym) encode(pe packetEncoder, version int16) (err e... method decode (line 333) | func (c *ConfigSynonym) decode(pd packetDecoder, version int16) error { FILE: describe_configs_response_test.go function TestDescribeConfigsResponsev0 (line 97) | func TestDescribeConfigsResponsev0(t *testing.T) { function TestDescribeConfigsResponseWithDefaultv0 (line 131) | func TestDescribeConfigsResponseWithDefaultv0(t *testing.T) { function TestDescribeConfigsResponsev1 (line 165) | func TestDescribeConfigsResponsev1(t *testing.T) { function TestDescribeConfigsResponseWithSynonym (line 201) | func TestDescribeConfigsResponseWithSynonym(t *testing.T) { function TestDescribeConfigsResponseWithDefaultv1 (line 243) | func TestDescribeConfigsResponseWithDefaultv1(t *testing.T) { FILE: describe_groups_request.go type DescribeGroupsRequest (line 3) | type DescribeGroupsRequest struct method setVersion (line 9) | func (r *DescribeGroupsRequest) setVersion(v int16) { method encode (line 13) | func (r *DescribeGroupsRequest) encode(pe packetEncoder) error { method decode (line 24) | func (r *DescribeGroupsRequest) decode(pd packetDecoder, version int16... method key (line 39) | func (r *DescribeGroupsRequest) key() int16 { method version (line 43) | func (r *DescribeGroupsRequest) version() int16 { method headerVersion (line 47) | func (r *DescribeGroupsRequest) headerVersion() int16 { method isValidVersion (line 54) | func (r *DescribeGroupsRequest) isValidVersion() bool { method isFlexible (line 58) | func (r *DescribeGroupsRequest) isFlexible() bool { method isFlexibleVersion (line 62) | func (r *DescribeGroupsRequest) isFlexibleVersion(version int16) bool { method requiredVersion (line 66) | func (r *DescribeGroupsRequest) requiredVersion() KafkaVersion { method AddGroup (line 85) | func (r *DescribeGroupsRequest) AddGroup(group string) { FILE: describe_groups_request_test.go function TestDescribeGroupsRequestV0 (line 22) | func TestDescribeGroupsRequestV0(t *testing.T) { function TestDescribeGroupsRequestV3 (line 55) | func TestDescribeGroupsRequestV3(t *testing.T) { function TestDescribeGroupsRequestV5 (line 98) | func TestDescribeGroupsRequestV5(t *testing.T) { FILE: describe_groups_response.go type DescribeGroupsResponse (line 5) | type DescribeGroupsResponse struct method setVersion (line 16) | func (r *DescribeGroupsResponse) setVersion(v int16) { method encode (line 20) | func (r *DescribeGroupsResponse) encode(pe packetEncoder) (err error) { method decode (line 38) | func (r *DescribeGroupsResponse) decode(pd packetDecoder, version int1... method key (line 62) | func (r *DescribeGroupsResponse) key() int16 { method version (line 66) | func (r *DescribeGroupsResponse) version() int16 { method headerVersion (line 70) | func (r *DescribeGroupsResponse) headerVersion() int16 { method isValidVersion (line 77) | func (r *DescribeGroupsResponse) isValidVersion() bool { method isFlexible (line 81) | func (r *DescribeGroupsResponse) isFlexible() bool { method isFlexibleVersion (line 85) | func (r *DescribeGroupsResponse) isFlexibleVersion(version int16) bool { method requiredVersion (line 89) | func (r *DescribeGroupsResponse) requiredVersion() KafkaVersion { method throttleTime (line 108) | func (r *DescribeGroupsResponse) throttleTime() time.Duration { type GroupDescription (line 113) | type GroupDescription struct method encode (line 135) | func (gd *GroupDescription) encode(pe packetEncoder, version int16) (e... method decode (line 170) | func (gd *GroupDescription) decode(pd packetDecoder, version int16) (e... type GroupMemberDescription (line 215) | type GroupMemberDescription struct method encode (line 236) | func (gmd *GroupMemberDescription) encode(pe packetEncoder, version in... method decode (line 263) | func (gmd *GroupMemberDescription) decode(pd packetDecoder, version in... method GetMemberAssignment (line 290) | func (gmd *GroupMemberDescription) GetMemberAssignment() (*ConsumerGro... method GetMemberMetadata (line 299) | func (gmd *GroupMemberDescription) GetMemberMetadata() (*ConsumerGroup... FILE: describe_groups_response_test.go function TestDescribeGroupsResponseV0 (line 43) | func TestDescribeGroupsResponseV0(t *testing.T) { function TestDescribeGroupsResponseV1plus (line 204) | func TestDescribeGroupsResponseV1plus(t *testing.T) { FILE: describe_log_dirs_request.go type DescribeLogDirsRequest (line 4) | type DescribeLogDirsRequest struct method setVersion (line 13) | func (r *DescribeLogDirsRequest) setVersion(v int16) { method encode (line 23) | func (r *DescribeLogDirsRequest) encode(pe packetEncoder) error { method decode (line 48) | func (r *DescribeLogDirsRequest) decode(pd packetDecoder, version int1... method key (line 84) | func (r *DescribeLogDirsRequest) key() int16 { method version (line 88) | func (r *DescribeLogDirsRequest) version() int16 { method headerVersion (line 92) | func (r *DescribeLogDirsRequest) headerVersion() int16 { method isValidVersion (line 99) | func (r *DescribeLogDirsRequest) isValidVersion() bool { method isFlexible (line 103) | func (r *DescribeLogDirsRequest) isFlexible() bool { method isFlexibleVersion (line 107) | func (r *DescribeLogDirsRequest) isFlexibleVersion(version int16) bool { method requiredVersion (line 111) | func (r *DescribeLogDirsRequest) requiredVersion() KafkaVersion { type DescribeLogDirsRequestTopic (line 18) | type DescribeLogDirsRequestTopic struct FILE: describe_log_dirs_request_test.go function TestDescribeLogDirsRequest (line 29) | func TestDescribeLogDirsRequest(t *testing.T) { FILE: describe_log_dirs_response.go type DescribeLogDirsResponse (line 5) | type DescribeLogDirsResponse struct method setVersion (line 17) | func (r *DescribeLogDirsResponse) setVersion(v int16) { method encode (line 21) | func (r *DescribeLogDirsResponse) encode(pe packetEncoder) error { method decode (line 42) | func (r *DescribeLogDirsResponse) decode(pd packetDecoder, version int... method key (line 73) | func (r *DescribeLogDirsResponse) key() int16 { method version (line 77) | func (r *DescribeLogDirsResponse) version() int16 { method headerVersion (line 81) | func (r *DescribeLogDirsResponse) headerVersion() int16 { method isValidVersion (line 88) | func (r *DescribeLogDirsResponse) isValidVersion() bool { method isFlexible (line 92) | func (r *DescribeLogDirsResponse) isFlexible() bool { method isFlexibleVersion (line 96) | func (r *DescribeLogDirsResponse) isFlexibleVersion(version int16) bool { method requiredVersion (line 100) | func (r *DescribeLogDirsResponse) requiredVersion() KafkaVersion { method throttleTime (line 115) | func (r *DescribeLogDirsResponse) throttleTime() time.Duration { type DescribeLogDirsResponseDirMetadata (line 119) | type DescribeLogDirsResponseDirMetadata struct method encode (line 130) | func (r *DescribeLogDirsResponseDirMetadata) encode(pe packetEncoder, ... method decode (line 156) | func (r *DescribeLogDirsResponseDirMetadata) decode(pd packetDecoder, ... type DescribeLogDirsResponseTopic (line 203) | type DescribeLogDirsResponseTopic struct method encode (line 208) | func (r *DescribeLogDirsResponseTopic) encode(pe packetEncoder, versio... method decode (line 225) | func (r *DescribeLogDirsResponseTopic) decode(pd packetDecoder, versio... type DescribeLogDirsResponsePartition (line 251) | type DescribeLogDirsResponsePartition struct method encode (line 266) | func (r *DescribeLogDirsResponsePartition) encode(pe packetEncoder, ve... method decode (line 279) | func (r *DescribeLogDirsResponsePartition) decode(pd packetDecoder, ve... FILE: describe_log_dirs_response_test.go function TestDescribeLogDirsResponse (line 128) | func TestDescribeLogDirsResponse(t *testing.T) { function TestDescribeLogDirsResponseV2 (line 175) | func TestDescribeLogDirsResponseV2(t *testing.T) { function TestDescribeLogDirsResponseV3 (line 222) | func TestDescribeLogDirsResponseV3(t *testing.T) { function TestDescribeLogDirsResponseV4 (line 269) | func TestDescribeLogDirsResponseV4(t *testing.T) { FILE: describe_user_scram_credentials_request.go type DescribeUserScramCredentialsRequest (line 4) | type DescribeUserScramCredentialsRequest struct method setVersion (line 12) | func (r *DescribeUserScramCredentialsRequest) setVersion(v int16) { method encode (line 21) | func (r *DescribeUserScramCredentialsRequest) encode(pe packetEncoder)... method decode (line 36) | func (r *DescribeUserScramCredentialsRequest) decode(pd packetDecoder,... method key (line 60) | func (r *DescribeUserScramCredentialsRequest) key() int16 { method version (line 64) | func (r *DescribeUserScramCredentialsRequest) version() int16 { method headerVersion (line 68) | func (r *DescribeUserScramCredentialsRequest) headerVersion() int16 { method isValidVersion (line 72) | func (r *DescribeUserScramCredentialsRequest) isValidVersion() bool { method isFlexible (line 76) | func (r *DescribeUserScramCredentialsRequest) isFlexible() bool { method isFlexibleVersion (line 80) | func (r *DescribeUserScramCredentialsRequest) isFlexibleVersion(versio... method requiredVersion (line 84) | func (r *DescribeUserScramCredentialsRequest) requiredVersion() KafkaV... type DescribeUserScramCredentialsRequestUser (line 17) | type DescribeUserScramCredentialsRequestUser struct FILE: describe_user_scram_credentials_request_test.go function TestDescribeUserScramCredentialsRequest (line 19) | func TestDescribeUserScramCredentialsRequest(t *testing.T) { FILE: describe_user_scram_credentials_response.go type ScramMechanismType (line 5) | type ScramMechanismType method String (line 13) | func (s ScramMechanismType) String() string { constant SCRAM_MECHANISM_UNKNOWN (line 8) | SCRAM_MECHANISM_UNKNOWN ScramMechanismType = iota constant SCRAM_MECHANISM_SHA_256 (line 9) | SCRAM_MECHANISM_SHA_256 constant SCRAM_MECHANISM_SHA_512 (line 10) | SCRAM_MECHANISM_SHA_512 type DescribeUserScramCredentialsResponse (line 24) | type DescribeUserScramCredentialsResponse struct method setVersion (line 36) | func (r *DescribeUserScramCredentialsResponse) setVersion(v int16) { method encode (line 54) | func (r *DescribeUserScramCredentialsResponse) encode(pe packetEncoder... method decode (line 90) | func (r *DescribeUserScramCredentialsResponse) decode(pd packetDecoder... method key (line 156) | func (r *DescribeUserScramCredentialsResponse) key() int16 { method version (line 160) | func (r *DescribeUserScramCredentialsResponse) version() int16 { method headerVersion (line 164) | func (r *DescribeUserScramCredentialsResponse) headerVersion() int16 { method isValidVersion (line 168) | func (r *DescribeUserScramCredentialsResponse) isValidVersion() bool { method isFlexible (line 172) | func (r *DescribeUserScramCredentialsResponse) isFlexible() bool { method isFlexibleVersion (line 176) | func (r *DescribeUserScramCredentialsResponse) isFlexibleVersion(versi... method requiredVersion (line 180) | func (r *DescribeUserScramCredentialsResponse) requiredVersion() Kafka... method throttleTime (line 184) | func (r *DescribeUserScramCredentialsResponse) throttleTime() time.Dur... type DescribeUserScramCredentialsResult (line 40) | type DescribeUserScramCredentialsResult struct type UserScramCredentialsResponseInfo (line 49) | type UserScramCredentialsResponseInfo struct FILE: describe_user_scram_credentials_response_test.go function TestDescribeUserScramCredentialsResponse (line 34) | func TestDescribeUserScramCredentialsResponse(t *testing.T) { FILE: elect_leaders_request.go type ElectLeadersRequest (line 3) | type ElectLeadersRequest struct method setVersion (line 10) | func (r *ElectLeadersRequest) setVersion(v int16) { method encode (line 14) | func (r *ElectLeadersRequest) encode(pe packetEncoder) error { method decode (line 41) | func (r *ElectLeadersRequest) decode(pd packetDecoder, version int16) ... method key (line 90) | func (r *ElectLeadersRequest) key() int16 { method version (line 94) | func (r *ElectLeadersRequest) version() int16 { method headerVersion (line 98) | func (r *ElectLeadersRequest) headerVersion() int16 { method isValidVersion (line 105) | func (r *ElectLeadersRequest) isValidVersion() bool { method isFlexible (line 109) | func (r *ElectLeadersRequest) isFlexible() bool { method isFlexibleVersion (line 113) | func (r *ElectLeadersRequest) isFlexibleVersion(version int16) bool { method requiredVersion (line 117) | func (r *ElectLeadersRequest) requiredVersion() KafkaVersion { FILE: elect_leaders_request_test.go function TestElectLeadersRequest (line 31) | func TestElectLeadersRequest(t *testing.T) { function TestElectLeadersRequestHeaderVersion (line 47) | func TestElectLeadersRequestHeaderVersion(t *testing.T) { function TestElectLeadersResponseHeaderVersion (line 90) | func TestElectLeadersResponseHeaderVersion(t *testing.T) { FILE: elect_leaders_response.go type PartitionResult (line 5) | type PartitionResult struct method encode (line 10) | func (b *PartitionResult) encode(pe packetEncoder, version int16) error { method decode (line 19) | func (b *PartitionResult) decode(pd packetDecoder, version int16) (err... type ElectLeadersResponse (line 32) | type ElectLeadersResponse struct method setVersion (line 39) | func (r *ElectLeadersResponse) setVersion(v int16) { method encode (line 43) | func (r *ElectLeadersResponse) encode(pe packetEncoder) error { method decode (line 73) | func (r *ElectLeadersResponse) decode(pd packetDecoder, version int16)... method key (line 122) | func (r *ElectLeadersResponse) key() int16 { method version (line 126) | func (r *ElectLeadersResponse) version() int16 { method headerVersion (line 130) | func (r *ElectLeadersResponse) headerVersion() int16 { method isValidVersion (line 137) | func (r *ElectLeadersResponse) isValidVersion() bool { method isFlexible (line 141) | func (r *ElectLeadersResponse) isFlexible() bool { method isFlexibleVersion (line 145) | func (r *ElectLeadersResponse) isFlexibleVersion(version int16) bool { method requiredVersion (line 149) | func (r *ElectLeadersResponse) requiredVersion() KafkaVersion { method throttleTime (line 162) | func (r *ElectLeadersResponse) throttleTime() time.Duration { FILE: elect_leaders_response_test.go function TestElectLeadersResponse (line 19) | func TestElectLeadersResponse(t *testing.T) { FILE: election_type.go type ElectionType (line 3) | type ElectionType constant PreferredElection (line 7) | PreferredElection ElectionType = 0 constant UncleanElection (line 9) | UncleanElection ElectionType = 1 FILE: encoder_decoder.go type encoder (line 11) | type encoder interface type encoderWithHeader (line 15) | type encoderWithHeader interface function encode (line 21) | func encode(e encoder, metricRegistry metrics.Registry) ([]byte, error) { type decoder (line 50) | type decoder interface type versionedDecoder (line 54) | type versionedDecoder interface type flexibleVersion (line 58) | type flexibleVersion interface function decode (line 65) | func decode(buf []byte, in decoder, metricRegistry metrics.Registry) err... function versionedDecode (line 85) | func versionedDecode(buf []byte, in versionedDecoder, version int16, met... function prepareFlexibleDecoder (line 108) | func prepareFlexibleDecoder(pd *realDecoder, in versionedDecoder, versio... function prepareFlexibleEncoder (line 115) | func prepareFlexibleEncoder(pe packetEncoder, req encoder) packetEncoder { function downgradeFlexibleDecoder (line 129) | func downgradeFlexibleDecoder(pd packetDecoder) packetDecoder { FILE: encoder_decoder_fuzz_test.go function FuzzDecodeEncodeProduceRequest (line 10) | func FuzzDecodeEncodeProduceRequest(f *testing.F) { function FuzzDecodeEncodeFetchRequest (line 38) | func FuzzDecodeEncodeFetchRequest(f *testing.F) { FILE: end_txn_request.go type EndTxnRequest (line 3) | type EndTxnRequest struct method setVersion (line 11) | func (a *EndTxnRequest) setVersion(v int16) { method encode (line 15) | func (a *EndTxnRequest) encode(pe packetEncoder) error { method decode (line 29) | func (a *EndTxnRequest) decode(pd packetDecoder, version int16) (err e... method key (line 45) | func (a *EndTxnRequest) key() int16 { method version (line 49) | func (a *EndTxnRequest) version() int16 { method headerVersion (line 53) | func (r *EndTxnRequest) headerVersion() int16 { method isValidVersion (line 57) | func (a *EndTxnRequest) isValidVersion() bool { method requiredVersion (line 61) | func (a *EndTxnRequest) requiredVersion() KafkaVersion { FILE: end_txn_request_test.go function TestEndTxnRequest (line 14) | func TestEndTxnRequest(t *testing.T) { FILE: end_txn_response.go type EndTxnResponse (line 7) | type EndTxnResponse struct method setVersion (line 13) | func (e *EndTxnResponse) setVersion(v int16) { method encode (line 17) | func (e *EndTxnResponse) encode(pe packetEncoder) error { method decode (line 23) | func (e *EndTxnResponse) decode(pd packetDecoder, version int16) (err ... method key (line 36) | func (e *EndTxnResponse) key() int16 { method version (line 40) | func (e *EndTxnResponse) version() int16 { method headerVersion (line 44) | func (r *EndTxnResponse) headerVersion() int16 { method isValidVersion (line 48) | func (e *EndTxnResponse) isValidVersion() bool { method requiredVersion (line 52) | func (e *EndTxnResponse) requiredVersion() KafkaVersion { method throttleTime (line 63) | func (r *EndTxnResponse) throttleTime() time.Duration { FILE: end_txn_response_test.go function TestEndTxnResponse (line 15) | func TestEndTxnResponse(t *testing.T) { FILE: errors.go function MultiErrorFormat (line 95) | func MultiErrorFormat(es []error) string { type sentinelError (line 110) | type sentinelError struct method Error (line 115) | func (err sentinelError) Error() string { method Is (line 123) | func (err sentinelError) Is(target error) bool { method Unwrap (line 127) | func (err sentinelError) Unwrap() error { function Wrap (line 131) | func Wrap(sentinel error, wrapped ...error) sentinelError { type PacketEncodingError (line 137) | type PacketEncodingError struct method Error (line 141) | func (err PacketEncodingError) Error() string { type PacketDecodingError (line 147) | type PacketDecodingError struct method Error (line 151) | func (err PacketDecodingError) Error() string { type ConfigurationError (line 157) | type ConfigurationError method Error (line 159) | func (err ConfigurationError) Error() string { type KError (line 165) | type KError method Error (line 263) | func (err KError) Error() string { constant ErrUnknown (line 169) | ErrUnknown KError = -1 constant ErrNoError (line 170) | ErrNoError KError = 0 constant ErrOffsetOutOfRange (line 171) | ErrOffsetOutOfRange KError = 1 constant ErrInvalidMessage (line 172) | ErrInvalidMessage KError = 2 constant ErrUnknownTopicOrPartition (line 173) | ErrUnknownTopicOrPartition KError = 3 constant ErrInvalidMessageSize (line 174) | ErrInvalidMessageSize KError = 4 constant ErrLeaderNotAvailable (line 175) | ErrLeaderNotAvailable KError = 5 constant ErrNotLeaderForPartition (line 176) | ErrNotLeaderForPartition KError = 6 constant ErrRequestTimedOut (line 177) | ErrRequestTimedOut KError = 7 constant ErrBrokerNotAvailable (line 178) | ErrBrokerNotAvailable KError = 8 constant ErrReplicaNotAvailable (line 179) | ErrReplicaNotAvailable KError = 9 constant ErrMessageSizeTooLarge (line 180) | ErrMessageSizeTooLarge KError = 10 constant ErrStaleControllerEpochCode (line 181) | ErrStaleControllerEpochCode KError = 11 constant ErrOffsetMetadataTooLarge (line 182) | ErrOffsetMetadataTooLarge KError = 12 constant ErrNetworkException (line 183) | ErrNetworkException KError = 13 constant ErrOffsetsLoadInProgress (line 184) | ErrOffsetsLoadInProgress KError = 14 constant ErrConsumerCoordinatorNotAvailable (line 185) | ErrConsumerCoordinatorNotAvailable KError = 15 constant ErrNotCoordinatorForConsumer (line 186) | ErrNotCoordinatorForConsumer KError = 16 constant ErrInvalidTopic (line 187) | ErrInvalidTopic KError = 17 constant ErrMessageSetSizeTooLarge (line 188) | ErrMessageSetSizeTooLarge KError = 18 constant ErrNotEnoughReplicas (line 189) | ErrNotEnoughReplicas KError = 19 constant ErrNotEnoughReplicasAfterAppend (line 190) | ErrNotEnoughReplicasAfterAppend KError = 20 constant ErrInvalidRequiredAcks (line 191) | ErrInvalidRequiredAcks KError = 21 constant ErrIllegalGeneration (line 192) | ErrIllegalGeneration KError = 22 constant ErrInconsistentGroupProtocol (line 193) | ErrInconsistentGroupProtocol KError = 23 constant ErrInvalidGroupId (line 194) | ErrInvalidGroupId KError = 24 constant ErrUnknownMemberId (line 195) | ErrUnknownMemberId KError = 25 constant ErrInvalidSessionTimeout (line 196) | ErrInvalidSessionTimeout KError = 26 constant ErrRebalanceInProgress (line 197) | ErrRebalanceInProgress KError = 27 constant ErrInvalidCommitOffsetSize (line 198) | ErrInvalidCommitOffsetSize KError = 28 constant ErrTopicAuthorizationFailed (line 199) | ErrTopicAuthorizationFailed KError = 29 constant ErrGroupAuthorizationFailed (line 200) | ErrGroupAuthorizationFailed KError = 30 constant ErrClusterAuthorizationFailed (line 201) | ErrClusterAuthorizationFailed KError = 31 constant ErrInvalidTimestamp (line 202) | ErrInvalidTimestamp KError = 32 constant ErrUnsupportedSASLMechanism (line 203) | ErrUnsupportedSASLMechanism KError = 33 constant ErrIllegalSASLState (line 204) | ErrIllegalSASLState KError = 34 constant ErrUnsupportedVersion (line 205) | ErrUnsupportedVersion KError = 35 constant ErrTopicAlreadyExists (line 206) | ErrTopicAlreadyExists KError = 36 constant ErrInvalidPartitions (line 207) | ErrInvalidPartitions KError = 37 constant ErrInvalidReplicationFactor (line 208) | ErrInvalidReplicationFactor KError = 38 constant ErrInvalidReplicaAssignment (line 209) | ErrInvalidReplicaAssignment KError = 39 constant ErrInvalidConfig (line 210) | ErrInvalidConfig KError = 40 constant ErrNotController (line 211) | ErrNotController KError = 41 constant ErrInvalidRequest (line 212) | ErrInvalidRequest KError = 42 constant ErrUnsupportedForMessageFormat (line 213) | ErrUnsupportedForMessageFormat KError = 43 constant ErrPolicyViolation (line 214) | ErrPolicyViolation KError = 44 constant ErrOutOfOrderSequenceNumber (line 215) | ErrOutOfOrderSequenceNumber KError = 45 constant ErrDuplicateSequenceNumber (line 216) | ErrDuplicateSequenceNumber KError = 46 constant ErrInvalidProducerEpoch (line 217) | ErrInvalidProducerEpoch KError = 47 constant ErrInvalidTxnState (line 218) | ErrInvalidTxnState KError = 48 constant ErrInvalidProducerIDMapping (line 219) | ErrInvalidProducerIDMapping KError = 49 constant ErrInvalidTransactionTimeout (line 220) | ErrInvalidTransactionTimeout KError = 50 constant ErrConcurrentTransactions (line 221) | ErrConcurrentTransactions KError = 51 constant ErrTransactionCoordinatorFenced (line 222) | ErrTransactionCoordinatorFenced KError = 52 constant ErrTransactionalIDAuthorizationFailed (line 223) | ErrTransactionalIDAuthorizationFailed KError = 53 constant ErrSecurityDisabled (line 224) | ErrSecurityDisabled KError = 54 constant ErrOperationNotAttempted (line 225) | ErrOperationNotAttempted KError = 55 constant ErrKafkaStorageError (line 226) | ErrKafkaStorageError KError = 56 constant ErrLogDirNotFound (line 227) | ErrLogDirNotFound KError = 57 constant ErrSASLAuthenticationFailed (line 228) | ErrSASLAuthenticationFailed KError = 58 constant ErrUnknownProducerID (line 229) | ErrUnknownProducerID KError = 59 constant ErrReassignmentInProgress (line 230) | ErrReassignmentInProgress KError = 60 constant ErrDelegationTokenAuthDisabled (line 231) | ErrDelegationTokenAuthDisabled KError = 61 constant ErrDelegationTokenNotFound (line 232) | ErrDelegationTokenNotFound KError = 62 constant ErrDelegationTokenOwnerMismatch (line 233) | ErrDelegationTokenOwnerMismatch KError = 63 constant ErrDelegationTokenRequestNotAllowed (line 234) | ErrDelegationTokenRequestNotAllowed KError = 64 constant ErrDelegationTokenAuthorizationFailed (line 235) | ErrDelegationTokenAuthorizationFailed KError = 65 constant ErrDelegationTokenExpired (line 236) | ErrDelegationTokenExpired KError = 66 constant ErrInvalidPrincipalType (line 237) | ErrInvalidPrincipalType KError = 67 constant ErrNonEmptyGroup (line 238) | ErrNonEmptyGroup KError = 68 constant ErrGroupIDNotFound (line 239) | ErrGroupIDNotFound KError = 69 constant ErrFetchSessionIDNotFound (line 240) | ErrFetchSessionIDNotFound KError = 70 constant ErrInvalidFetchSessionEpoch (line 241) | ErrInvalidFetchSessionEpoch KError = 71 constant ErrListenerNotFound (line 242) | ErrListenerNotFound KError = 72 constant ErrTopicDeletionDisabled (line 243) | ErrTopicDeletionDisabled KError = 73 constant ErrFencedLeaderEpoch (line 244) | ErrFencedLeaderEpoch KError = 74 constant ErrUnknownLeaderEpoch (line 245) | ErrUnknownLeaderEpoch KError = 75 constant ErrUnsupportedCompressionType (line 246) | ErrUnsupportedCompressionType KError = 76 constant ErrStaleBrokerEpoch (line 247) | ErrStaleBrokerEpoch KError = 77 constant ErrOffsetNotAvailable (line 248) | ErrOffsetNotAvailable KError = 78 constant ErrMemberIdRequired (line 249) | ErrMemberIdRequired KError = 79 constant ErrPreferredLeaderNotAvailable (line 250) | ErrPreferredLeaderNotAvailable KError = 80 constant ErrGroupMaxSizeReached (line 251) | ErrGroupMaxSizeReached KError = 81 constant ErrFencedInstancedId (line 252) | ErrFencedInstancedId KError = 82 constant ErrEligibleLeadersNotAvailable (line 253) | ErrEligibleLeadersNotAvailable KError = 83 constant ErrElectionNotNeeded (line 254) | ErrElectionNotNeeded KError = 84 constant ErrNoReassignmentInProgress (line 255) | ErrNoReassignmentInProgress KError = 85 constant ErrGroupSubscribedToTopic (line 256) | ErrGroupSubscribedToTopic KError = 86 constant ErrInvalidRecord (line 257) | ErrInvalidRecord KError = 87 constant ErrUnstableOffsetCommit (line 258) | ErrUnstableOffsetCommit KError = 88 constant ErrThrottlingQuotaExceeded (line 259) | ErrThrottlingQuotaExceeded KError = 89 constant ErrProducerFenced (line 260) | ErrProducerFenced KError = 90 FILE: errors_test.go function TestSentinelWithSingleWrappedError (line 12) | func TestSentinelWithSingleWrappedError(t *testing.T) { function TestSentinelWithMultipleWrappedErrors (line 44) | func TestSentinelWithMultipleWrappedErrors(t *testing.T) { FILE: examples/consumergroup/main.go function init (line 29) | func init() { function main (line 52) | func main() { function toggleConsumptionFlow (line 151) | func toggleConsumptionFlow(client sarama.ConsumerGroup, isPaused *bool) { type Consumer (line 164) | type Consumer struct method Setup (line 169) | func (consumer *Consumer) Setup(sarama.ConsumerGroupSession) error { method Cleanup (line 176) | func (consumer *Consumer) Cleanup(sarama.ConsumerGroupSession) error { method ConsumeClaim (line 183) | func (consumer *Consumer) ConsumeClaim(session sarama.ConsumerGroupSes... FILE: examples/interceptors/main.go function main (line 25) | func main() { FILE: examples/interceptors/trace_interceptor.go type OTelInterceptor (line 14) | type OTelInterceptor struct method OnSend (line 62) | func (oi *OTelInterceptor) OnSend(msg *sarama.ProducerMessage) { function NewOTelInterceptor (line 21) | func NewOTelInterceptor(brokers []string) *OTelInterceptor { constant MessageIDHeaderName (line 38) | MessageIDHeaderName = "message_id" constant SpanHeaderName (line 39) | SpanHeaderName = "span_id" constant TraceHeaderName (line 40) | TraceHeaderName = "trace_id" function shouldIgnoreMsg (line 43) | func shouldIgnoreMsg(msg *sarama.ProducerMessage) bool { FILE: fetch_request.go type fetchRequestBlock (line 5) | type fetchRequestBlock struct method encode (line 20) | func (b *fetchRequestBlock) encode(pe packetEncoder, version int16) er... method decode (line 33) | func (b *fetchRequestBlock) decode(pd packetDecoder, version int16) (e... type FetchRequest (line 57) | type FetchRequest struct method setVersion (line 92) | func (r *FetchRequest) setVersion(v int16) { method encode (line 103) | func (r *FetchRequest) encode(pe packetEncoder) (err error) { method decode (line 170) | func (r *FetchRequest) decode(pd packetDecoder, version int16) (err er... method key (line 275) | func (r *FetchRequest) key() int16 { method version (line 279) | func (r *FetchRequest) version() int16 { method headerVersion (line 283) | func (r *FetchRequest) headerVersion() int16 { method isValidVersion (line 287) | func (r *FetchRequest) isValidVersion() bool { method requiredVersion (line 291) | func (r *FetchRequest) requiredVersion() KafkaVersion { method AddBlock (line 318) | func (r *FetchRequest) AddBlock(topic string, partitionID int32, fetch... type IsolationLevel (line 96) | type IsolationLevel constant ReadUncommitted (line 99) | ReadUncommitted IsolationLevel = iota constant ReadCommitted (line 100) | ReadCommitted FILE: fetch_request_test.go function TestFetchRequest (line 55) | func TestFetchRequest(t *testing.T) { FILE: fetch_response.go constant invalidLeaderEpoch (line 12) | invalidLeaderEpoch = -1 constant invalidPreferredReplicaID (line 13) | invalidPreferredReplicaID = -1 type AbortedTransaction (line 16) | type AbortedTransaction struct method decode (line 23) | func (t *AbortedTransaction) decode(pd packetDecoder) (err error) { method encode (line 35) | func (t *AbortedTransaction) encode(pe packetEncoder) (err error) { type FetchResponseBlock (line 42) | type FetchResponseBlock struct method decode (line 70) | func (b *FetchResponseBlock) decode(pd packetDecoder, version int16) (... method numRecords (line 191) | func (b *FetchResponseBlock) numRecords() (int, error) { method isPartial (line 206) | func (b *FetchResponseBlock) isPartial() (bool, error) { method encode (line 218) | func (b *FetchResponseBlock) encode(pe packetEncoder, version int16) (... method getAbortedTransactions (line 254) | func (b *FetchResponseBlock) getAbortedTransactions() []*AbortedTransa... type FetchResponse (line 265) | type FetchResponse struct method setVersion (line 283) | func (r *FetchResponse) setVersion(v int16) { method decode (line 287) | func (r *FetchResponse) decode(pd packetDecoder, version int16) (err e... method encode (line 344) | func (r *FetchResponse) encode(pe packetEncoder) (err error) { method key (line 381) | func (r *FetchResponse) key() int16 { method version (line 385) | func (r *FetchResponse) version() int16 { method headerVersion (line 389) | func (r *FetchResponse) headerVersion() int16 { method isValidVersion (line 393) | func (r *FetchResponse) isValidVersion() bool { method requiredVersion (line 397) | func (r *FetchResponse) requiredVersion() KafkaVersion { method throttleTime (line 424) | func (r *FetchResponse) throttleTime() time.Duration { method GetBlock (line 428) | func (r *FetchResponse) GetBlock(topic string, partition int32) *Fetch... method AddError (line 440) | func (r *FetchResponse) AddError(topic string, partition int32, err KE... method getOrCreateBlock (line 457) | func (r *FetchResponse) getOrCreateBlock(topic string, partition int32... method AddMessageWithTimestamp (line 488) | func (r *FetchResponse) AddMessageWithTimestamp(topic string, partitio... method AddRecordWithTimestamp (line 504) | func (r *FetchResponse) AddRecordWithTimestamp(topic string, partition... method AddRecordBatchWithTimestamp (line 519) | func (r *FetchResponse) AddRecordBatchWithTimestamp(topic string, part... method AddControlRecordWithTimestamp (line 541) | func (r *FetchResponse) AddControlRecordWithTimestamp(topic string, pa... method AddMessage (line 575) | func (r *FetchResponse) AddMessage(topic string, partition int32, key,... method AddRecord (line 579) | func (r *FetchResponse) AddRecord(topic string, partition int32, key, ... method AddRecordBatch (line 583) | func (r *FetchResponse) AddRecordBatch(topic string, partition int32, ... method AddControlRecord (line 587) | func (r *FetchResponse) AddControlRecord(topic string, partition int32... method SetLastOffsetDelta (line 592) | func (r *FetchResponse) SetLastOffsetDelta(topic string, partition int... method SetLastStableOffset (line 602) | func (r *FetchResponse) SetLastStableOffset(topic string, partition in... function encodeKV (line 475) | func encodeKV(key, value Encoder) ([]byte, []byte) { FILE: fetch_response_test.go function TestEmptyFetchResponse (line 207) | func TestEmptyFetchResponse(t *testing.T) { function TestOneMessageFetchResponse (line 216) | func TestOneMessageFetchResponse(t *testing.T) { function TestOverflowMessageFetchResponse (line 272) | func TestOverflowMessageFetchResponse(t *testing.T) { function TestOneRecordFetchResponse (line 332) | func TestOneRecordFetchResponse(t *testing.T) { function TestPartailFetchResponse (line 381) | func TestPartailFetchResponse(t *testing.T) { function TestEmptyRecordsFetchResponse (line 423) | func TestEmptyRecordsFetchResponse(t *testing.T) { function TestOneMessageFetchResponseV4 (line 468) | func TestOneMessageFetchResponseV4(t *testing.T) { function TestPreferredReplicaFetchResponseV11 (line 524) | func TestPreferredReplicaFetchResponseV11(t *testing.T) { FILE: find_coordinator_request.go type CoordinatorType (line 3) | type CoordinatorType constant CoordinatorGroup (line 6) | CoordinatorGroup CoordinatorType = iota constant CoordinatorTransaction (line 7) | CoordinatorTransaction type FindCoordinatorRequest (line 10) | type FindCoordinatorRequest struct method setVersion (line 16) | func (f *FindCoordinatorRequest) setVersion(v int16) { method encode (line 20) | func (f *FindCoordinatorRequest) encode(pe packetEncoder) error { method decode (line 32) | func (f *FindCoordinatorRequest) decode(pd packetDecoder, version int1... method key (line 50) | func (f *FindCoordinatorRequest) key() int16 { method version (line 54) | func (f *FindCoordinatorRequest) version() int16 { method headerVersion (line 58) | func (r *FindCoordinatorRequest) headerVersion() int16 { method isValidVersion (line 62) | func (f *FindCoordinatorRequest) isValidVersion() bool { method requiredVersion (line 66) | func (f *FindCoordinatorRequest) requiredVersion() KafkaVersion { FILE: find_coordinator_request_test.go function TestFindCoordinatorRequest (line 19) | func TestFindCoordinatorRequest(t *testing.T) { FILE: find_coordinator_response.go type FindCoordinatorResponse (line 9) | type FindCoordinatorResponse struct method setVersion (line 17) | func (f *FindCoordinatorResponse) setVersion(v int16) { method decode (line 21) | func (f *FindCoordinatorResponse) decode(pd packetDecoder, version int... method encode (line 55) | func (f *FindCoordinatorResponse) encode(pe packetEncoder) error { method key (line 78) | func (f *FindCoordinatorResponse) key() int16 { method version (line 82) | func (f *FindCoordinatorResponse) version() int16 { method headerVersion (line 86) | func (r *FindCoordinatorResponse) headerVersion() int16 { method isValidVersion (line 90) | func (f *FindCoordinatorResponse) isValidVersion() bool { method requiredVersion (line 94) | func (f *FindCoordinatorResponse) requiredVersion() KafkaVersion { method throttleTime (line 105) | func (r *FindCoordinatorResponse) throttleTime() time.Duration { FILE: find_coordinator_response_test.go function TestFindCoordinatorResponse (line 10) | func TestFindCoordinatorResponse(t *testing.T) { FILE: functional_admin_test.go function TestFuncAdminQuotas (line 19) | func TestFuncAdminQuotas(t *testing.T) { function TestFuncAdminDescribeGroups (line 149) | func TestFuncAdminDescribeGroups(t *testing.T) { function TestFuncAdminListConsumerGroups (line 206) | func TestFuncAdminListConsumerGroups(t *testing.T) { function TestFuncAdminListConsumerGroupOffsets (line 248) | func TestFuncAdminListConsumerGroupOffsets(t *testing.T) { function TestFuncAdminDescribeLogDirs (line 321) | func TestFuncAdminDescribeLogDirs(t *testing.T) { function TestFuncAdminDeleteGroup (line 363) | func TestFuncAdminDeleteGroup(t *testing.T) { function TestFuncAdminDeleteTopic (line 413) | func TestFuncAdminDeleteTopic(t *testing.T) { function TestFuncAdminElectLeadersV1 (line 438) | func TestFuncAdminElectLeadersV1(t *testing.T) { function TestFuncAdminIncrementalAlterConfigs (line 480) | func TestFuncAdminIncrementalAlterConfigs(t *testing.T) { FILE: functional_client_test.go function TestFuncConnectionFailure (line 12) | func TestFuncConnectionFailure(t *testing.T) { function TestFuncAdminNetworkErrorClosesControllerConnection (line 29) | func TestFuncAdminNetworkErrorClosesControllerConnection(t *testing.T) { function TestFuncClientMetadata (line 84) | func TestFuncClientMetadata(t *testing.T) { function TestFuncClientCoordinator (line 127) | func TestFuncClientCoordinator(t *testing.T) { FILE: functional_consumer_follower_fetch_test.go function TestConsumerFetchFollowerFailover (line 14) | func TestConsumerFetchFollowerFailover(t *testing.T) { FILE: functional_consumer_group_test.go function TestFuncConsumerGroupPartitioning (line 20) | func TestFuncConsumerGroupPartitioning(t *testing.T) { function TestFuncConsumerGroupPartitioningStateful (line 54) | func TestFuncConsumerGroupPartitioningStateful(t *testing.T) { function TestFuncConsumerGroupExcessConsumers (line 99) | func TestFuncConsumerGroupExcessConsumers(t *testing.T) { function TestFuncConsumerGroupRebalanceAfterAddingPartitions (line 139) | func TestFuncConsumerGroupRebalanceAfterAddingPartitions(t *testing.T) { function TestFuncConsumerGroupFuzzy (line 183) | func TestFuncConsumerGroupFuzzy(t *testing.T) { function TestFuncConsumerGroupOffsetDeletion (line 239) | func TestFuncConsumerGroupOffsetDeletion(t *testing.T) { function testFuncConsumerGroupID (line 298) | func testFuncConsumerGroupID(t *testing.T) string { function markOffset (line 302) | func markOffset(t *testing.T, offsetMgr OffsetManager, topic string, par... function testFuncConsumerGroupFuzzySeed (line 311) | func testFuncConsumerGroupFuzzySeed(topic string) error { type testFuncConsumerGroupMessage (line 344) | type testFuncConsumerGroupMessage struct type testFuncConsumerGroupSink (line 349) | type testFuncConsumerGroupSink struct method Len (line 354) | func (s *testFuncConsumerGroupSink) Len() int { method Push (line 361) | func (s *testFuncConsumerGroupSink) Push(clientID string, m *ConsumerM... method Close (line 368) | func (s *testFuncConsumerGroupSink) Close() map[string][]string { type testFuncConsumerGroupMember (line 379) | type testFuncConsumerGroupMember struct method AssertCleanShutdown (line 456) | func (m *testFuncConsumerGroupMember) AssertCleanShutdown() { method AssertNoErrs (line 467) | func (m *testFuncConsumerGroupMember) AssertNoErrs() { method WaitForState (line 480) | func (m *testFuncConsumerGroupMember) WaitForState(expected int32) { method WaitForHandlers (line 488) | func (m *testFuncConsumerGroupMember) WaitForHandlers(expected int) { method WaitForClaims (line 496) | func (m *testFuncConsumerGroupMember) WaitForClaims(expected map[strin... method Stop (line 507) | func (m *testFuncConsumerGroupMember) Stop() { _ = m.Close() } method Setup (line 509) | func (m *testFuncConsumerGroupMember) Setup(s ConsumerGroupSession) er... method Cleanup (line 529) | func (m *testFuncConsumerGroupMember) Cleanup(s ConsumerGroupSession) ... method ConsumeClaim (line 536) | func (m *testFuncConsumerGroupMember) ConsumeClaim(s ConsumerGroupSess... method waitFor (line 567) | func (m *testFuncConsumerGroupMember) waitFor(kind string, expected in... method loop (line 596) | func (m *testFuncConsumerGroupMember) loop(topics []string) { function defaultConfig (line 396) | func defaultConfig(clientID string) *Config { function runTestFuncConsumerGroupMember (line 409) | func runTestFuncConsumerGroupMember( function runTestFuncConsumerGroupMemberWithConfig (line 423) | func runTestFuncConsumerGroupMemberWithConfig( function newTestStatefulStrategy (line 645) | func newTestStatefulStrategy(t *testing.T) *testStatefulStrategy { type testStatefulStrategy (line 652) | type testStatefulStrategy struct method Name (line 659) | func (h *testStatefulStrategy) Name() string { method Plan (line 663) | func (h *testStatefulStrategy) Plan(members map[string]ConsumerGroupMe... method AssignmentData (line 675) | func (h *testStatefulStrategy) AssignmentData(memberID string, topics ... method AssertInitialValues (line 682) | func (h *testStatefulStrategy) AssertInitialValues(count int32) { method AssertNoInitialValues (line 690) | func (h *testStatefulStrategy) AssertNoInitialValues() { FILE: functional_consumer_staticmembership_test.go function TestFuncConsumerGroupStaticMembership_Basic (line 13) | func TestFuncConsumerGroupStaticMembership_Basic(t *testing.T) { function TestFuncConsumerGroupStaticMembership_RejoinAndLeave (line 67) | func TestFuncConsumerGroupStaticMembership_RejoinAndLeave(t *testing.T) { function TestFuncConsumerGroupStaticMembership_Fenced (line 167) | func TestFuncConsumerGroupStaticMembership_Fenced(t *testing.T) { function testFuncConsumerGroupProduceMessage (line 216) | func testFuncConsumerGroupProduceMessage(topic string, count int) error { FILE: functional_consumer_test.go function TestFuncConsumerOffsetOutOfRange (line 24) | func TestFuncConsumerOffsetOutOfRange(t *testing.T) { function TestConsumerHighWaterMarkOffset (line 44) | func TestConsumerHighWaterMarkOffset(t *testing.T) { function TestVersionMatrix (line 90) | func TestVersionMatrix(t *testing.T) { function TestVersionMatrixLZ4 (line 111) | func TestVersionMatrixLZ4(t *testing.T) { function TestVersionMatrixZstd (line 131) | func TestVersionMatrixZstd(t *testing.T) { function TestVersionMatrixIdempotent (line 150) | func TestVersionMatrixIdempotent(t *testing.T) { function TestReadOnlyAndAllCommittedMessages (line 167) | func TestReadOnlyAndAllCommittedMessages(t *testing.T) { function TestConsumerGroupDeadlock (line 310) | func TestConsumerGroupDeadlock(t *testing.T) { function prodMsg2Str (line 434) | func prodMsg2Str(prodMsg *ProducerMessage) string { function consMsg2Str (line 438) | func consMsg2Str(consMsg *ConsumerMessage) string { function versionRange (line 442) | func versionRange(lower KafkaVersion) []KafkaVersion { function produceMsgs (line 470) | func produceMsgs(t *testing.T, clientVersions []KafkaVersion, codecs []C... function consumeMsgs (line 548) | func consumeMsgs(t *testing.T, clientVersions []KafkaVersion, producedMe... FILE: functional_java_interop_test.go constant brokerContainer (line 19) | brokerContainer = "kafka-1" constant brokerAddr (line 20) | brokerAddr = "kafka-1:9091" constant zookeeperAddr (line 21) | zookeeperAddr = "zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181" function produceWithJava (line 35) | func produceWithJava(t *testing.T, topic string, codec CompressionCodec,... function consumeWithSarama (line 85) | func consumeWithSarama(t *testing.T, topic string, startOffset int64, co... function produceWithSarama (line 114) | func produceWithSarama(t *testing.T, topic string, codec CompressionCode... function consumeWithJava (line 134) | func consumeWithJava(t *testing.T, topic string, startOffset int64, coun... function endOffsetForPartition (line 202) | func endOffsetForPartition(t *testing.T, topic string, partition int32) ... function TestJavaProducerCompressionRoundTrip (line 217) | func TestJavaProducerCompressionRoundTrip(t *testing.T) { function TestJavaConsumerCompressionRoundTrip (line 243) | func TestJavaConsumerCompressionRoundTrip(t *testing.T) { function kafkaVersionAtLeast (line 266) | func kafkaVersionAtLeast(requiredVersion string) bool { function javaProducerArgs (line 274) | func javaProducerArgs(topic string, codec CompressionCodec) []string { function javaProducerCompressionArgs (line 285) | func javaProducerCompressionArgs(codec CompressionCodec) []string { function javaConsumerArgs (line 292) | func javaConsumerArgs(topic string, startOffset int64, count int) []stri... FILE: functional_offset_manager_test.go function TestFuncOffsetManager (line 9) | func TestFuncOffsetManager(t *testing.T) { FILE: functional_producer_test.go constant TestBatchSize (line 23) | TestBatchSize = 1000 function TestFuncProducing (line 25) | func TestFuncProducing(t *testing.T) { function TestFuncProducingGzip (line 30) | func TestFuncProducingGzip(t *testing.T) { function TestFuncProducingSnappy (line 36) | func TestFuncProducingSnappy(t *testing.T) { function TestFuncProducingZstd (line 42) | func TestFuncProducingZstd(t *testing.T) { function TestFuncProducingNoResponse (line 48) | func TestFuncProducingNoResponse(t *testing.T) { function TestFuncProducingFlushing (line 55) | func TestFuncProducingFlushing(t *testing.T) { function TestFuncMultiPartitionProduce (line 62) | func TestFuncMultiPartitionProduce(t *testing.T) { function TestFuncTxnProduceNoBegin (line 95) | func TestFuncTxnProduceNoBegin(t *testing.T) { function TestFuncTxnCommitNoMessages (line 121) | func TestFuncTxnCommitNoMessages(t *testing.T) { function TestFuncTxnProduce (line 155) | func TestFuncTxnProduce(t *testing.T) { function TestFuncTxnProduceWithBrokerFailure (line 208) | func TestFuncTxnProduceWithBrokerFailure(t *testing.T) { function TestFuncTxnProduceEpochBump (line 274) | func TestFuncTxnProduceEpochBump(t *testing.T) { function TestFuncInitProducerId3 (line 342) | func TestFuncInitProducerId3(t *testing.T) { type messageHandler (line 365) | type messageHandler struct method Setup (line 371) | func (h *messageHandler) Setup(s ConsumerGroupSession) error { retur... method Cleanup (line 372) | func (h *messageHandler) Cleanup(s ConsumerGroupSession) error { retur... method ConsumeClaim (line 373) | func (h *messageHandler) ConsumeClaim(sess ConsumerGroupSession, claim... function TestFuncTxnProduceAndCommitOffset (line 383) | func TestFuncTxnProduceAndCommitOffset(t *testing.T) { function TestFuncTxnProduceMultiTxn (line 481) | func TestFuncTxnProduceMultiTxn(t *testing.T) { function TestFuncTxnAbortedProduce (line 564) | func TestFuncTxnAbortedProduce(t *testing.T) { function TestFuncProducingToInvalidTopic (line 636) | func TestFuncProducingToInvalidTopic(t *testing.T) { function TestFuncProducingIdempotentWithBrokerFailure (line 654) | func TestFuncProducingIdempotentWithBrokerFailure(t *testing.T) { function TestFuncIdempotentBufferedSequence (line 730) | func TestFuncIdempotentBufferedSequence(t *testing.T) { function TestInterceptors (line 834) | func TestInterceptors(t *testing.T) { function testProducingMessages (line 906) | func testProducingMessages(t *testing.T, config *Config, minVersion Kafk... function TestAsyncProducerRemoteBrokerClosed (line 1047) | func TestAsyncProducerRemoteBrokerClosed(t *testing.T) { function validateProducerMetrics (line 1102) | func validateProducerMetrics(t *testing.T, client Client) { function validateConsumerMetrics (line 1201) | func validateConsumerMetrics(t *testing.T, client Client) { function BenchmarkProducerSmall (line 1233) | func BenchmarkProducerSmall(b *testing.B) { function BenchmarkProducerMedium (line 1237) | func BenchmarkProducerMedium(b *testing.B) { function BenchmarkProducerLarge (line 1241) | func BenchmarkProducerLarge(b *testing.B) { function BenchmarkProducerSmallSinglePartition (line 1245) | func BenchmarkProducerSmallSinglePartition(b *testing.B) { function BenchmarkProducerMediumSnappy (line 1249) | func BenchmarkProducerMediumSnappy(b *testing.B) { function benchmarkProducer (line 1255) | func benchmarkProducer(b *testing.B, conf *Config, topic string, value E... FILE: functional_test.go constant uncommittedTopic (line 22) | uncommittedTopic = "uncommitted-topic-test-4" function TestMain (line 51) | func TestMain(m *testing.M) { function testMain (line 69) | func testMain(m *testing.M) int { function NewFunctionalTestConfig (line 97) | func NewFunctionalTestConfig() *Config { type testEnvironment (line 111) | type testEnvironment struct function setupToxiProxies (line 120) | func setupToxiProxies(env *testEnvironment, endpoint string) error { function prepareDockerTestEnvironment (line 143) | func prepareDockerTestEnvironment(ctx context.Context, env *testEnvironm... function existingEnvironment (line 265) | func existingEnvironment(ctx context.Context, env *testEnvironment) (boo... function tearDownDockerTestEnvironment (line 285) | func tearDownDockerTestEnvironment(ctx context.Context, env *testEnviron... function startDockerTestBroker (line 314) | func startDockerTestBroker(ctx context.Context, brokerID int32) error { function stopDockerTestBroker (line 325) | func stopDockerTestBroker(ctx context.Context, brokerID int32) error { function prepareTestTopics (line 336) | func prepareTestTopics(ctx context.Context, env *testEnvironment) error { function isTopicNotExistsErrorOrOk (line 444) | func isTopicNotExistsErrorOrOk(err KError) bool { function isTopicExistsErrorOrOk (line 448) | func isTopicExistsErrorOrOk(err KError) bool { function checkKafkaVersion (line 452) | func checkKafkaVersion(t testing.TB, requiredVersion string) { function resetProxies (line 465) | func resetProxies(t testing.TB) { function SaveProxy (line 471) | func SaveProxy(t *testing.T, px string) { function proxyForBrokerID (line 477) | func proxyForBrokerID(t testing.TB, brokerID int32) *toxiproxy.Proxy { function addResetPeerToxic (line 486) | func addResetPeerToxic(t testing.TB, proxy *toxiproxy.Proxy) { function setupFunctionalTest (line 492) | func setupFunctionalTest(t testing.TB) { function teardownFunctionalTest (line 497) | func teardownFunctionalTest(t testing.TB) { function ensureFullyReplicated (line 501) | func ensureFullyReplicated(t testing.TB, timeout time.Duration, retry ti... type kafkaVersion (line 555) | type kafkaVersion method satisfies (line 557) | func (kv kafkaVersion) satisfies(other kafkaVersion) bool { function parseKafkaVersion (line 575) | func parseKafkaVersion(version string) kafkaVersion { FILE: gssapi_kerberos.go constant TOK_ID_KRB_AP_REQ (line 23) | TOK_ID_KRB_AP_REQ = 256 constant GSS_API_GENERIC_TAG (line 24) | GSS_API_GENERIC_TAG = 0x60 constant KRB5_USER_AUTH (line 25) | KRB5_USER_AUTH = 1 constant KRB5_KEYTAB_AUTH (line 26) | KRB5_KEYTAB_AUTH = 2 constant KRB5_CCACHE_AUTH (line 27) | KRB5_CCACHE_AUTH = 3 constant GSS_API_INITIAL (line 28) | GSS_API_INITIAL = 1 constant GSS_API_VERIFY (line 29) | GSS_API_VERIFY = 2 constant GSS_API_FINISH (line 30) | GSS_API_FINISH = 3 type GSSAPIConfig (line 33) | type GSSAPIConfig struct type GSSAPIKerberosAuth (line 46) | type GSSAPIKerberosAuth struct method writePackage (line 65) | func (krbAuth *GSSAPIKerberosAuth) writePackage(broker *Broker, payloa... method readPackage (line 82) | func (krbAuth *GSSAPIKerberosAuth) readPackage(broker *Broker) ([]byte... method newAuthenticatorChecksum (line 100) | func (krbAuth *GSSAPIKerberosAuth) newAuthenticatorChecksum() []byte { method createKrb5Token (line 114) | func (krbAuth *GSSAPIKerberosAuth) createKrb5Token( method appendGSSAPIHeader (line 152) | func (krbAuth *GSSAPIKerberosAuth) appendGSSAPIHeader(payload []byte) ... method initSecContext (line 164) | func (krbAuth *GSSAPIKerberosAuth) initSecContext( method spn (line 201) | func (krbAuth *GSSAPIKerberosAuth) spn(broker *Broker) string { method Login (line 213) | func (krbAuth *GSSAPIKerberosAuth) Login( method Authorize (line 235) | func (krbAuth *GSSAPIKerberosAuth) Authorize(broker *Broker) error { method AuthorizeV2 (line 283) | func (krbAuth *GSSAPIKerberosAuth) AuthorizeV2( type KerberosClient (line 54) | type KerberosClient interface type BuildSpnFunc (line 62) | type BuildSpnFunc FILE: heartbeat_request.go type HeartbeatRequest (line 3) | type HeartbeatRequest struct method setVersion (line 11) | func (r *HeartbeatRequest) setVersion(v int16) { method encode (line 15) | func (r *HeartbeatRequest) encode(pe packetEncoder) error { method decode (line 36) | func (r *HeartbeatRequest) decode(pd packetDecoder, version int16) (er... method key (line 57) | func (r *HeartbeatRequest) key() int16 { method version (line 61) | func (r *HeartbeatRequest) version() int16 { method headerVersion (line 65) | func (r *HeartbeatRequest) headerVersion() int16 { method isValidVersion (line 72) | func (r *HeartbeatRequest) isValidVersion() bool { method isFlexible (line 76) | func (r *HeartbeatRequest) isFlexible() bool { method isFlexibleVersion (line 80) | func (r *HeartbeatRequest) isFlexibleVersion(version int16) bool { method requiredVersion (line 84) | func (r *HeartbeatRequest) requiredVersion() KafkaVersion { FILE: heartbeat_request_test.go function TestHeartbeatRequest (line 45) | func TestHeartbeatRequest(t *testing.T) { FILE: heartbeat_response.go type HeartbeatResponse (line 5) | type HeartbeatResponse struct method setVersion (line 11) | func (r *HeartbeatResponse) setVersion(v int16) { method encode (line 15) | func (r *HeartbeatResponse) encode(pe packetEncoder) error { method decode (line 24) | func (r *HeartbeatResponse) decode(pd packetDecoder, version int16) er... method key (line 41) | func (r *HeartbeatResponse) key() int16 { method version (line 45) | func (r *HeartbeatResponse) version() int16 { method headerVersion (line 49) | func (r *HeartbeatResponse) headerVersion() int16 { method isValidVersion (line 56) | func (r *HeartbeatResponse) isValidVersion() bool { method isFlexible (line 60) | func (r *HeartbeatResponse) isFlexible() bool { method isFlexibleVersion (line 64) | func (r *HeartbeatResponse) isFlexibleVersion(version int16) bool { method requiredVersion (line 68) | func (r *HeartbeatResponse) requiredVersion() KafkaVersion { method throttleTime (line 85) | func (r *HeartbeatResponse) throttleTime() time.Duration { FILE: heartbeat_response_test.go function TestHeartbeatResponse (line 34) | func TestHeartbeatResponse(t *testing.T) { FILE: helpers_test.go function safeClose (line 11) | func safeClose(t testing.TB, c io.Closer) { function closeProducerWithTimeout (line 19) | func closeProducerWithTimeout(t *testing.T, p AsyncProducer, timeout tim... function closeProducer (line 62) | func closeProducer(t *testing.T, p AsyncProducer) { constant TestMessage (line 66) | TestMessage = "ABC THE MESSAGE" type appendInterceptor (line 68) | type appendInterceptor struct method OnSend (line 72) | func (b *appendInterceptor) OnSend(msg *ProducerMessage) { method OnConsume (line 81) | func (b *appendInterceptor) OnConsume(msg *ConsumerMessage) { FILE: incremental_alter_configs_request.go type IncrementalAlterConfigsOperation (line 3) | type IncrementalAlterConfigsOperation constant IncrementalAlterConfigsOperationSet (line 6) | IncrementalAlterConfigsOperationSet IncrementalAlterConfigsOperation = iota constant IncrementalAlterConfigsOperationDelete (line 7) | IncrementalAlterConfigsOperationDelete constant IncrementalAlterConfigsOperationAppend (line 8) | IncrementalAlterConfigsOperationAppend constant IncrementalAlterConfigsOperationSubtract (line 9) | IncrementalAlterConfigsOperationSubtract type IncrementalAlterConfigsRequest (line 13) | type IncrementalAlterConfigsRequest struct method setVersion (line 19) | func (a *IncrementalAlterConfigsRequest) setVersion(v int16) { method encode (line 34) | func (a *IncrementalAlterConfigsRequest) encode(pe packetEncoder) error { method decode (line 51) | func (a *IncrementalAlterConfigsRequest) decode(pd packetDecoder, vers... method key (line 171) | func (a *IncrementalAlterConfigsRequest) key() int16 { method version (line 175) | func (a *IncrementalAlterConfigsRequest) version() int16 { method headerVersion (line 179) | func (a *IncrementalAlterConfigsRequest) headerVersion() int16 { method isValidVersion (line 186) | func (a *IncrementalAlterConfigsRequest) isValidVersion() bool { method isFlexible (line 190) | func (a *IncrementalAlterConfigsRequest) isFlexible() bool { method isFlexibleVersion (line 194) | func (a *IncrementalAlterConfigsRequest) isFlexibleVersion(version int... method requiredVersion (line 198) | func (a *IncrementalAlterConfigsRequest) requiredVersion() KafkaVersion { type IncrementalAlterConfigsResource (line 23) | type IncrementalAlterConfigsResource struct method encode (line 78) | func (a *IncrementalAlterConfigsResource) encode(pe packetEncoder) err... method decode (line 103) | func (a *IncrementalAlterConfigsResource) decode(pd packetDecoder, ver... type IncrementalAlterConfigsEntry (line 29) | type IncrementalAlterConfigsEntry struct method encode (line 142) | func (a *IncrementalAlterConfigsEntry) encode(pe packetEncoder) error { method decode (line 153) | func (a *IncrementalAlterConfigsEntry) decode(pd packetDecoder, versio... FILE: incremental_alter_configs_request_test.go function TestIncrementalAlterConfigsRequest (line 96) | func TestIncrementalAlterConfigsRequest(t *testing.T) { function TestIncrementalAlterConfigsRequestV1 (line 150) | func TestIncrementalAlterConfigsRequestV1(t *testing.T) { FILE: incremental_alter_configs_response.go type IncrementalAlterConfigsResponse (line 6) | type IncrementalAlterConfigsResponse struct method setVersion (line 12) | func (a *IncrementalAlterConfigsResponse) setVersion(v int16) { method encode (line 16) | func (a *IncrementalAlterConfigsResponse) encode(pe packetEncoder) err... method decode (line 32) | func (a *IncrementalAlterConfigsResponse) decode(pd packetDecoder, ver... method key (line 56) | func (a *IncrementalAlterConfigsResponse) key() int16 { method version (line 60) | func (a *IncrementalAlterConfigsResponse) version() int16 { method headerVersion (line 64) | func (a *IncrementalAlterConfigsResponse) headerVersion() int16 { method isFlexible (line 71) | func (a *IncrementalAlterConfigsResponse) isFlexible() bool { method isFlexibleVersion (line 75) | func (a *IncrementalAlterConfigsResponse) isFlexibleVersion(version in... method isValidVersion (line 79) | func (a *IncrementalAlterConfigsResponse) isValidVersion() bool { method requiredVersion (line 83) | func (a *IncrementalAlterConfigsResponse) requiredVersion() KafkaVersi... method throttleTime (line 92) | func (r *IncrementalAlterConfigsResponse) throttleTime() time.Duration { FILE: incremental_alter_configs_response_test.go function TestIncrementalAlterConfigsResponse (line 53) | func TestIncrementalAlterConfigsResponse(t *testing.T) { function TestIncrementalAlterConfigsResponseV1 (line 77) | func TestIncrementalAlterConfigsResponseV1(t *testing.T) { FILE: init_producer_id_request.go type InitProducerIDRequest (line 5) | type InitProducerIDRequest struct method setVersion (line 13) | func (i *InitProducerIDRequest) setVersion(v int16) { method encode (line 17) | func (i *InitProducerIDRequest) encode(pe packetEncoder) error { method decode (line 31) | func (i *InitProducerIDRequest) decode(pd packetDecoder, version int16... method key (line 56) | func (i *InitProducerIDRequest) key() int16 { method version (line 60) | func (i *InitProducerIDRequest) version() int16 { method headerVersion (line 64) | func (i *InitProducerIDRequest) headerVersion() int16 { method isValidVersion (line 72) | func (i *InitProducerIDRequest) isValidVersion() bool { method isFlexible (line 76) | func (i *InitProducerIDRequest) isFlexible() bool { method isFlexibleVersion (line 80) | func (i *InitProducerIDRequest) isFlexibleVersion(version int16) bool { method requiredVersion (line 84) | func (i *InitProducerIDRequest) requiredVersion() KafkaVersion { FILE: init_producer_id_request_test.go function TestInitProducerIDRequest (line 36) | func TestInitProducerIDRequest(t *testing.T) { FILE: init_producer_id_response.go type InitProducerIDResponse (line 5) | type InitProducerIDResponse struct method setVersion (line 13) | func (i *InitProducerIDResponse) setVersion(v int16) { method encode (line 17) | func (i *InitProducerIDResponse) encode(pe packetEncoder) error { method decode (line 26) | func (i *InitProducerIDResponse) decode(pd packetDecoder, version int1... method key (line 49) | func (i *InitProducerIDResponse) key() int16 { method version (line 53) | func (i *InitProducerIDResponse) version() int16 { method headerVersion (line 57) | func (i *InitProducerIDResponse) headerVersion() int16 { method isValidVersion (line 64) | func (i *InitProducerIDResponse) isValidVersion() bool { method isFlexible (line 68) | func (i *InitProducerIDResponse) isFlexible() bool { method isFlexibleVersion (line 72) | func (i *InitProducerIDResponse) isFlexibleVersion(version int16) bool { method requiredVersion (line 76) | func (i *InitProducerIDResponse) requiredVersion() KafkaVersion { method throttleTime (line 91) | func (r *InitProducerIDResponse) throttleTime() time.Duration { FILE: init_producer_id_response_test.go function TestInitProducerIDResponse (line 34) | func TestInitProducerIDResponse(t *testing.T) { FILE: interceptors.go type ProducerInterceptor (line 6) | type ProducerInterceptor interface type ConsumerInterceptor (line 17) | type ConsumerInterceptor interface method safelyApplyInterceptor (line 25) | func (msg *ProducerMessage) safelyApplyInterceptor(interceptor ProducerI... method safelyApplyInterceptor (line 35) | func (msg *ConsumerMessage) safelyApplyInterceptor(interceptor ConsumerI... FILE: internal/toxiproxy/client.go type Client (line 12) | type Client struct method CreateProxy (line 38) | func (c *Client) CreateProxy( method Proxy (line 53) | func (c *Client) Proxy(name string) (*Proxy, error) { method ResetState (line 78) | func (c *Client) ResetState() error { function NewClient (line 17) | func NewClient(endpoint string) *Client { FILE: internal/toxiproxy/proxy.go type Proxy (line 11) | type Proxy struct method AddToxic (line 21) | func (p *Proxy) AddToxic( method Enable (line 61) | func (p *Proxy) Enable() error { method Disable (line 67) | func (p *Proxy) Disable() error { method Save (line 73) | func (p *Proxy) Save() (*Proxy, error) { type Attributes (line 19) | type Attributes FILE: internal/toxiproxy/toxic.go type Toxic (line 3) | type Toxic struct FILE: join_group_request.go type GroupProtocol (line 3) | type GroupProtocol struct method decode (line 10) | func (p *GroupProtocol) decode(pd packetDecoder) (err error) { method encode (line 23) | func (p *GroupProtocol) encode(pe packetEncoder) (err error) { type JoinGroupRequest (line 34) | type JoinGroupRequest struct method setVersion (line 62) | func (r *JoinGroupRequest) setVersion(v int16) { method encode (line 66) | func (r *JoinGroupRequest) encode(pe packetEncoder) error { method decode (line 118) | func (r *JoinGroupRequest) decode(pd packetDecoder, version int16) (er... method key (line 171) | func (r *JoinGroupRequest) key() int16 { method version (line 175) | func (r *JoinGroupRequest) version() int16 { method headerVersion (line 179) | func (r *JoinGroupRequest) headerVersion() int16 { method isValidVersion (line 186) | func (r *JoinGroupRequest) isValidVersion() bool { method isFlexible (line 190) | func (r *JoinGroupRequest) isFlexible() bool { method isFlexibleVersion (line 194) | func (r *JoinGroupRequest) isFlexibleVersion(version int16) bool { method requiredVersion (line 198) | func (r *JoinGroupRequest) requiredVersion() KafkaVersion { method AddGroupProtocol (line 219) | func (r *JoinGroupRequest) AddGroupProtocol(name string, metadata []by... method AddGroupProtocolMetadata (line 226) | func (r *JoinGroupRequest) AddGroupProtocolMetadata(name string, metad... FILE: join_group_request_test.go function TestJoinGroupRequest (line 41) | func TestJoinGroupRequest(t *testing.T) { function TestJoinGroupRequestV0_OneProtocol (line 49) | func TestJoinGroupRequestV0_OneProtocol(t *testing.T) { function TestJoinGroupRequestDeprecatedEncode (line 62) | func TestJoinGroupRequestDeprecatedEncode(t *testing.T) { function TestJoinGroupRequestV1 (line 75) | func TestJoinGroupRequestV1(t *testing.T) { function TestJoinGroupRequestV3plus (line 118) | func TestJoinGroupRequestV3plus(t *testing.T) { FILE: join_group_response.go type JoinGroupResponse (line 5) | type JoinGroupResponse struct method setVersion (line 25) | func (r *JoinGroupResponse) setVersion(v int16) { method GetMembers (line 39) | func (r *JoinGroupResponse) GetMembers() (map[string]ConsumerGroupMemb... method encode (line 51) | func (r *JoinGroupResponse) encode(pe packetEncoder) error { method decode (line 91) | func (r *JoinGroupResponse) decode(pd packetDecoder, version int16) (e... method key (line 161) | func (r *JoinGroupResponse) key() int16 { method version (line 165) | func (r *JoinGroupResponse) version() int16 { method headerVersion (line 169) | func (r *JoinGroupResponse) headerVersion() int16 { method isValidVersion (line 176) | func (r *JoinGroupResponse) isValidVersion() bool { method isFlexible (line 180) | func (r *JoinGroupResponse) isFlexible() bool { method isFlexibleVersion (line 184) | func (r *JoinGroupResponse) isFlexibleVersion(version int16) bool { method requiredVersion (line 188) | func (r *JoinGroupResponse) requiredVersion() KafkaVersion { method throttleTime (line 209) | func (r *JoinGroupResponse) throttleTime() time.Duration { type GroupMember (line 29) | type GroupMember struct FILE: join_group_response_test.go function TestJoinGroupResponseV0 (line 61) | func TestJoinGroupResponseV0(t *testing.T) { function TestJoinGroupResponseV1 (line 125) | func TestJoinGroupResponseV1(t *testing.T) { function TestJoinGroupResponseV2 (line 151) | func TestJoinGroupResponseV2(t *testing.T) { function TestJoinGroupResponse3plus (line 221) | func TestJoinGroupResponse3plus(t *testing.T) { FILE: kerberos_client.go type KerberosGoKrb5Client (line 11) | type KerberosGoKrb5Client struct method Domain (line 15) | func (c *KerberosGoKrb5Client) Domain() string { method CName (line 19) | func (c *KerberosGoKrb5Client) CName() types.PrincipalName { function NewKerberosClient (line 26) | func NewKerberosClient(config *GSSAPIConfig) (KerberosClient, error) { function createClient (line 34) | func createClient(config *GSSAPIConfig, cfg *krb5config.Config) (Kerbero... FILE: kerberos_client_test.go constant krb5cfg (line 20) | krb5cfg = `[libdefaults] function TestFaildToCreateKerberosConfig (line 62) | func TestFaildToCreateKerberosConfig(t *testing.T) { function TestCreateWithPassword (line 80) | func TestCreateWithPassword(t *testing.T) { function TestCreateWithKeyTab (line 110) | func TestCreateWithKeyTab(t *testing.T) { function TestCreateWithCredentialsCache (line 132) | func TestCreateWithCredentialsCache(t *testing.T) { function TestCreateWithDisablePAFXFAST (line 152) | func TestCreateWithDisablePAFXFAST(t *testing.T) { FILE: leave_group_request.go type MemberIdentity (line 3) | type MemberIdentity struct type LeaveGroupRequest (line 8) | type LeaveGroupRequest struct method setVersion (line 15) | func (r *LeaveGroupRequest) setVersion(v int16) { method encode (line 19) | func (r *LeaveGroupRequest) encode(pe packetEncoder) error { method decode (line 47) | func (r *LeaveGroupRequest) decode(pd packetDecoder, version int16) (e... method key (line 83) | func (r *LeaveGroupRequest) key() int16 { method version (line 87) | func (r *LeaveGroupRequest) version() int16 { method headerVersion (line 91) | func (r *LeaveGroupRequest) headerVersion() int16 { method isValidVersion (line 98) | func (r *LeaveGroupRequest) isValidVersion() bool { method isFlexible (line 102) | func (r *LeaveGroupRequest) isFlexible() bool { method isFlexibleVersion (line 106) | func (r *LeaveGroupRequest) isFlexibleVersion(version int16) bool { method requiredVersion (line 110) | func (r *LeaveGroupRequest) requiredVersion() KafkaVersion { FILE: leave_group_request_test.go function TestLeaveGroupRequest (line 36) | func TestLeaveGroupRequest(t *testing.T) { FILE: leave_group_response.go type MemberResponse (line 5) | type MemberResponse struct type LeaveGroupResponse (line 10) | type LeaveGroupResponse struct method setVersion (line 17) | func (r *LeaveGroupResponse) setVersion(v int16) { method encode (line 21) | func (r *LeaveGroupResponse) encode(pe packetEncoder) error { method decode (line 45) | func (r *LeaveGroupResponse) decode(pd packetDecoder, version int16) (... method key (line 83) | func (r *LeaveGroupResponse) key() int16 { method version (line 87) | func (r *LeaveGroupResponse) version() int16 { method headerVersion (line 91) | func (r *LeaveGroupResponse) headerVersion() int16 { method isValidVersion (line 98) | func (r *LeaveGroupResponse) isValidVersion() bool { method isFlexible (line 102) | func (r *LeaveGroupResponse) isFlexible() bool { method isFlexibleVersion (line 106) | func (r *LeaveGroupResponse) isFlexibleVersion(version int16) bool { method requiredVersion (line 110) | func (r *LeaveGroupResponse) requiredVersion() KafkaVersion { method throttleTime (line 127) | func (r *LeaveGroupResponse) throttleTime() time.Duration { FILE: leave_group_response_test.go function TestLeaveGroupResponse (line 44) | func TestLeaveGroupResponse(t *testing.T) { FILE: length_field.go type lengthField (line 9) | type lengthField struct method decode (line 28) | func (l *lengthField) decode(pd packetDecoder) error { method saveOffset (line 40) | func (l *lengthField) saveOffset(in int) { method reserveLength (line 44) | func (l *lengthField) reserveLength() int { method run (line 48) | func (l *lengthField) run(curOffset int, buf []byte) error { method check (line 53) | func (l *lengthField) check(curOffset int, buf []byte) error { function acquireLengthField (line 16) | func acquireLengthField() *lengthField { function releaseLengthField (line 24) | func releaseLengthField(m *lengthField) { type varintLengthField (line 61) | type varintLengthField struct method decode (line 66) | func (l *varintLengthField) decode(pd packetDecoder) error { method saveOffset (line 72) | func (l *varintLengthField) saveOffset(in int) { method adjustLength (line 76) | func (l *varintLengthField) adjustLength(currOffset int) int { method reserveLength (line 83) | func (l *varintLengthField) reserveLength() int { method run (line 88) | func (l *varintLengthField) run(curOffset int, buf []byte) error { method check (line 93) | func (l *varintLengthField) check(curOffset int, buf []byte) error { FILE: list_groups_request.go type ListGroupsRequest (line 3) | type ListGroupsRequest struct method setVersion (line 9) | func (r *ListGroupsRequest) setVersion(v int16) { method encode (line 13) | func (r *ListGroupsRequest) encode(pe packetEncoder) error { method decode (line 40) | func (r *ListGroupsRequest) decode(pd packetDecoder, version int16) (e... method key (line 56) | func (r *ListGroupsRequest) key() int16 { method version (line 60) | func (r *ListGroupsRequest) version() int16 { method headerVersion (line 64) | func (r *ListGroupsRequest) headerVersion() int16 { method isValidVersion (line 71) | func (r *ListGroupsRequest) isValidVersion() bool { method isFlexible (line 75) | func (r *ListGroupsRequest) isFlexible() bool { method isFlexibleVersion (line 79) | func (r *ListGroupsRequest) isFlexibleVersion(version int16) bool { method requiredVersion (line 83) | func (r *ListGroupsRequest) requiredVersion() KafkaVersion { FILE: list_groups_request_test.go function TestListGroupsRequest (line 7) | func TestListGroupsRequest(t *testing.T) { FILE: list_groups_response.go type ListGroupsResponse (line 3) | type ListGroupsResponse struct method setVersion (line 11) | func (r *ListGroupsResponse) setVersion(v int16) { method encode (line 20) | func (r *ListGroupsResponse) encode(pe packetEncoder) error { method decode (line 57) | func (r *ListGroupsResponse) decode(pd packetDecoder, version int16) (... method key (line 121) | func (r *ListGroupsResponse) key() int16 { method version (line 125) | func (r *ListGroupsResponse) version() int16 { method headerVersion (line 129) | func (r *ListGroupsResponse) headerVersion() int16 { method isValidVersion (line 136) | func (r *ListGroupsResponse) isValidVersion() bool { method isFlexible (line 140) | func (r *ListGroupsResponse) isFlexible() bool { method isFlexibleVersion (line 144) | func (r *ListGroupsResponse) isFlexibleVersion(version int16) bool { method requiredVersion (line 148) | func (r *ListGroupsResponse) requiredVersion() KafkaVersion { type GroupData (line 15) | type GroupData struct FILE: list_groups_response_test.go function TestListGroupsResponse (line 52) | func TestListGroupsResponse(t *testing.T) { FILE: list_partition_reassignments_request.go type ListPartitionReassignmentsRequest (line 3) | type ListPartitionReassignmentsRequest struct method setVersion (line 9) | func (r *ListPartitionReassignmentsRequest) setVersion(v int16) { method encode (line 13) | func (r *ListPartitionReassignmentsRequest) encode(pe packetEncoder) e... method decode (line 37) | func (r *ListPartitionReassignmentsRequest) decode(pd packetDecoder, v... method key (line 77) | func (r *ListPartitionReassignmentsRequest) key() int16 { method version (line 81) | func (r *ListPartitionReassignmentsRequest) version() int16 { method headerVersion (line 85) | func (r *ListPartitionReassignmentsRequest) headerVersion() int16 { method isValidVersion (line 89) | func (r *ListPartitionReassignmentsRequest) isValidVersion() bool { method isFlexible (line 93) | func (r *ListPartitionReassignmentsRequest) isFlexible() bool { method isFlexibleVersion (line 97) | func (r *ListPartitionReassignmentsRequest) isFlexibleVersion(version ... method requiredVersion (line 101) | func (r *ListPartitionReassignmentsRequest) requiredVersion() KafkaVer... method AddBlock (line 105) | func (r *ListPartitionReassignmentsRequest) AddBlock(topic string, par... FILE: list_partition_reassignments_request_test.go function TestListPartitionReassignmentRequest (line 16) | func TestListPartitionReassignmentRequest(t *testing.T) { FILE: list_partition_reassignments_response.go type PartitionReplicaReassignmentsStatus (line 5) | type PartitionReplicaReassignmentsStatus struct method encode (line 11) | func (b *PartitionReplicaReassignmentsStatus) encode(pe packetEncoder)... method decode (line 27) | func (b *PartitionReplicaReassignmentsStatus) decode(pd packetDecoder)... type ListPartitionReassignmentsResponse (line 44) | type ListPartitionReassignmentsResponse struct method setVersion (line 52) | func (r *ListPartitionReassignmentsResponse) setVersion(v int16) { method AddBlock (line 56) | func (r *ListPartitionReassignmentsResponse) AddBlock(topic string, pa... method encode (line 69) | func (r *ListPartitionReassignmentsResponse) encode(pe packetEncoder) ... method decode (line 101) | func (r *ListPartitionReassignmentsResponse) decode(pd packetDecoder, ... method key (line 158) | func (r *ListPartitionReassignmentsResponse) key() int16 { method version (line 162) | func (r *ListPartitionReassignmentsResponse) version() int16 { method headerVersion (line 166) | func (r *ListPartitionReassignmentsResponse) headerVersion() int16 { method isValidVersion (line 170) | func (r *ListPartitionReassignmentsResponse) isValidVersion() bool { method isFlexible (line 174) | func (r *ListPartitionReassignmentsResponse) isFlexible() bool { method isFlexibleVersion (line 178) | func (r *ListPartitionReassignmentsResponse) isFlexibleVersion(version... method requiredVersion (line 182) | func (r *ListPartitionReassignmentsResponse) requiredVersion() KafkaVe... method throttleTime (line 186) | func (r *ListPartitionReassignmentsResponse) throttleTime() time.Durat... FILE: list_partition_reassignments_response_test.go function TestListPartitionReassignmentResponse (line 21) | func TestListPartitionReassignmentResponse(t *testing.T) { FILE: logger_test.go type testLogger (line 12) | type testLogger struct method Print (line 17) | func (l *testLogger) Print(v ...interface{}) { method Printf (line 25) | func (l *testLogger) Printf(format string, v ...interface{}) { method Println (line 33) | func (l *testLogger) Println(v ...interface{}) { FILE: message.go constant CompressionNone (line 10) | CompressionNone CompressionCodec = iota constant CompressionGZIP (line 12) | CompressionGZIP constant CompressionSnappy (line 14) | CompressionSnappy constant CompressionLZ4 (line 16) | CompressionLZ4 constant CompressionZSTD (line 18) | CompressionZSTD constant compressionCodecMask (line 21) | compressionCodecMask int8 = 0x07 constant timestampTypeMask (line 24) | timestampTypeMask = 0x08 constant CompressionLevelDefault (line 29) | CompressionLevelDefault = -1000 type CompressionCodec (line 33) | type CompressionCodec method String (line 35) | func (cc CompressionCodec) String() string { method UnmarshalText (line 46) | func (cc *CompressionCodec) UnmarshalText(text []byte) error { method MarshalText (line 63) | func (cc CompressionCodec) MarshalText() ([]byte, error) { type Message (line 68) | type Message struct method encode (line 82) | func (m *Message) encode(pe packetEncoder) error { method decode (line 126) | func (m *Message) decode(pd packetDecoder) (err error) { method decodeSet (line 186) | func (m *Message) decodeSet() (err error) { FILE: message_set.go type MessageBlock (line 5) | type MessageBlock struct method Messages (line 12) | func (msb *MessageBlock) Messages() []*MessageBlock { method encode (line 19) | func (msb *MessageBlock) encode(pe packetEncoder) error { method decode (line 29) | func (msb *MessageBlock) decode(pd packetDecoder) (err error) { type MessageSet (line 53) | type MessageSet struct method encode (line 59) | func (ms *MessageSet) encode(pe packetEncoder) error { method decode (line 69) | func (ms *MessageSet) decode(pd packetDecoder) (err error) { method addMessage (line 108) | func (ms *MessageSet) addMessage(msg *Message) { FILE: message_test.go function TestMessageEncoding (line 121) | func TestMessageEncoding(t *testing.T) { function TestMessageDecoding (line 142) | func TestMessageDecoding(t *testing.T) { function TestMessageDecodingBulkSnappy (line 170) | func TestMessageDecodingBulkSnappy(t *testing.T) { function TestMessageDecodingBulkGzip (line 186) | func TestMessageDecodingBulkGzip(t *testing.T) { function TestMessageDecodingBulkLZ4 (line 202) | func TestMessageDecodingBulkLZ4(t *testing.T) { function TestMessageDecodingBulkZSTD (line 218) | func TestMessageDecodingBulkZSTD(t *testing.T) { function TestMessageDecodingVersion1 (line 234) | func TestMessageDecodingVersion1(t *testing.T) { function TestMessageDecodingUnknownVersions (line 239) | func TestMessageDecodingUnknownVersions(t *testing.T) { function TestCompressionCodecUnmarshal (line 250) | func TestCompressionCodecUnmarshal(t *testing.T) { FILE: metadata.go type metadataRefresh (line 7) | type metadataRefresh type currentRefresh (line 15) | type currentRefresh struct method addTopicsFrom (line 31) | func (r *currentRefresh) addTopicsFrom(next *nextRefresh) { method addTopics (line 54) | func (r *currentRefresh) addTopics(topics []string) { method hasTopics (line 84) | func (r *currentRefresh) hasTopics(topics []string) bool { method start (line 106) | func (r *currentRefresh) start() chan error { method clear (line 130) | func (r *currentRefresh) clear() { method wait (line 142) | func (r *currentRefresh) wait() chan error { type nextRefresh (line 46) | type nextRefresh struct method addTopics (line 68) | func (r *nextRefresh) addTopics(topics []string) { method clear (line 79) | func (r *nextRefresh) clear() { type singleFlightMetadataRefresher (line 154) | type singleFlightMetadataRefresher struct method Refresh (line 181) | func (m *singleFlightMetadataRefresher) Refresh(topics []string) error { method refreshOrQueue (line 209) | func (m *singleFlightMetadataRefresher) refreshOrQueue(topics []string... function newSingleFlightRefresher (line 159) | func newSingleFlightRefresher(f func(topics []string) error) metadataRef... function newMetadataRefresh (line 163) | func newMetadataRefresh(f func(topics []string) error) *singleFlightMeta... FILE: metadata_request.go type Uuid (line 5) | type Uuid method String (line 7) | func (u Uuid) String() string { type MetadataRequest (line 13) | type MetadataRequest struct method setVersion (line 24) | func (r *MetadataRequest) setVersion(v int16) { method encode (line 52) | func (r *MetadataRequest) encode(pe packetEncoder) (err error) { method decode (line 97) | func (r *MetadataRequest) decode(pd packetDecoder, version int16) (err... method key (line 159) | func (r *MetadataRequest) key() int16 { method version (line 163) | func (r *MetadataRequest) version() int16 { method headerVersion (line 167) | func (r *MetadataRequest) headerVersion() int16 { method isValidVersion (line 174) | func (r *MetadataRequest) isValidVersion() bool { method isFlexible (line 178) | func (r *MetadataRequest) isFlexible() bool { method isFlexibleVersion (line 182) | func (r *MetadataRequest) isFlexibleVersion(version int16) bool { method requiredVersion (line 186) | func (r *MetadataRequest) requiredVersion() KafkaVersion { function NewMetadataRequest (line 28) | func NewMetadataRequest(version KafkaVersion, topics []string) *Metadata... FILE: metadata_request_test.go function TestMetadataRequestV0 (line 115) | func TestMetadataRequestV0(t *testing.T) { function TestMetadataRequestV1 (line 126) | func TestMetadataRequestV1(t *testing.T) { function TestMetadataRequestV2 (line 138) | func TestMetadataRequestV2(t *testing.T) { function TestMetadataRequestV3 (line 150) | func TestMetadataRequestV3(t *testing.T) { function TestMetadataRequestV4 (line 162) | func TestMetadataRequestV4(t *testing.T) { function TestMetadataRequestV5 (line 176) | func TestMetadataRequestV5(t *testing.T) { function TestMetadataRequestV6 (line 190) | func TestMetadataRequestV6(t *testing.T) { function TestMetadataRequestV7 (line 204) | func TestMetadataRequestV7(t *testing.T) { function TestMetadataRequestV8 (line 218) | func TestMetadataRequestV8(t *testing.T) { function TestMetadataRequestV9 (line 237) | func TestMetadataRequestV9(t *testing.T) { function TestMetadataRequestV10 (line 250) | func TestMetadataRequestV10(t *testing.T) { FILE: metadata_response.go type PartitionMetadata (line 6) | type PartitionMetadata struct method decode (line 25) | func (p *PartitionMetadata) decode(pd packetDecoder, version int16) (e... method encode (line 67) | func (p *PartitionMetadata) encode(pe packetEncoder, version int16) (e... type TopicMetadata (line 101) | type TopicMetadata struct method decode (line 116) | func (t *TopicMetadata) decode(pd packetDecoder, version int16) (err e... method encode (line 170) | func (t *TopicMetadata) encode(pe packetEncoder, version int16) (err e... type MetadataResponse (line 208) | type MetadataResponse struct method setVersion (line 224) | func (r *MetadataResponse) setVersion(v int16) { method decode (line 228) | func (r *MetadataResponse) decode(pd packetDecoder, version int16) (er... method encode (line 288) | func (r *MetadataResponse) encode(pe packetEncoder) (err error) { method key (line 334) | func (r *MetadataResponse) key() int16 { method version (line 338) | func (r *MetadataResponse) version() int16 { method headerVersion (line 342) | func (r *MetadataResponse) headerVersion() int16 { method isValidVersion (line 350) | func (r *MetadataResponse) isValidVersion() bool { method isFlexible (line 354) | func (r *MetadataResponse) isFlexible() bool { method isFlexibleVersion (line 358) | func (r *MetadataResponse) isFlexibleVersion(version int16) bool { method requiredVersion (line 362) | func (r *MetadataResponse) requiredVersion() KafkaVersion { method throttleTime (line 389) | func (r *MetadataResponse) throttleTime() time.Duration { method AddBroker (line 395) | func (r *MetadataResponse) AddBroker(addr string, id int32) { method AddTopic (line 399) | func (r *MetadataResponse) AddTopic(topic string, err KError) *TopicMe... method AddTopicPartition (line 419) | func (r *MetadataResponse) AddTopicPartition(topic string, partition, ... FILE: metadata_response_test.go function TestEmptyMetadataResponseV0 (line 180) | func TestEmptyMetadataResponseV0(t *testing.T) { function TestMetadataResponseWithBrokersV0 (line 192) | func TestMetadataResponseWithBrokersV0(t *testing.T) { function TestMetadataResponseWithTopicsV0 (line 218) | func TestMetadataResponseWithTopicsV0(t *testing.T) { function TestMetadataResponseWithBrokersV1 (line 280) | func TestMetadataResponseWithBrokersV1(t *testing.T) { function TestMetadataResponseWithTopicsV1 (line 301) | func TestMetadataResponseWithTopicsV1(t *testing.T) { function TestMetadataResponseWithThrottleTime (line 322) | func TestMetadataResponseWithThrottleTime(t *testing.T) { function TestMetadataResponseWithOfflineReplicasV5 (line 343) | func TestMetadataResponseWithOfflineReplicasV5(t *testing.T) { function TestMetadataResponseV6 (line 367) | func TestMetadataResponseV6(t *testing.T) { function TestMetadataResponseV7 (line 394) | func TestMetadataResponseV7(t *testing.T) { function TestMetadataResponseV8 (line 424) | func TestMetadataResponseV8(t *testing.T) { function TestMetadataResponseV9 (line 460) | func TestMetadataResponseV9(t *testing.T) { function TestMetadataResponseV10 (line 496) | func TestMetadataResponseV10(t *testing.T) { FILE: metadata_test.go function TestMetadataRefresh (line 11) | func TestMetadataRefresh(t *testing.T) { function TestMetadataRefreshConcurrency (line 52) | func TestMetadataRefreshConcurrency(t *testing.T) { FILE: metrics.go constant metricsReservoirSize (line 16) | metricsReservoirSize = 1028 constant metricsAlphaFactor (line 17) | metricsAlphaFactor = 0.015 function getOrRegisterHistogram (line 20) | func getOrRegisterHistogram(name string, r metrics.Registry) metrics.His... function getMetricNameForBroker (line 26) | func getMetricNameForBroker(name string, broker *Broker) string { function getMetricNameForTopic (line 32) | func getMetricNameForTopic(name string, topic string) string { function getOrRegisterTopicMeter (line 38) | func getOrRegisterTopicMeter(name string, topic string, r metrics.Regist... function getOrRegisterTopicHistogram (line 42) | func getOrRegisterTopicHistogram(name string, topic string, r metrics.Re... type cleanupRegistry (line 49) | type cleanupRegistry struct method Each (line 62) | func (r *cleanupRegistry) Each(fn func(string, interface{})) { method Get (line 73) | func (r *cleanupRegistry) Get(name string) interface{} { method GetOrRegister (line 82) | func (r *cleanupRegistry) GetOrRegister(name string, metric interface{... method Register (line 89) | func (r *cleanupRegistry) Register(name string, metric interface{}) er... method RunHealthchecks (line 96) | func (r *cleanupRegistry) RunHealthchecks() { method GetAll (line 100) | func (r *cleanupRegistry) GetAll() map[string]map[string]interface{} { method Unregister (line 104) | func (r *cleanupRegistry) Unregister(name string) { method UnregisterAll (line 113) | func (r *cleanupRegistry) UnregisterAll() { function newCleanupRegistry (line 55) | func newCleanupRegistry(parent metrics.Registry) metrics.Registry { FILE: metrics_helpers_test.go type metricValidator (line 10) | type metricValidator struct type metricValidators (line 15) | type metricValidators method register (line 21) | func (m *metricValidators) register(validator *metricValidator) { method registerForBroker (line 25) | func (m *metricValidators) registerForBroker(broker *Broker, validator... method registerForGlobalAndTopic (line 29) | func (m *metricValidators) registerForGlobalAndTopic(topic string, val... method registerForAllBrokers (line 34) | func (m *metricValidators) registerForAllBrokers(broker *Broker, valid... method run (line 39) | func (m metricValidators) run(t *testing.T, r metrics.Registry) { function newMetricValidators (line 17) | func newMetricValidators() metricValidators { function meterValidator (line 51) | func meterValidator(name string, extraValidator func(*testing.T, metrics... function countMeterValidator (line 65) | func countMeterValidator(name string, expectedCount int) *metricValidator { function minCountMeterValidator (line 75) | func minCountMeterValidator(name string, minCount int) *metricValidator { function histogramValidator (line 85) | func histogramValidator(name string, extraValidator func(*testing.T, met... function countHistogramValidator (line 99) | func countHistogramValidator(name string, expectedCount int) *metricVali... function minCountHistogramValidator (line 109) | func minCountHistogramValidator(name string, minCount int) *metricValida... function minMaxHistogramValidator (line 120) | func minMaxHistogramValidator(name string, expectedMin int, expectedMax ... function minValHistogramValidator (line 134) | func minValHistogramValidator(name string, minMin int) *metricValidator { function maxValHistogramValidator (line 144) | func maxValHistogramValidator(name string, maxMax int) *metricValidator { function counterValidator (line 154) | func counterValidator(name string, expectedCount int) *metricValidator { FILE: metrics_test.go function TestGetOrRegisterHistogram (line 11) | func TestGetOrRegisterHistogram(t *testing.T) { function TestGetMetricNameForBroker (line 34) | func TestGetMetricNameForBroker(t *testing.T) { function Benchmark_getMetricNameForTopic (line 42) | func Benchmark_getMetricNameForTopic(b *testing.B) { function Benchmark_getMetricNameForBroker (line 53) | func Benchmark_getMetricNameForBroker(b *testing.B) { FILE: mockbroker.go constant expectationTimeout (line 21) | expectationTimeout = 500 * time.Millisecond type GSSApiHandlerFunc (line 24) | type GSSApiHandlerFunc type requestHandlerFunc (line 26) | type requestHandlerFunc type RequestNotifierFunc (line 30) | type RequestNotifierFunc type MockBroker (line 56) | type MockBroker struct method SetLatency (line 80) | func (b *MockBroker) SetLatency(latency time.Duration) { method SetHandlerByMap (line 88) | func (b *MockBroker) SetHandlerByMap(handlerMap map[string]MockRespons... method SetHandlerFuncByMap (line 103) | func (b *MockBroker) SetHandlerFuncByMap(handlerMap map[string]request... method SetNotifier (line 113) | func (b *MockBroker) SetNotifier(notifier RequestNotifierFunc) { method BrokerID (line 120) | func (b *MockBroker) BrokerID() int32 { method History (line 128) | func (b *MockBroker) History() []RequestResponse { method Port (line 137) | func (b *MockBroker) Port() int32 { method Addr (line 142) | func (b *MockBroker) Addr() string { method Close (line 148) | func (b *MockBroker) Close() { method setHandler (line 164) | func (b *MockBroker) setHandler(handler requestHandlerFunc) { method serverLoop (line 170) | func (b *MockBroker) serverLoop() { method SetGSSAPIHandler (line 196) | func (b *MockBroker) SetGSSAPIHandler(handler GSSApiHandlerFunc) { method readToBytes (line 200) | func (b *MockBroker) readToBytes(r io.Reader) ([]byte, error) { method isGSSAPI (line 229) | func (b *MockBroker) isGSSAPI(buffer []byte) bool { method handleRequests (line 233) | func (b *MockBroker) handleRequests(conn io.ReadWriteCloser, idx int, ... method encodeHeader (line 347) | func (b *MockBroker) encodeHeader(headerVersion int16, correlationId i... method defaultRequestHandler (line 365) | func (b *MockBroker) defaultRequestHandler(req *request) (res encoderW... method serverError (line 391) | func (b *MockBroker) serverError(err error) { method Returns (line 465) | func (b *MockBroker) Returns(e encoderWithHeader) { type RequestResponse (line 73) | type RequestResponse struct function isConnectionClosedError (line 377) | func isConnectionClosedError(err error) bool { function NewMockBroker (line 402) | func NewMockBroker(t TestReporter, brokerID int32) *MockBroker { function NewMockBrokerAddr (line 408) | func NewMockBrokerAddr(t TestReporter, brokerID int32, addr string) *Moc... function NewMockBrokerListener (line 436) | func NewMockBrokerListener(t TestReporter, brokerID int32, listener net.... FILE: mockkerberos.go type KafkaGSSAPIHandler (line 14) | type KafkaGSSAPIHandler struct method MockKafkaGSSAPI (line 20) | func (h *KafkaGSSAPIHandler) MockKafkaGSSAPI(buffer []byte) []byte { type MockKerberosClient (line 58) | type MockKerberosClient struct method Login (line 66) | func (c *MockKerberosClient) Login() error { method GetServiceTicket (line 101) | func (c *MockKerberosClient) GetServiceTicket(spn string) (messages.Ti... method Domain (line 108) | func (c *MockKerberosClient) Domain() string { method CName (line 112) | func (c *MockKerberosClient) CName() types.PrincipalName { method Destroy (line 123) | func (c *MockKerberosClient) Destroy() { FILE: mockresponses.go type TestReporter (line 11) | type TestReporter interface type MockResponse (line 22) | type MockResponse interface type MockWrapper (line 28) | type MockWrapper struct method For (line 32) | func (mw *MockWrapper) For(reqBody versionedDecoder) (res encoderWithH... function NewMockWrapper (line 36) | func NewMockWrapper(res encoderWithHeader) *MockWrapper { type MockSequence (line 44) | type MockSequence struct method For (line 64) | func (mc *MockSequence) For(reqBody versionedDecoder) (res encoderWith... function NewMockSequence (line 48) | func NewMockSequence(responses ...interface{}) *MockSequence { type MockListGroupsResponse (line 72) | type MockListGroupsResponse struct method For (line 84) | func (m *MockListGroupsResponse) For(reqBody versionedDecoder) encoder... method AddGroup (line 93) | func (m *MockListGroupsResponse) AddGroup(groupID, protocolType string... function NewMockListGroupsResponse (line 77) | func NewMockListGroupsResponse(t TestReporter) *MockListGroupsResponse { type MockDescribeGroupsResponse (line 98) | type MockDescribeGroupsResponse struct method AddGroupDescription (line 110) | func (m *MockDescribeGroupsResponse) AddGroupDescription(groupID strin... method For (line 115) | func (m *MockDescribeGroupsResponse) For(reqBody versionedDecoder) enc... function NewMockDescribeGroupsResponse (line 103) | func NewMockDescribeGroupsResponse(t TestReporter) *MockDescribeGroupsRe... type MockMetadataResponse (line 136) | type MockMetadataResponse struct method SetError (line 153) | func (mmr *MockMetadataResponse) SetError(topic string, kerror KError)... method SetLeader (line 158) | func (mmr *MockMetadataResponse) SetLeader(topic string, partition, br... method SetBroker (line 168) | func (mmr *MockMetadataResponse) SetBroker(addr string, brokerID int32... method SetController (line 173) | func (mmr *MockMetadataResponse) SetController(brokerID int32) *MockMe... method For (line 178) | func (mmr *MockMetadataResponse) For(reqBody versionedDecoder) encoder... function NewMockMetadataResponse (line 144) | func NewMockMetadataResponse(t TestReporter) *MockMetadataResponse { type MockOffsetResponse (line 224) | type MockOffsetResponse struct method SetOffset (line 236) | func (mor *MockOffsetResponse) SetOffset(topic string, partition int32... method For (line 251) | func (mor *MockOffsetResponse) For(reqBody versionedDecoder) encoderWi... method getOffset (line 263) | func (mor *MockOffsetResponse) getOffset(topic string, partition int32... function NewMockOffsetResponse (line 229) | func NewMockOffsetResponse(t TestReporter) *MockOffsetResponse { type mockMessage (line 280) | type mockMessage struct function newMockMessage (line 285) | func newMockMessage(key, msg Encoder) *mockMessage { type MockFetchResponse (line 293) | type MockFetchResponse struct method SetMessage (line 311) | func (mfr *MockFetchResponse) SetMessage(topic string, partition int32... method SetMessageWithKey (line 315) | func (mfr *MockFetchResponse) SetMessageWithKey(topic string, partitio... method SetHighWaterMark (line 332) | func (mfr *MockFetchResponse) SetHighWaterMark(topic string, partition... method For (line 342) | func (mfr *MockFetchResponse) For(reqBody versionedDecoder) encoderWit... method getMessage (line 371) | func (mfr *MockFetchResponse) getMessage(topic string, partition int32... method getMessageCount (line 385) | func (mfr *MockFetchResponse) getMessageCount(topic string, partition ... method getHighWaterMark (line 399) | func (mfr *MockFetchResponse) getHighWaterMark(topic string, partition... function NewMockFetchResponse (line 301) | func NewMockFetchResponse(t TestReporter, batchSize int) *MockFetchRespo... type MockConsumerMetadataResponse (line 408) | type MockConsumerMetadataResponse struct method SetCoordinator (line 420) | func (mr *MockConsumerMetadataResponse) SetCoordinator(group string, b... method SetError (line 425) | func (mr *MockConsumerMetadataResponse) SetError(group string, kerror ... method For (line 430) | func (mr *MockConsumerMetadataResponse) For(reqBody versionedDecoder) ... function NewMockConsumerMetadataResponse (line 413) | func NewMockConsumerMetadataResponse(t TestReporter) *MockConsumerMetada... type MockFindCoordinatorResponse (line 445) | type MockFindCoordinatorResponse struct method SetCoordinator (line 459) | func (mr *MockFindCoordinatorResponse) SetCoordinator(coordinatorType ... method SetError (line 469) | func (mr *MockFindCoordinatorResponse) SetError(coordinatorType Coordi... method For (line 479) | func (mr *MockFindCoordinatorResponse) For(reqBody versionedDecoder) e... function NewMockFindCoordinatorResponse (line 451) | func NewMockFindCoordinatorResponse(t TestReporter) *MockFindCoordinator... type MockOffsetCommitResponse (line 499) | type MockOffsetCommitResponse struct method SetError (line 508) | func (mr *MockOffsetCommitResponse) SetError(group, topic string, part... method For (line 526) | func (mr *MockOffsetCommitResponse) For(reqBody versionedDecoder) enco... method getError (line 538) | func (mr *MockOffsetCommitResponse) getError(group, topic string, part... function NewMockOffsetCommitResponse (line 504) | func NewMockOffsetCommitResponse(t TestReporter) *MockOffsetCommitRespon... type MockProduceResponse (line 555) | type MockProduceResponse struct method SetVersion (line 565) | func (mr *MockProduceResponse) SetVersion(version int16) *MockProduceR... method SetError (line 570) | func (mr *MockProduceResponse) SetError(topic string, partition int32,... method For (line 583) | func (mr *MockProduceResponse) For(reqBody versionedDecoder) encoderWi... method getError (line 599) | func (mr *MockProduceResponse) getError(topic string, partition int32)... function NewMockProduceResponse (line 561) | func NewMockProduceResponse(t TestReporter) *MockProduceResponse { type MockOffsetFetchResponse (line 612) | type MockOffsetFetchResponse struct method SetOffset (line 622) | func (mr *MockOffsetFetchResponse) SetOffset(group, topic string, part... method SetError (line 640) | func (mr *MockOffsetFetchResponse) SetError(kerror KError) *MockOffset... method For (line 645) | func (mr *MockOffsetFetchResponse) For(reqBody versionedDecoder) encod... function NewMockOffsetFetchResponse (line 618) | func NewMockOffsetFetchResponse(t TestReporter) *MockOffsetFetchResponse { type MockCreateTopicsResponse (line 662) | type MockCreateTopicsResponse struct method For (line 670) | func (mr *MockCreateTopicsResponse) For(reqBody versionedDecoder) enco... function NewMockCreateTopicsResponse (line 666) | func NewMockCreateTopicsResponse(t TestReporter) *MockCreateTopicsRespon... type MockDeleteTopicsResponse (line 691) | type MockDeleteTopicsResponse struct method For (line 700) | func (mr *MockDeleteTopicsResponse) For(reqBody versionedDecoder) enco... method SetError (line 712) | func (mr *MockDeleteTopicsResponse) SetError(kerror KError) *MockDelet... function NewMockDeleteTopicsResponse (line 696) | func NewMockDeleteTopicsResponse(t TestReporter) *MockDeleteTopicsRespon... type MockCreatePartitionsResponse (line 717) | type MockCreatePartitionsResponse struct method For (line 725) | func (mr *MockCreatePartitionsResponse) For(reqBody versionedDecoder) ... function NewMockCreatePartitionsResponse (line 721) | func NewMockCreatePartitionsResponse(t TestReporter) *MockCreatePartitio... type MockAlterPartitionReassignmentsResponse (line 744) | type MockAlterPartitionReassignmentsResponse struct method For (line 752) | func (mr *MockAlterPartitionReassignmentsResponse) For(reqBody version... function NewMockAlterPartitionReassignmentsResponse (line 748) | func NewMockAlterPartitionReassignmentsResponse(t TestReporter) *MockAlt... type MockListPartitionReassignmentsResponse (line 759) | type MockListPartitionReassignmentsResponse struct method For (line 767) | func (mr *MockListPartitionReassignmentsResponse) For(reqBody versione... function NewMockListPartitionReassignmentsResponse (line 763) | func NewMockListPartitionReassignmentsResponse(t TestReporter) *MockList... type MockElectLeadersResponse (line 781) | type MockElectLeadersResponse struct method For (line 789) | func (mr *MockElectLeadersResponse) For(reqBody versionedDecoder) enco... function NewMockElectLeadersResponse (line 785) | func NewMockElectLeadersResponse(t TestReporter) *MockElectLeadersRespon... type MockDeleteRecordsResponse (line 803) | type MockDeleteRecordsResponse struct method For (line 811) | func (mr *MockDeleteRecordsResponse) For(reqBody versionedDecoder) enc... function NewMockDeleteRecordsResponse (line 807) | func NewMockDeleteRecordsResponse(t TestReporter) *MockDeleteRecordsResp... type MockDescribeConfigsResponse (line 826) | type MockDescribeConfigsResponse struct method For (line 834) | func (mr *MockDescribeConfigsResponse) For(reqBody versionedDecoder) e... function NewMockDescribeConfigsResponse (line 830) | func NewMockDescribeConfigsResponse(t TestReporter) *MockDescribeConfigs... type MockDescribeConfigsResponseWithErrorCode (line 924) | type MockDescribeConfigsResponseWithErrorCode struct method For (line 932) | func (mr *MockDescribeConfigsResponseWithErrorCode) For(reqBody versio... function NewMockDescribeConfigsResponseWithErrorCode (line 928) | func NewMockDescribeConfigsResponseWithErrorCode(t TestReporter) *MockDe... type MockAlterConfigsResponse (line 949) | type MockAlterConfigsResponse struct method For (line 957) | func (mr *MockAlterConfigsResponse) For(reqBody versionedDecoder) enco... function NewMockAlterConfigsResponse (line 953) | func NewMockAlterConfigsResponse(t TestReporter) *MockAlterConfigsRespon... type MockAlterConfigsResponseWithErrorCode (line 971) | type MockAlterConfigsResponseWithErrorCode struct method For (line 979) | func (mr *MockAlterConfigsResponseWithErrorCode) For(reqBody versioned... function NewMockAlterConfigsResponseWithErrorCode (line 975) | func NewMockAlterConfigsResponseWithErrorCode(t TestReporter) *MockAlter... type MockIncrementalAlterConfigsResponse (line 994) | type MockIncrementalAlterConfigsResponse struct method For (line 1002) | func (mr *MockIncrementalAlterConfigsResponse) For(reqBody versionedDe... function NewMockIncrementalAlterConfigsResponse (line 998) | func NewMockIncrementalAlterConfigsResponse(t TestReporter) *MockIncreme... type MockIncrementalAlterConfigsResponseWithErrorCode (line 1016) | type MockIncrementalAlterConfigsResponseWithErrorCode struct method For (line 1024) | func (mr *MockIncrementalAlterConfigsResponseWithErrorCode) For(reqBod... function NewMockIncrementalAlterConfigsResponseWithErrorCode (line 1020) | func NewMockIncrementalAlterConfigsResponseWithErrorCode(t TestReporter)... type MockCreateAclsResponse (line 1039) | type MockCreateAclsResponse struct method For (line 1047) | func (mr *MockCreateAclsResponse) For(reqBody versionedDecoder) encode... function NewMockCreateAclsResponse (line 1043) | func NewMockCreateAclsResponse(t TestReporter) *MockCreateAclsResponse { type MockCreateAclsResponseError (line 1057) | type MockCreateAclsResponseError struct method For (line 1065) | func (mr *MockCreateAclsResponseError) For(reqBody versionedDecoder) e... function NewMockCreateAclsResponseWithError (line 1061) | func NewMockCreateAclsResponseWithError(t TestReporter) *MockCreateAclsR... type MockListAclsResponse (line 1075) | type MockListAclsResponse struct method For (line 1083) | func (mr *MockListAclsResponse) For(reqBody versionedDecoder) encoderW... function NewMockListAclsResponse (line 1079) | func NewMockListAclsResponse(t TestReporter) *MockListAclsResponse { type MockSaslAuthenticateResponse (line 1115) | type MockSaslAuthenticateResponse struct method For (line 1126) | func (msar *MockSaslAuthenticateResponse) For(reqBody versionedDecoder... method SetError (line 1137) | func (msar *MockSaslAuthenticateResponse) SetError(kerror KError) *Moc... method SetAuthBytes (line 1142) | func (msar *MockSaslAuthenticateResponse) SetAuthBytes(saslAuthBytes [... method SetSessionLifetimeMs (line 1147) | func (msar *MockSaslAuthenticateResponse) SetSessionLifetimeMs(session... function NewMockSaslAuthenticateResponse (line 1122) | func NewMockSaslAuthenticateResponse(t TestReporter) *MockSaslAuthentica... type MockDeleteAclsResponse (line 1152) | type MockDeleteAclsResponse struct method For (line 1188) | func (mr *MockDeleteAclsResponse) For(reqBody versionedDecoder) encode... type MockSaslHandshakeResponse (line 1156) | type MockSaslHandshakeResponse struct method For (line 1166) | func (mshr *MockSaslHandshakeResponse) For(reqBody versionedDecoder) e... method SetError (line 1174) | func (mshr *MockSaslHandshakeResponse) SetError(kerror KError) *MockSa... method SetEnabledMechanisms (line 1179) | func (mshr *MockSaslHandshakeResponse) SetEnabledMechanisms(enabledMec... function NewMockSaslHandshakeResponse (line 1162) | func NewMockSaslHandshakeResponse(t TestReporter) *MockSaslHandshakeResp... function NewMockDeleteAclsResponse (line 1184) | func NewMockDeleteAclsResponse(t TestReporter) *MockDeleteAclsResponse { type MockDeleteGroupsResponse (line 1201) | type MockDeleteGroupsResponse struct method SetDeletedGroups (line 1209) | func (m *MockDeleteGroupsResponse) SetDeletedGroups(groups []string) *... method For (line 1214) | func (m *MockDeleteGroupsResponse) For(reqBody versionedDecoder) encod... function NewMockDeleteGroupsRequest (line 1205) | func NewMockDeleteGroupsRequest(t TestReporter) *MockDeleteGroupsResponse { type MockDeleteOffsetResponse (line 1226) | type MockDeleteOffsetResponse struct method SetDeletedOffset (line 1237) | func (m *MockDeleteOffsetResponse) SetDeletedOffset(errorCode KError, ... method For (line 1245) | func (m *MockDeleteOffsetResponse) For(reqBody versionedDecoder) encod... function NewMockDeleteOffsetRequest (line 1233) | func NewMockDeleteOffsetRequest(t TestReporter) *MockDeleteOffsetResponse { type MockJoinGroupResponse (line 1257) | type MockJoinGroupResponse struct method For (line 1276) | func (m *MockJoinGroupResponse) For(reqBody versionedDecoder) encoderW... method SetThrottleTime (line 1291) | func (m *MockJoinGroupResponse) SetThrottleTime(t int32) *MockJoinGrou... method SetError (line 1296) | func (m *MockJoinGroupResponse) SetError(kerr KError) *MockJoinGroupRe... method SetGenerationId (line 1301) | func (m *MockJoinGroupResponse) SetGenerationId(id int32) *MockJoinGro... method SetGroupProtocol (line 1306) | func (m *MockJoinGroupResponse) SetGroupProtocol(proto string) *MockJo... method SetLeaderId (line 1311) | func (m *MockJoinGroupResponse) SetLeaderId(id string) *MockJoinGroupR... method SetMemberId (line 1316) | func (m *MockJoinGroupResponse) SetMemberId(id string) *MockJoinGroupR... method SetMember (line 1321) | func (m *MockJoinGroupResponse) SetMember(id string, meta *ConsumerGro... function NewMockJoinGroupResponse (line 1269) | func NewMockJoinGroupResponse(t TestReporter) *MockJoinGroupResponse { type MockLeaveGroupResponse (line 1330) | type MockLeaveGroupResponse struct method For (line 1340) | func (m *MockLeaveGroupResponse) For(reqBody versionedDecoder) encoder... method SetError (line 1349) | func (m *MockLeaveGroupResponse) SetError(kerr KError) *MockLeaveGroup... function NewMockLeaveGroupResponse (line 1336) | func NewMockLeaveGroupResponse(t TestReporter) *MockLeaveGroupResponse { type MockSyncGroupResponse (line 1354) | type MockSyncGroupResponse struct method For (line 1365) | func (m *MockSyncGroupResponse) For(reqBody versionedDecoder) encoderW... method SetError (line 1375) | func (m *MockSyncGroupResponse) SetError(kerr KError) *MockSyncGroupRe... method SetMemberAssignment (line 1380) | func (m *MockSyncGroupResponse) SetMemberAssignment(assignment *Consum... function NewMockSyncGroupResponse (line 1361) | func NewMockSyncGroupResponse(t TestReporter) *MockSyncGroupResponse { type MockHeartbeatResponse (line 1389) | type MockHeartbeatResponse struct method For (line 1399) | func (m *MockHeartbeatResponse) For(reqBody versionedDecoder) encoderW... method SetError (line 1407) | func (m *MockHeartbeatResponse) SetError(kerr KError) *MockHeartbeatRe... function NewMockHeartbeatResponse (line 1395) | func NewMockHeartbeatResponse(t TestReporter) *MockHeartbeatResponse { type MockDescribeLogDirsResponse (line 1412) | type MockDescribeLogDirsResponse struct method SetLogDirs (line 1421) | func (m *MockDescribeLogDirsResponse) SetLogDirs(logDirPath string, to... method For (line 1447) | func (m *MockDescribeLogDirsResponse) For(reqBody versionedDecoder) en... function NewMockDescribeLogDirsResponse (line 1417) | func NewMockDescribeLogDirsResponse(t TestReporter) *MockDescribeLogDirs... type MockApiVersionsResponse (line 1456) | type MockApiVersionsResponse struct method SetApiKeys (line 1479) | func (m *MockApiVersionsResponse) SetApiKeys(apiKeys []ApiVersionsResp... method For (line 1484) | func (m *MockApiVersionsResponse) For(reqBody versionedDecoder) encode... function NewMockApiVersionsResponse (line 1461) | func NewMockApiVersionsResponse(t TestReporter) *MockApiVersionsResponse { type MockInitProducerIDResponse (line 1494) | type MockInitProducerIDResponse struct method SetProducerID (line 1507) | func (m *MockInitProducerIDResponse) SetProducerID(id int) *MockInitPr... method SetProducerEpoch (line 1512) | func (m *MockInitProducerIDResponse) SetProducerEpoch(epoch int) *Mock... method SetError (line 1517) | func (m *MockInitProducerIDResponse) SetError(err KError) *MockInitPro... method For (line 1522) | func (m *MockInitProducerIDResponse) For(reqBody versionedDecoder) enc... function NewMockInitProducerIDResponse (line 1501) | func NewMockInitProducerIDResponse(t TestReporter) *MockInitProducerIDRe... FILE: mocks/async_producer.go type AsyncProducer (line 16) | type AsyncProducer struct method AsyncClose (line 128) | func (mp *AsyncProducer) AsyncClose() { method Close (line 135) | func (mp *AsyncProducer) Close() error { method Input (line 146) | func (mp *AsyncProducer) Input() chan<- *sarama.ProducerMessage { method Successes (line 151) | func (mp *AsyncProducer) Successes() <-chan *sarama.ProducerMessage { method Errors (line 156) | func (mp *AsyncProducer) Errors() <-chan *sarama.ProducerError { method IsTransactional (line 160) | func (mp *AsyncProducer) IsTransactional() bool { method BeginTxn (line 164) | func (mp *AsyncProducer) BeginTxn() error { method CommitTxn (line 172) | func (mp *AsyncProducer) CommitTxn() error { method AbortTxn (line 180) | func (mp *AsyncProducer) AbortTxn() error { method TxnStatus (line 188) | func (mp *AsyncProducer) TxnStatus() sarama.ProducerTxnStatusFlag { method AddOffsetsToTxn (line 195) | func (mp *AsyncProducer) AddOffsetsToTxn(offsets map[string][]*sarama.... method AddMessageToTxn (line 199) | func (mp *AsyncProducer) AddMessageToTxn(msg *sarama.ConsumerMessage, ... method ExpectInputWithMessageCheckerFunctionAndSucceed (line 212) | func (mp *AsyncProducer) ExpectInputWithMessageCheckerFunctionAndSucce... method ExpectInputWithMessageCheckerFunctionAndFail (line 225) | func (mp *AsyncProducer) ExpectInputWithMessageCheckerFunctionAndFail(... method ExpectInputWithCheckerFunctionAndSucceed (line 238) | func (mp *AsyncProducer) ExpectInputWithCheckerFunctionAndSucceed(cf V... method ExpectInputWithCheckerFunctionAndFail (line 249) | func (mp *AsyncProducer) ExpectInputWithCheckerFunctionAndFail(cf Valu... method ExpectInputAndSucceed (line 259) | func (mp *AsyncProducer) ExpectInputAndSucceed() *AsyncProducer { method ExpectInputAndFail (line 268) | func (mp *AsyncProducer) ExpectInputAndFail(err error) *AsyncProducer { function NewAsyncProducer (line 35) | func NewAsyncProducer(t ErrorReporter, config *sarama.Config) *AsyncProd... FILE: mocks/async_producer_test.go function generateRegexpChecker (line 15) | func generateRegexpChecker(re string) func([]byte) error { type testReporterMock (line 28) | type testReporterMock struct method Errorf (line 36) | func (trm *testReporterMock) Errorf(format string, args ...interface{}) { function newTestReporterMock (line 32) | func newTestReporterMock() *testReporterMock { function TestMockAsyncProducerImplementsAsyncProducerInterface (line 40) | func TestMockAsyncProducerImplementsAsyncProducerInterface(t *testing.T) { function TestProducerReturnsExpectationsToChannels (line 47) | func TestProducerReturnsExpectationsToChannels(t *testing.T) { function TestProducerWithTooFewExpectations (line 80) | func TestProducerWithTooFewExpectations(t *testing.T) { function TestProducerWithTooManyExpectations (line 97) | func TestProducerWithTooManyExpectations(t *testing.T) { function TestProducerFailTxn (line 113) | func TestProducerFailTxn(t *testing.T) { function TestProducerWithTxn (line 134) | func TestProducerWithTxn(t *testing.T) { function TestProducerWithCheckerFunction (line 189) | func TestProducerWithCheckerFunction(t *testing.T) { function TestProducerWithBrokenPartitioner (line 211) | func TestProducerWithBrokenPartitioner(t *testing.T) { type brokePartitioner (line 242) | type brokePartitioner struct method Partition (line 244) | func (brokePartitioner) Partition(msg *sarama.ProducerMessage, n int32... method RequiresConsistency (line 251) | func (brokePartitioner) RequiresConsistency() bool { return false } function TestProducerWithInvalidConfiguration (line 253) | func TestProducerWithInvalidConfiguration(t *testing.T) { FILE: mocks/consumer.go type Consumer (line 13) | type Consumer struct method ConsumePartition (line 48) | func (c *Consumer) ConsumePartition(topic string, partition int32, off... method Topics (line 71) | func (c *Consumer) Topics() ([]string, error) { method Partitions (line 88) | func (c *Consumer) Partitions(topic string) ([]int32, error) { method HighWaterMarks (line 103) | func (c *Consumer) HighWaterMarks() map[string]map[int32]int64 { method Close (line 121) | func (c *Consumer) Close() error { method Pause (line 135) | func (c *Consumer) Pause(topicPartitions map[string][]int32) { method Resume (line 151) | func (c *Consumer) Resume(topicPartitions map[string][]int32) { method PauseAll (line 167) | func (c *Consumer) PauseAll() { method ResumeAll (line 179) | func (c *Consumer) ResumeAll() { method SetTopicMetadata (line 196) | func (c *Consumer) SetTopicMetadata(metadata map[string][]int32) { method ExpectConsumePartition (line 211) | func (c *Consumer) ExpectConsumePartition(topic string, partition int3... function NewConsumer (line 25) | func NewConsumer(t ErrorReporter, config *sarama.Config) *Consumer { type PartitionConsumer (line 250) | type PartitionConsumer struct method AsyncClose (line 273) | func (pc *PartitionConsumer) AsyncClose() { method Close (line 283) | func (pc *PartitionConsumer) Close() error { method Errors (line 339) | func (pc *PartitionConsumer) Errors() <-chan *sarama.ConsumerError { method Messages (line 344) | func (pc *PartitionConsumer) Messages() <-chan *sarama.ConsumerMessage { method HighWaterMarkOffset (line 348) | func (pc *PartitionConsumer) HighWaterMarkOffset() int64 { method Pause (line 353) | func (pc *PartitionConsumer) Pause() { method Resume (line 363) | func (pc *PartitionConsumer) Resume() { method IsPaused (line 377) | func (pc *PartitionConsumer) IsPaused() bool { method YieldMessage (line 393) | func (pc *PartitionConsumer) YieldMessage(msg *sarama.ConsumerMessage)... method YieldError (line 417) | func (pc *PartitionConsumer) YieldError(err error) *PartitionConsumer { method ExpectMessagesDrainedOnClose (line 430) | func (pc *PartitionConsumer) ExpectMessagesDrainedOnClose() *Partition... method ExpectErrorsDrainedOnClose (line 439) | func (pc *PartitionConsumer) ExpectErrorsDrainedOnClose() *PartitionCo... FILE: mocks/consumer_test.go function TestMockConsumerImplementsConsumerInterface (line 14) | func TestMockConsumerImplementsConsumerInterface(t *testing.T) { function TestConsumerHandlesExpectations (line 26) | func TestConsumerHandlesExpectations(t *testing.T) { function TestConsumerHandlesExpectationsPausingResuming (line 71) | func TestConsumerHandlesExpectationsPausingResuming(t *testing.T) { function TestConsumerReturnsNonconsumedErrorsOnClose (line 150) | func TestConsumerReturnsNonconsumedErrorsOnClose(t *testing.T) { function TestConsumerWithoutExpectationsOnPartition (line 178) | func TestConsumerWithoutExpectationsOnPartition(t *testing.T) { function TestConsumerWithExpectationsOnUnconsumedPartition (line 196) | func TestConsumerWithExpectationsOnUnconsumedPartition(t *testing.T) { function TestConsumerWithWrongOffsetExpectation (line 210) | func TestConsumerWithWrongOffsetExpectation(t *testing.T) { function TestConsumerViolatesMessagesDrainedExpectation (line 229) | func TestConsumerViolatesMessagesDrainedExpectation(t *testing.T) { function TestConsumerMeetsErrorsDrainedExpectation (line 254) | func TestConsumerMeetsErrorsDrainedExpectation(t *testing.T) { function TestConsumerTopicMetadata (line 281) | func TestConsumerTopicMetadata(t *testing.T) { function TestConsumerUnexpectedTopicMetadata (line 324) | func TestConsumerUnexpectedTopicMetadata(t *testing.T) { function TestConsumerOffsetsAreManagedCorrectlyWithOffsetOldest (line 337) | func TestConsumerOffsetsAreManagedCorrectlyWithOffsetOldest(t *testing.T) { function TestConsumerOffsetsAreManagedCorrectlyWithSpecifiedOffset (line 369) | func TestConsumerOffsetsAreManagedCorrectlyWithSpecifiedOffset(t *testin... function TestConsumerInvalidConfiguration (line 407) | func TestConsumerInvalidConfiguration(t *testing.T) { FILE: mocks/mocks.go type ErrorReporter (line 26) | type ErrorReporter interface type ValueChecker (line 32) | type ValueChecker type MessageChecker (line 36) | type MessageChecker function messageValueChecker (line 41) | func messageValueChecker(f ValueChecker) MessageChecker { constant AnyOffset (line 60) | AnyOffset int64 = -1000 type producerExpectation (line 62) | type producerExpectation struct type TopicConfig (line 68) | type TopicConfig struct method SetDefaultPartitions (line 83) | func (pc *TopicConfig) SetDefaultPartitions(n int32) { method SetPartitions (line 89) | func (pc *TopicConfig) SetPartitions(partitions map[string]int32) { method partitions (line 93) | func (pc *TopicConfig) partitions(topic string) int32 { function NewTopicConfig (line 74) | func NewTopicConfig() *TopicConfig { function NewTestConfig (line 103) | func NewTestConfig() *sarama.Config { FILE: mocks/sync_producer.go type SyncProducer (line 14) | type SyncProducer struct method SendMessage (line 61) | func (sp *SyncProducer) SendMessage(msg *sarama.ProducerMessage) (part... method SendMessages (line 102) | func (sp *SyncProducer) SendMessages(msgs []*sarama.ProducerMessage) e... method partitioner (line 137) | func (sp *SyncProducer) partitioner(topic string) sarama.Partitioner { method Close (line 149) | func (sp *SyncProducer) Close() error { method ExpectSendMessageWithMessageCheckerFunctionAndSucceed (line 168) | func (sp *SyncProducer) ExpectSendMessageWithMessageCheckerFunctionAnd... method ExpectSendMessageWithMessageCheckerFunctionAndFail (line 180) | func (sp *SyncProducer) ExpectSendMessageWithMessageCheckerFunctionAnd... method ExpectSendMessageWithCheckerFunctionAndSucceed (line 192) | func (sp *SyncProducer) ExpectSendMessageWithCheckerFunctionAndSucceed... method ExpectSendMessageWithCheckerFunctionAndFail (line 202) | func (sp *SyncProducer) ExpectSendMessageWithCheckerFunctionAndFail(cf... method ExpectSendMessageAndSucceed (line 211) | func (sp *SyncProducer) ExpectSendMessageAndSucceed() *SyncProducer { method ExpectSendMessageAndFail (line 220) | func (sp *SyncProducer) ExpectSendMessageAndFail(err error) *SyncProdu... method IsTransactional (line 226) | func (sp *SyncProducer) IsTransactional() bool { method BeginTxn (line 230) | func (sp *SyncProducer) BeginTxn() error { method CommitTxn (line 238) | func (sp *SyncProducer) CommitTxn() error { method AbortTxn (line 246) | func (sp *SyncProducer) AbortTxn() error { method TxnStatus (line 254) | func (sp *SyncProducer) TxnStatus() sarama.ProducerTxnStatusFlag { method AddOffsetsToTxn (line 258) | func (sp *SyncProducer) AddOffsetsToTxn(offsets map[string][]*sarama.P... method AddMessageToTxn (line 262) | func (sp *SyncProducer) AddMessageToTxn(msg *sarama.ConsumerMessage, g... function NewSyncProducer (line 33) | func NewSyncProducer(t ErrorReporter, config *sarama.Config) *SyncProduc... FILE: mocks/sync_producer_test.go function TestMockSyncProducerImplementsSyncProducerInterface (line 13) | func TestMockSyncProducerImplementsSyncProducerInterface(t *testing.T) { function TestSyncProducerReturnsExpectationsToSendMessage (line 20) | func TestSyncProducerReturnsExpectationsToSendMessage(t *testing.T) { function TestSyncProducerFailTxn (line 60) | func TestSyncProducerFailTxn(t *testing.T) { function TestSyncProducerUseTxn (line 90) | func TestSyncProducerUseTxn(t *testing.T) { function TestSyncProducerWithTooManyExpectations (line 158) | func TestSyncProducerWithTooManyExpectations(t *testing.T) { function TestSyncProducerWithTooFewExpectations (line 179) | func TestSyncProducerWithTooFewExpectations(t *testing.T) { function TestSyncProducerWithCheckerFunction (line 201) | func TestSyncProducerWithCheckerFunction(t *testing.T) { function TestSyncProducerWithCheckerFunctionForSendMessagesWithError (line 226) | func TestSyncProducerWithCheckerFunctionForSendMessagesWithError(t *test... function TestSyncProducerWithCheckerFunctionForSendMessagesWithoutError (line 250) | func TestSyncProducerWithCheckerFunctionForSendMessagesWithoutError(t *t... function TestSyncProducerSendMessagesExpectationsMismatchTooFew (line 279) | func TestSyncProducerSendMessagesExpectationsMismatchTooFew(t *testing.T) { function TestSyncProducerSendMessagesExpectationsMismatchTooMany (line 303) | func TestSyncProducerSendMessagesExpectationsMismatchTooMany(t *testing.... function TestSyncProducerSendMessagesFaultyEncoder (line 326) | func TestSyncProducerSendMessagesFaultyEncoder(t *testing.T) { type faultyEncoder (line 348) | type faultyEncoder method Encode (line 350) | func (f faultyEncoder) Encode() ([]byte, error) { method Length (line 354) | func (f faultyEncoder) Length() int { function TestSyncProducerInvalidConfiguration (line 358) | func TestSyncProducerInvalidConfiguration(t *testing.T) { FILE: offset_commit_request.go constant ReceiveTime (line 8) | ReceiveTime int64 = -1 constant GroupGenerationUndefined (line 13) | GroupGenerationUndefined = -1 type offsetCommitRequestBlock (line 15) | type offsetCommitRequestBlock struct method encode (line 22) | func (b *offsetCommitRequestBlock) encode(pe packetEncoder, version in... method decode (line 36) | func (b *offsetCommitRequestBlock) decode(pd packetDecoder, version in... type OffsetCommitRequest (line 55) | type OffsetCommitRequest struct method setVersion (line 74) | func (r *OffsetCommitRequest) setVersion(v int16) { method encode (line 78) | func (r *OffsetCommitRequest) encode(pe packetEncoder) error { method decode (line 134) | func (r *OffsetCommitRequest) decode(pd packetDecoder, version int16) ... method key (line 196) | func (r *OffsetCommitRequest) key() int16 { method version (line 200) | func (r *OffsetCommitRequest) version() int16 { method headerVersion (line 204) | func (r *OffsetCommitRequest) headerVersion() int16 { method isValidVersion (line 208) | func (r *OffsetCommitRequest) isValidVersion() bool { method requiredVersion (line 212) | func (r *OffsetCommitRequest) requiredVersion() KafkaVersion { method AddBlock (line 231) | func (r *OffsetCommitRequest) AddBlock(topic string, partitionID int32... method AddBlockWithLeaderEpoch (line 235) | func (r *OffsetCommitRequest) AddBlockWithLeaderEpoch(topic string, pa... method Offset (line 247) | func (r *OffsetCommitRequest) Offset(topic string, partitionID int32) ... FILE: offset_commit_request_test.go function TestOffsetCommitRequestV0 (line 69) | func TestOffsetCommitRequestV0(t *testing.T) { function TestOffsetCommitRequestV1 (line 79) | func TestOffsetCommitRequestV1(t *testing.T) { function TestOffsetCommitRequestV2ToV4 (line 91) | func TestOffsetCommitRequestV2ToV4(t *testing.T) { function TestOffsetCommitRequestV5AndPlus (line 145) | func TestOffsetCommitRequestV5AndPlus(t *testing.T) { FILE: offset_commit_response.go type OffsetCommitResponse (line 5) | type OffsetCommitResponse struct method setVersion (line 11) | func (r *OffsetCommitResponse) setVersion(v int16) { method AddError (line 15) | func (r *OffsetCommitResponse) AddError(topic string, partition int32,... method encode (line 27) | func (r *OffsetCommitResponse) encode(pe packetEncoder) error { method decode (line 49) | func (r *OffsetCommitResponse) decode(pd packetDecoder, version int16)... method key (line 94) | func (r *OffsetCommitResponse) key() int16 { method version (line 98) | func (r *OffsetCommitResponse) version() int16 { method headerVersion (line 102) | func (r *OffsetCommitResponse) headerVersion() int16 { method isValidVersion (line 106) | func (r *OffsetCommitResponse) isValidVersion() bool { method requiredVersion (line 110) | func (r *OffsetCommitResponse) requiredVersion() KafkaVersion { method throttleTime (line 129) | func (r *OffsetCommitResponse) throttleTime() time.Duration { FILE: offset_commit_response_test.go function TestEmptyOffsetCommitResponse (line 32) | func TestEmptyOffsetCommitResponse(t *testing.T) { function TestNormalOffsetCommitResponse (line 86) | func TestNormalOffsetCommitResponse(t *testing.T) { function TestOffsetCommitResponseWithThrottleTime (line 95) | func TestOffsetCommitResponseWithThrottleTime(t *testing.T) { FILE: offset_fetch_request.go type OffsetFetchRequest (line 3) | type OffsetFetchRequest struct method setVersion (line 10) | func (r *OffsetFetchRequest) setVersion(v int16) { method encode (line 51) | func (r *OffsetFetchRequest) encode(pe packetEncoder) (err error) { method decode (line 97) | func (r *OffsetFetchRequest) decode(pd packetDecoder, version int16) (... method key (line 143) | func (r *OffsetFetchRequest) key() int16 { method version (line 147) | func (r *OffsetFetchRequest) version() int16 { method headerVersion (line 151) | func (r *OffsetFetchRequest) headerVersion() int16 { method isValidVersion (line 159) | func (r *OffsetFetchRequest) isValidVersion() bool { method isFlexible (line 163) | func (r *OffsetFetchRequest) isFlexible() bool { method isFlexibleVersion (line 167) | func (r *OffsetFetchRequest) isFlexibleVersion(version int16) bool { method requiredVersion (line 171) | func (r *OffsetFetchRequest) requiredVersion() KafkaVersion { method ZeroPartitions (line 194) | func (r *OffsetFetchRequest) ZeroPartitions() { method AddPartition (line 200) | func (r *OffsetFetchRequest) AddPartition(topic string, partitionID in... function NewOffsetFetchRequest (line 14) | func NewOffsetFetchRequest( FILE: offset_fetch_request_test.go function TestOffsetFetchRequestNoPartitions (line 59) | func TestOffsetFetchRequestNoPartitions(t *testing.T) { function TestOffsetFetchRequest (line 92) | func TestOffsetFetchRequest(t *testing.T) { function TestOffsetFetchRequestAllPartitions (line 120) | func TestOffsetFetchRequestAllPartitions(t *testing.T) { FILE: offset_fetch_response.go type OffsetFetchResponseBlock (line 5) | type OffsetFetchResponseBlock struct method decode (line 12) | func (b *OffsetFetchResponseBlock) decode(pd packetDecoder, version in... method encode (line 44) | func (b *OffsetFetchResponseBlock) encode(pe packetEncoder, version in... type OffsetFetchResponse (line 61) | type OffsetFetchResponse struct method setVersion (line 68) | func (r *OffsetFetchResponse) setVersion(v int16) { method encode (line 72) | func (r *OffsetFetchResponse) encode(pe packetEncoder) (err error) { method decode (line 106) | func (r *OffsetFetchResponse) decode(pd packetDecoder, version int16) ... method key (line 170) | func (r *OffsetFetchResponse) key() int16 { method version (line 174) | func (r *OffsetFetchResponse) version() int16 { method headerVersion (line 178) | func (r *OffsetFetchResponse) headerVersion() int16 { method isValidVersion (line 186) | func (r *OffsetFetchResponse) isValidVersion() bool { method isFlexible (line 190) | func (r *OffsetFetchResponse) isFlexible() bool { method isFlexibleVersion (line 194) | func (r *OffsetFetchResponse) isFlexibleVersion(version int16) bool { method requiredVersion (line 198) | func (r *OffsetFetchResponse) requiredVersion() KafkaVersion { method throttleTime (line 221) | func (r *OffsetFetchResponse) throttleTime() time.Duration { method GetBlock (line 225) | func (r *OffsetFetchResponse) GetBlock(topic string, partition int32) ... method AddBlock (line 237) | func (r *OffsetFetchResponse) AddBlock(topic string, partition int32, ... FILE: offset_fetch_response_test.go function TestEmptyOffsetFetchResponse (line 42) | func TestEmptyOffsetFetchResponse(t *testing.T) { function TestOffsetFetchResponseNullMetadata (line 57) | func TestOffsetFetchResponseNullMetadata(t *testing.T) { function TestNormalOffsetFetchResponse (line 68) | func TestNormalOffsetFetchResponse(t *testing.T) { FILE: offset_manager.go type OffsetManager (line 11) | type OffsetManager interface type offsetManager (line 28) | type offsetManager struct method ManagePartition (line 87) | func (om *offsetManager) ManagePartition(topic string, partition int32... method Close (line 110) | func (om *offsetManager) Close() error { method computeBackoff (line 139) | func (om *offsetManager) computeBackoff(retries int) time.Duration { method fetchInitialOffset (line 147) | func (om *offsetManager) fetchInitialOffset(topic string, partition in... method coordinator (line 197) | func (om *offsetManager) coordinator() (*Broker, error) { method releaseCoordinator (line 226) | func (om *offsetManager) releaseCoordinator(b *Broker) { method mainLoop (line 234) | func (om *offsetManager) mainLoop() { method Commit (line 248) | func (om *offsetManager) Commit() { method flushToBroker (line 253) | func (om *offsetManager) flushToBroker() { method constructRequest (line 301) | func (om *offsetManager) constructRequest() *OffsetCommitRequest { method handleResponse (line 372) | func (om *offsetManager) handleResponse(broker *Broker, req *OffsetCom... method handleError (line 426) | func (om *offsetManager) handleError(err error) { method asyncClosePOMs (line 437) | func (om *offsetManager) asyncClosePOMs() { method releasePOMs (line 449) | func (om *offsetManager) releasePOMs(force bool) (remaining int) { method findPOM (line 473) | func (om *offsetManager) findPOM(topic string, partition int32) *parti... method tryCancelSession (line 485) | func (om *offsetManager) tryCancelSession() { method newPartitionOffsetManager (line 562) | func (om *offsetManager) newPartitionOffsetManager(topic string, parti... function NewOffsetManagerFromClient (line 52) | func NewOffsetManagerFromClient(group string, client Client) (OffsetMana... function newOffsetManagerFromClient (line 56) | func newOffsetManagerFromClient(group, memberID string, generation int32... function sendOffsetCommit (line 290) | func sendOffsetCommit(coordinator *Broker, req *OffsetCommitRequest) (*O... type PartitionOffsetManager (line 496) | type PartitionOffsetManager interface type partitionOffsetManager (line 546) | type partitionOffsetManager struct method Errors (line 579) | func (pom *partitionOffsetManager) Errors() <-chan *ConsumerError { method MarkOffset (line 583) | func (pom *partitionOffsetManager) MarkOffset(offset int64, metadata s... method ResetOffset (line 594) | func (pom *partitionOffsetManager) ResetOffset(offset int64, metadata ... method updateCommitted (line 605) | func (pom *partitionOffsetManager) updateCommitted(offset int64, metad... method NextOffset (line 614) | func (pom *partitionOffsetManager) NextOffset() (int64, string) { method AsyncClose (line 625) | func (pom *partitionOffsetManager) AsyncClose() { method Close (line 631) | func (pom *partitionOffsetManager) Close() error { method handleError (line 645) | func (pom *partitionOffsetManager) handleError(err error) { method release (line 659) | func (pom *partitionOffsetManager) release() { FILE: offset_manager_test.go function initOffsetManagerWithBackoffFunc (line 15) | func initOffsetManagerWithBackoffFunc( function initOffsetManager (line 59) | func initOffsetManager(t *testing.T, retention time.Duration) (om Offset... function initPartitionOffsetManager (line 65) | func initPartitionOffsetManager(t *testing.T, om OffsetManager, function TestNewOffsetManager (line 84) | func TestNewOffsetManager(t *testing.T) { function TestOffsetManagerCommitSequence (line 114) | func TestOffsetManagerCommitSequence(t *testing.T) { function TestNewOffsetManagerOffsetsAutoCommit (line 233) | func TestNewOffsetManagerOffsetsAutoCommit(t *testing.T) { function TestNewOffsetManagerOffsetsManualCommit (line 285) | func TestNewOffsetManagerOffsetsManualCommit(t *testing.T) { function TestOffsetManagerFetchInitialFail (line 343) | func TestOffsetManagerFetchInitialFail(t *testing.T) { function TestOffsetManagerFetchInitialLoadInProgress (line 386) | func TestOffsetManagerFetchInitialLoadInProgress(t *testing.T) { function TestPartitionOffsetManagerInitialOffset (line 428) | func TestPartitionOffsetManagerInitialOffset(t *testing.T) { function TestPartitionOffsetManagerNextOffset (line 450) | func TestPartitionOffsetManagerNextOffset(t *testing.T) { function TestPartitionOffsetManagerResetOffset (line 469) | func TestPartitionOffsetManagerResetOffset(t *testing.T) { function TestPartitionOffsetManagerResetOffsetWithRetention (line 495) | func TestPartitionOffsetManagerResetOffsetWithRetention(t *testing.T) { function TestPartitionOffsetManagerMarkOffset (line 531) | func TestPartitionOffsetManagerMarkOffset(t *testing.T) { function TestPartitionOffsetManagerMarkOffsetWithRetention (line 556) | func TestPartitionOffsetManagerMarkOffsetWithRetention(t *testing.T) { function TestPartitionOffsetManagerCommitErr (line 591) | func TestPartitionOffsetManagerCommitErr(t *testing.T) { function TestAbortPartitionOffsetManager (line 653) | func TestAbortPartitionOffsetManager(t *testing.T) { function TestConstructRequestRetentionTime (line 684) | func TestConstructRequestRetentionTime(t *testing.T) { FILE: offset_request.go type offsetRequestBlock (line 3) | type offsetRequestBlock struct method encode (line 12) | func (b *offsetRequestBlock) encode(pe packetEncoder, version int16) e... method decode (line 26) | func (b *offsetRequestBlock) decode(pd packetDecoder, version int16) (... type OffsetRequest (line 47) | type OffsetRequest struct method setVersion (line 77) | func (r *OffsetRequest) setVersion(v int16) { method encode (line 81) | func (r *OffsetRequest) encode(pe packetEncoder) error { method decode (line 116) | func (r *OffsetRequest) decode(pd packetDecoder, version int16) error { method key (line 172) | func (r *OffsetRequest) key() int16 { method version (line 176) | func (r *OffsetRequest) version() int16 { method headerVersion (line 180) | func (r *OffsetRequest) headerVersion() int16 { method isValidVersion (line 184) | func (r *OffsetRequest) isValidVersion() bool { method requiredVersion (line 188) | func (r *OffsetRequest) requiredVersion() KafkaVersion { method SetReplicaID (line 207) | func (r *OffsetRequest) SetReplicaID(id int32) { method ReplicaID (line 212) | func (r *OffsetRequest) ReplicaID() int32 { method AddBlock (line 219) | func (r *OffsetRequest) AddBlock(topic string, partitionID int32, time... function NewOffsetRequest (line 55) | func NewOffsetRequest(version KafkaVersion) *OffsetRequest { FILE: offset_request_test.go function TestOffsetRequest (line 65) | func TestOffsetRequest(t *testing.T) { function TestOffsetRequestV1 (line 73) | func TestOffsetRequestV1(t *testing.T) { function TestOffsetRequestV2 (line 82) | func TestOffsetRequestV2(t *testing.T) { function TestOffsetRequestReplicaID (line 92) | func TestOffsetRequestReplicaID(t *testing.T) { function TestOffsetRequestV4 (line 104) | func TestOffsetRequestV4(t *testing.T) { FILE: offset_response.go type OffsetResponseBlock (line 5) | type OffsetResponseBlock struct method decode (line 17) | func (b *OffsetResponseBlock) decode(pd packetDecoder, version int16) ... method encode (line 52) | func (b *OffsetResponseBlock) encode(pe packetEncoder, version int16) ... type OffsetResponse (line 71) | type OffsetResponse struct method setVersion (line 77) | func (r *OffsetResponse) setVersion(v int16) { method decode (line 81) | func (r *OffsetResponse) decode(pd packetDecoder, version int16) (err ... method GetBlock (line 126) | func (r *OffsetResponse) GetBlock(topic string, partition int32) *Offs... method encode (line 152) | func (r *OffsetResponse) encode(pe packetEncoder) (err error) { method key (line 179) | func (r *OffsetResponse) key() int16 { method version (line 183) | func (r *OffsetResponse) version() int16 { method headerVersion (line 187) | func (r *OffsetResponse) headerVersion() int16 { method isValidVersion (line 191) | func (r *OffsetResponse) isValidVersion() bool { method requiredVersion (line 195) | func (r *OffsetResponse) requiredVersion() KafkaVersion { method throttleTime (line 214) | func (r *OffsetResponse) throttleTime() time.Duration { method AddTopicPartition (line 220) | func (r *OffsetResponse) AddTopicPartition(topic string, partition int... FILE: offset_response_test.go function TestEmptyOffsetResponse (line 57) | func TestEmptyOffsetResponse(t *testing.T) { function TestNormalOffsetResponse (line 73) | func TestNormalOffsetResponse(t *testing.T) { function TestNormalOffsetResponseV1 (line 103) | func TestNormalOffsetResponseV1(t *testing.T) { function TestOffsetResponseV4 (line 133) | func TestOffsetResponseV4(t *testing.T) { FILE: packet_decoder.go type taggedFieldDecoderFunc (line 9) | type taggedFieldDecoderFunc type taggedFieldDecoders (line 10) | type taggedFieldDecoders type packetDecoder (line 15) | type packetDecoder interface type pushDecoder (line 59) | type pushDecoder interface type dynamicPushDecoder (line 76) | type dynamicPushDecoder interface FILE: packet_encoder.go type packetEncoder (line 12) | type packetEncoder interface type pushEncoder (line 53) | type pushEncoder interface type dynamicPushEncoder (line 69) | type dynamicPushEncoder interface FILE: partitioner.go type Partitioner (line 14) | type Partitioner interface type DynamicConsistencyPartitioner (line 32) | type DynamicConsistencyPartitioner interface type PartitionerConstructor (line 42) | type PartitionerConstructor type manualPartitioner (line 44) | type manualPartitioner struct method Partition (line 86) | func (p *manualPartitioner) Partition(message *ProducerMessage, numPar... method RequiresConsistency (line 90) | func (p *manualPartitioner) RequiresConsistency() bool { type HashPartitionerOption (line 47) | type HashPartitionerOption function WithAbsFirst (line 51) | func WithAbsFirst() HashPartitionerOption { function WithHashUnsigned (line 60) | func WithHashUnsigned() HashPartitionerOption { function WithCustomHashFunction (line 67) | func WithCustomHashFunction(hasher func() hash.Hash32) HashPartitionerOp... function WithCustomFallbackPartitioner (line 74) | func WithCustomFallbackPartitioner(randomHP Partitioner) HashPartitioner... function NewManualPartitioner (line 82) | func NewManualPartitioner(topic string) Partitioner { type randomPartitioner (line 94) | type randomPartitioner struct method Partition (line 105) | func (p *randomPartitioner) Partition(message *ProducerMessage, numPar... method RequiresConsistency (line 109) | func (p *randomPartitioner) RequiresConsistency() bool { function NewRandomPartitioner (line 99) | func NewRandomPartitioner(topic string) Partitioner { type roundRobinPartitioner (line 113) | type roundRobinPartitioner struct method Partition (line 122) | func (p *roundRobinPartitioner) Partition(message *ProducerMessage, nu... method RequiresConsistency (line 131) | func (p *roundRobinPartitioner) RequiresConsistency() bool { function NewRoundRobinPartitioner (line 118) | func NewRoundRobinPartitioner(topic string) Partitioner { type hashPartitioner (line 135) | type hashPartitioner struct method Partition (line 209) | func (p *hashPartitioner) Partition(message *ProducerMessage, numParti... method RequiresConsistency (line 242) | func (p *hashPartitioner) RequiresConsistency() bool { method MessageRequiresConsistency (line 246) | func (p *hashPartitioner) MessageRequiresConsistency(message *Producer... function NewCustomHashPartitioner (line 145) | func NewCustomHashPartitioner(hasher func() hash.Hash32) PartitionerCons... function NewCustomPartitioner (line 157) | func NewCustomPartitioner(options ...HashPartitionerOption) PartitionerC... function NewHashPartitioner (line 175) | func NewHashPartitioner(topic string) Partitioner { function NewReferenceHashPartitioner (line 188) | func NewReferenceHashPartitioner(topic string) Partitioner { function NewConsistentCRCHashPartitioner (line 200) | func NewConsistentCRCHashPartitioner(topic string) Partitioner { FILE: partitioner_test.go function assertPartitioningConsistent (line 13) | func assertPartitioningConsistent(t *testing.T, partitioner Partitioner,... type partitionerTestCase (line 32) | type partitionerTestCase struct function partitionAndAssert (line 37) | func partitionAndAssert(t *testing.T, partitioner Partitioner, numPartit... function TestRandomPartitioner (line 54) | func TestRandomPartitioner(t *testing.T) { function TestRoundRobinPartitioner (line 76) | func TestRoundRobinPartitioner(t *testing.T) { function TestNewHashPartitionerWithHasher (line 99) | func TestNewHashPartitionerWithHasher(t *testing.T) { function TestHashPartitionerWithHasherMinInt32 (line 130) | func TestHashPartitionerWithHasherMinInt32(t *testing.T) { function TestHashPartitioner (line 148) | func TestHashPartitioner(t *testing.T) { function TestHashPartitionerConsistency (line 178) | func TestHashPartitionerConsistency(t *testing.T) { function TestHashPartitionerMinInt32 (line 196) | func TestHashPartitionerMinInt32(t *testing.T) { function TestConsistentCRCHashPartitioner (line 213) | func TestConsistentCRCHashPartitioner(t *testing.T) { function TestCustomPartitionerWithConsistentHashing (line 247) | func TestCustomPartitionerWithConsistentHashing(t *testing.T) { function TestManualPartitioner (line 269) | func TestManualPartitioner(t *testing.T) { function TestWithCustomFallbackPartitioner (line 291) | func TestWithCustomFallbackPartitioner(t *testing.T) { function ExamplePartitioner_random (line 325) | func ExamplePartitioner_random() { function ExamplePartitioner_manual (line 351) | func ExamplePartitioner_manual() { function ExamplePartitioner_per_topic (line 386) | func ExamplePartitioner_per_topic() { FILE: prep_encoder.go type prepEncoder (line 13) | type prepEncoder struct method putInt8 (line 24) | func (pe *prepEncoder) putInt8(in int8) { method putInt16 (line 28) | func (pe *prepEncoder) putInt16(in int16) { method putInt32 (line 32) | func (pe *prepEncoder) putInt32(in int32) { method putInt64 (line 36) | func (pe *prepEncoder) putInt64(in int64) { method putVarint (line 40) | func (pe *prepEncoder) putVarint(in int64) { method putUVarint (line 45) | func (pe *prepEncoder) putUVarint(in uint64) { method putFloat64 (line 50) | func (pe *prepEncoder) putFloat64(in float64) { method putArrayLength (line 54) | func (pe *prepEncoder) putArrayLength(in int) error { method putBool (line 62) | func (pe *prepEncoder) putBool(in bool) { method putKError (line 66) | func (pe *prepEncoder) putKError(in KError) { method putDurationMs (line 70) | func (pe *prepEncoder) putDurationMs(in time.Duration) { method putBytes (line 76) | func (pe *prepEncoder) putBytes(in []byte) error { method putVarintBytes (line 84) | func (pe *prepEncoder) putVarintBytes(in []byte) error { method putRawBytes (line 93) | func (pe *prepEncoder) putRawBytes(in []byte) error { method putNullableString (line 101) | func (pe *prepEncoder) putNullableString(in *string) error { method putString (line 109) | func (pe *prepEncoder) putString(in string) error { method putStringArray (line 118) | func (pe *prepEncoder) putStringArray(in []string) error { method putInt32Array (line 133) | func (pe *prepEncoder) putInt32Array(in []int32) error { method putNullableInt32Array (line 142) | func (pe *prepEncoder) putNullableInt32Array(in []int32) error { method putInt64Array (line 155) | func (pe *prepEncoder) putInt64Array(in []int64) error { method putEmptyTaggedFieldArray (line 164) | func (pe *prepEncoder) putEmptyTaggedFieldArray() { method offset (line 167) | func (pe *prepEncoder) offset() int { method push (line 173) | func (pe *prepEncoder) push(in pushEncoder) { method pop (line 179) | func (pe *prepEncoder) pop() error { method metricRegistry (line 190) | func (pe *prepEncoder) metricRegistry() metrics.Registry { type prepFlexibleEncoder (line 18) | type prepFlexibleEncoder struct method putArrayLength (line 194) | func (pe *prepFlexibleEncoder) putArrayLength(in int) error { method putBytes (line 199) | func (pe *prepFlexibleEncoder) putBytes(in []byte) error { method putString (line 204) | func (pe *prepFlexibleEncoder) putString(in string) error { method putNullableString (line 211) | func (pe *prepFlexibleEncoder) putNullableString(in *string) error { method putStringArray (line 220) | func (pe *prepFlexibleEncoder) putStringArray(in []string) error { method putInt32Array (line 235) | func (pe *prepFlexibleEncoder) putInt32Array(in []int32) error { method putNullableInt32Array (line 245) | func (pe *prepFlexibleEncoder) putNullableInt32Array(in []int32) error { method putEmptyTaggedFieldArray (line 256) | func (pe *prepFlexibleEncoder) putEmptyTaggedFieldArray() { FILE: produce_request.go type RequiredAcks (line 10) | type RequiredAcks constant NoResponse (line 14) | NoResponse RequiredAcks = 0 constant WaitForLocal (line 16) | WaitForLocal RequiredAcks = 1 constant WaitForAll (line 20) | WaitForAll RequiredAcks = -1 type ProduceRequest (line 23) | type ProduceRequest struct method setVersion (line 31) | func (r *ProduceRequest) setVersion(v int16) { method encode (line 72) | func (r *ProduceRequest) encode(pe packetEncoder) error { method decode (line 145) | func (r *ProduceRequest) decode(pd packetDecoder, version int16) error { method key (line 207) | func (r *ProduceRequest) key() int16 { method version (line 211) | func (r *ProduceRequest) version() int16 { method headerVersion (line 215) | func (r *ProduceRequest) headerVersion() int16 { method isValidVersion (line 219) | func (r *ProduceRequest) isValidVersion() bool { method requiredVersion (line 223) | func (r *ProduceRequest) requiredVersion() KafkaVersion { method ensureRecords (line 244) | func (r *ProduceRequest) ensureRecords(topic string, partition int32) { method AddMessage (line 254) | func (r *ProduceRequest) AddMessage(topic string, partition int32, msg... method AddSet (line 266) | func (r *ProduceRequest) AddSet(topic string, partition int32, set *Me... method AddBatch (line 271) | func (r *ProduceRequest) AddBatch(topic string, partition int32, batch... function updateMsgSetMetrics (line 35) | func updateMsgSetMetrics(msgSet *MessageSet, compressionRatioMetric metr... function updateBatchMetrics (line 60) | func updateBatchMetrics(recordBatch *RecordBatch, compressionRatioMetric... FILE: produce_request_test.go function TestProduceRequest (line 78) | func TestProduceRequest(t *testing.T) { FILE: produce_response.go type ProduceResponseBlock (line 24) | type ProduceResponseBlock struct method decode (line 31) | func (b *ProduceResponseBlock) decode(pd packetDecoder, version int16)... method encode (line 60) | func (b *ProduceResponseBlock) encode(pe packetEncoder, version int16)... type ProduceResponse (line 81) | type ProduceResponse struct method setVersion (line 87) | func (r *ProduceResponse) setVersion(v int16) { method decode (line 91) | func (r *ProduceResponse) decode(pd packetDecoder, version int16) (err... method encode (line 137) | func (r *ProduceResponse) encode(pe packetEncoder) error { method key (line 166) | func (r *ProduceResponse) key() int16 { method version (line 170) | func (r *ProduceResponse) version() int16 { method headerVersion (line 174) | func (r *ProduceResponse) headerVersion() int16 { method isValidVersion (line 178) | func (r *ProduceResponse) isValidVersion() bool { method requiredVersion (line 182) | func (r *ProduceResponse) requiredVersion() KafkaVersion { method throttleTime (line 203) | func (r *ProduceResponse) throttleTime() time.Duration { method GetBlock (line 207) | func (r *ProduceResponse) GetBlock(topic string, partition int32) *Pro... method AddTopicPartition (line 221) | func (r *ProduceResponse) AddTopicPartition(topic string, partition in... FILE: produce_response_test.go function TestProduceResponseDecode (line 71) | func TestProduceResponseDecode(t *testing.T) { function TestProduceResponseEncode (line 117) | func TestProduceResponseEncode(t *testing.T) { function TestProduceResponseEncodeInvalidTimestamp (line 136) | func TestProduceResponseEncodeInvalidTimestamp(t *testing.T) { FILE: produce_set.go type partitionSet (line 9) | type partitionSet struct type produceSet (line 15) | type produceSet struct method add (line 39) | func (ps *produceSet) add(msg *ProducerMessage) error { method takePartitions (line 134) | func (ps *produceSet) takePartitions(predicate func(topic string, part... method copyFunc (line 164) | func (ps *produceSet) copyFunc(predicate func(topic string, partition ... method buildRequest (line 180) | func (ps *produceSet) buildRequest() *ProduceRequest { method eachPartition (line 274) | func (ps *produceSet) eachPartition(cb func(topic string, partition in... method anyPartition (line 282) | func (ps *produceSet) anyPartition(predicate func(topic string, partit... method dropPartition (line 293) | func (ps *produceSet) dropPartition(topic string, partition int32) []*... method wouldOverflow (line 307) | func (ps *produceSet) wouldOverflow(msg *ProducerMessage) bool { method readyToFlush (line 329) | func (ps *produceSet) readyToFlush() bool { method empty (line 348) | func (ps *produceSet) empty() bool { function newProduceSet (line 25) | func newProduceSet(parent *asyncProducer) *produceSet { function newProduceSetWithMeta (line 30) | func newProduceSetWithMeta(parent *asyncProducer, producerID int64, prod... FILE: produce_set_test.go function makeProduceSet (line 11) | func makeProduceSet() (*asyncProducer, *produceSet) { function safeAddMessage (line 22) | func safeAddMessage(t *testing.T, ps *produceSet, msg *ProducerMessage) { function TestProduceSetInitial (line 28) | func TestProduceSetInitial(t *testing.T) { function TestProduceSetAddingMessages (line 40) | func TestProduceSetAddingMessages(t *testing.T) { function TestProduceSetAddingMessagesOverflowMessagesLimit (line 55) | func TestProduceSetAddingMessagesOverflowMessagesLimit(t *testing.T) { function TestProduceSetAddingMessagesOverflowBytesLimit (line 73) | func TestProduceSetAddingMessagesOverflowBytesLimit(t *testing.T) { function TestProduceSetPartitionTracking (line 91) | func TestProduceSetPartitionTracking(t *testing.T) { function TestProduceSetRequestBuilding (line 138) | func TestProduceSetRequestBuilding(t *testing.T) { function TestProduceSetCompressedRequestBuilding (line 176) | func TestProduceSetCompressedRequestBuilding(t *testing.T) { function TestProduceSetV3RequestBuilding (line 221) | func TestProduceSetV3RequestBuilding(t *testing.T) { function TestProduceSetIdempotentRequestBuilding (line 290) | func TestProduceSetIdempotentRequestBuilding(t *testing.T) { function TestProduceSetConsistentTimestamps (line 378) | func TestProduceSetConsistentTimestamps(t *testing.T) { FILE: quota_types.go type QuotaEntityType (line 4) | type QuotaEntityType type QuotaMatchType (line 6) | type QuotaMatchType constant QuotaEntityUser (line 11) | QuotaEntityUser QuotaEntityType = "user" constant QuotaEntityClientID (line 12) | QuotaEntityClientID QuotaEntityType = "client-id" constant QuotaEntityIP (line 13) | QuotaEntityIP QuotaEntityType = "ip" constant QuotaMatchExact (line 18) | QuotaMatchExact QuotaMatchType = iota constant QuotaMatchDefault (line 19) | QuotaMatchDefault constant QuotaMatchAny (line 20) | QuotaMatchAny FILE: real_decoder.go type realDecoder (line 20) | type realDecoder struct method getInt8 (line 33) | func (rd *realDecoder) getInt8() (int8, error) { method getInt16 (line 43) | func (rd *realDecoder) getInt16() (int16, error) { method getInt32 (line 53) | func (rd *realDecoder) getInt32() (int32, error) { method getInt64 (line 63) | func (rd *realDecoder) getInt64() (int64, error) { method getVarint (line 73) | func (rd *realDecoder) getVarint() (int64, error) { method getUVarint (line 87) | func (rd *realDecoder) getUVarint() (uint64, error) { method getFloat64 (line 103) | func (rd *realDecoder) getFloat64() (float64, error) { method getArrayLength (line 113) | func (rd *realDecoder) getArrayLength() (int, error) { method getBool (line 131) | func (rd *realDecoder) getBool() (bool, error) { method getKError (line 142) | func (rd *realDecoder) getKError() (KError, error) { method getDurationMs (line 147) | func (rd *realDecoder) getDurationMs() (time.Duration, error) { method getTaggedFieldArray (line 155) | func (rd *realDecoder) getTaggedFieldArray(decoders taggedFieldDecoder... method getEmptyTaggedFieldArray (line 159) | func (rd *realDecoder) getEmptyTaggedFieldArray() (int, error) { method getBytes (line 165) | func (rd *realDecoder) getBytes() ([]byte, error) { method getVarintBytes (line 177) | func (rd *realDecoder) getVarintBytes() ([]byte, error) { method getStringLength (line 189) | func (rd *realDecoder) getStringLength() (int, error) { method getString (line 208) | func (rd *realDecoder) getString() (string, error) { method getNullableString (line 219) | func (rd *realDecoder) getNullableString() (*string, error) { method getInt32Array (line 230) | func (rd *realDecoder) getInt32Array() ([]int32, error) { method getInt64Array (line 252) | func (rd *realDecoder) getInt64Array() ([]int64, error) { method getStringArray (line 274) | func (rd *realDecoder) getStringArray() ([]string, error) { method remaining (line 297) | func (rd *realDecoder) remaining() int { method getSubset (line 301) | func (rd *realDecoder) getSubset(length int) (packetDecoder, error) { method getRawBytes (line 309) | func (rd *realDecoder) getRawBytes(length int) ([]byte, error) { method peek (line 322) | func (rd *realDecoder) peek(offset, length int) (packetDecoder, error) { method peekInt8 (line 330) | func (rd *realDecoder) peekInt8(offset int) (int8, error) { method push (line 340) | func (rd *realDecoder) push(in pushDecoder) error { method pop (line 363) | func (rd *realDecoder) pop() error { method metricRegistry (line 371) | func (rd *realDecoder) metricRegistry() metrics.Registry { type realFlexibleDecoder (line 27) | type realFlexibleDecoder struct method getArrayLength (line 375) | func (rd *realFlexibleDecoder) getArrayLength() (int, error) { method getEmptyTaggedFieldArray (line 388) | func (rd *realFlexibleDecoder) getEmptyTaggedFieldArray() (int, error) { method getTaggedFieldArray (line 414) | func (rd *realFlexibleDecoder) getTaggedFieldArray(decoders taggedFiel... method getBytes (line 451) | func (rd *realFlexibleDecoder) getBytes() ([]byte, error) { method getStringLength (line 461) | func (rd *realFlexibleDecoder) getStringLength() (int, error) { method getString (line 480) | func (rd *realFlexibleDecoder) getString() (string, error) { method getNullableString (line 494) | func (rd *realFlexibleDecoder) getNullableString() (*string, error) { method getInt32Array (line 509) | func (rd *realFlexibleDecoder) getInt32Array() ([]int32, error) { method getStringArray (line 530) | func (rd *realFlexibleDecoder) getStringArray() ([]string, error) { FILE: real_decoder_test.go function TestRealDecoder_getArrayLength (line 9) | func TestRealDecoder_getArrayLength(t *testing.T) { function makeInput (line 70) | func makeInput(length int) []byte { FILE: real_encoder.go type realEncoder (line 12) | type realEncoder struct method putInt8 (line 25) | func (re *realEncoder) putInt8(in int8) { method putInt16 (line 30) | func (re *realEncoder) putInt16(in int16) { method putInt32 (line 35) | func (re *realEncoder) putInt32(in int32) { method putInt64 (line 40) | func (re *realEncoder) putInt64(in int64) { method putVarint (line 45) | func (re *realEncoder) putVarint(in int64) { method putUVarint (line 49) | func (re *realEncoder) putUVarint(in uint64) { method putFloat64 (line 53) | func (re *realEncoder) putFloat64(in float64) { method putArrayLength (line 58) | func (re *realEncoder) putArrayLength(in int) error { method putBool (line 63) | func (re *realEncoder) putBool(in bool) { method putKError (line 71) | func (re *realEncoder) putKError(in KError) { method putDurationMs (line 75) | func (re *realEncoder) putDurationMs(in time.Duration) { method putRawBytes (line 81) | func (re *realEncoder) putRawBytes(in []byte) error { method putBytes (line 87) | func (re *realEncoder) putBytes(in []byte) error { method putVarintBytes (line 96) | func (re *realEncoder) putVarintBytes(in []byte) error { method putString (line 105) | func (re *realEncoder) putString(in string) error { method putNullableString (line 112) | func (re *realEncoder) putNullableString(in *string) error { method putStringArray (line 120) | func (re *realEncoder) putStringArray(in []string) error { method putInt32Array (line 135) | func (re *realEncoder) putInt32Array(in []int32) error { method putNullableInt32Array (line 146) | func (re *realEncoder) putNullableInt32Array(in []int32) error { method putInt64Array (line 161) | func (re *realEncoder) putInt64Array(in []int64) error { method putEmptyTaggedFieldArray (line 172) | func (re *realEncoder) putEmptyTaggedFieldArray() { method offset (line 175) | func (re *realEncoder) offset() int { method push (line 181) | func (re *realEncoder) push(in pushEncoder) { method pop (line 187) | func (re *realEncoder) pop() error { method metricRegistry (line 196) | func (re *realEncoder) metricRegistry() metrics.Registry { type realFlexibleEncoder (line 19) | type realFlexibleEncoder struct method putArrayLength (line 200) | func (re *realFlexibleEncoder) putArrayLength(in int) error { method putBytes (line 206) | func (re *realFlexibleEncoder) putBytes(in []byte) error { method putString (line 211) | func (re *realFlexibleEncoder) putString(in string) error { method putNullableString (line 218) | func (re *realFlexibleEncoder) putNullableString(in *string) error { method putStringArray (line 226) | func (re *realFlexibleEncoder) putStringArray(in []string) error { method putInt32Array (line 241) | func (re *realFlexibleEncoder) putInt32Array(in []int32) error { method putNullableInt32Array (line 253) | func (re *realFlexibleEncoder) putNullableInt32Array(in []int32) error { method putEmptyTaggedFieldArray (line 266) | func (re *realFlexibleEncoder) putEmptyTaggedFieldArray() { FILE: record.go constant isTransactionalMask (line 9) | isTransactionalMask = 0x10 constant controlMask (line 10) | controlMask = 0x20 constant maximumRecordOverhead (line 11) | maximumRecordOverhead = 5*binary.MaxVarintLen32 + binary.MaxVarintLen64 + 1 type RecordHeader (line 15) | type RecordHeader struct method encode (line 20) | func (h *RecordHeader) encode(pe packetEncoder) error { method decode (line 27) | func (h *RecordHeader) decode(pd packetDecoder) (err error) { type Record (line 39) | type Record struct method encode (line 50) | func (r *Record) encode(pe packetEncoder) error { method decode (line 72) | func (r *Record) decode(pd packetDecoder) (err error) { FILE: record_batch.go constant recordBatchOverhead (line 9) | recordBatchOverhead = 49 type recordsArray (line 11) | type recordsArray method encode (line 13) | func (e recordsArray) encode(pe packetEncoder) error { method decode (line 22) | func (e recordsArray) decode(pd packetDecoder) error { type RecordBatch (line 33) | type RecordBatch struct method LastOffset (line 55) | func (b *RecordBatch) LastOffset() int64 { method encode (line 59) | func (b *RecordBatch) encode(pe packetEncoder) error { method decode (line 102) | func (b *RecordBatch) decode(pd packetDecoder) (err error) { method encodeRecords (line 198) | func (b *RecordBatch) encodeRecords(pe packetEncoder) error { method computeAttributes (line 210) | func (b *RecordBatch) computeAttributes() int16 { method addRecord (line 224) | func (b *RecordBatch) addRecord(r *Record) { FILE: record_test.go function recordBatchTestCases (line 15) | func recordBatchTestCases() []struct { function TestRecordBatchEncoding (line 243) | func TestRecordBatchEncoding(t *testing.T) { function TestRecordBatchDecoding (line 249) | func TestRecordBatchDecoding(t *testing.T) { function TestRecordBatchLargeNumRecords (line 265) | func TestRecordBatchLargeNumRecords(t *testing.T) { FILE: records.go constant unknownRecords (line 6) | unknownRecords = iota constant legacyRecords (line 7) | legacyRecords constant defaultRecords (line 8) | defaultRecords constant magicOffset (line 10) | magicOffset = 16 type Records (line 14) | type Records struct method setTypeFromFields (line 31) | func (r *Records) setTypeFromFields() (bool, error) { method encode (line 45) | func (r *Records) encode(pe packetEncoder) error { method setTypeFromMagic (line 68) | func (r *Records) setTypeFromMagic(pd packetDecoder) error { method decode (line 82) | func (r *Records) decode(pd packetDecoder) error { method numRecords (line 100) | func (r *Records) numRecords() (int, error) { method isPartial (line 122) | func (r *Records) isPartial() (bool, error) { method isControl (line 146) | func (r *Records) isControl() (bool, error) { method isOverflow (line 165) | func (r *Records) isOverflow() (bool, error) { method nextOffset (line 186) | func (r *Records) nextOffset() (*int64, error) { method getControlRecord (line 206) | func (r *Records) getControlRecord() (ControlRecord, error) { function newLegacyRecords (line 20) | func newLegacyRecords(msgSet *MessageSet) Records { function newDefaultRecords (line 24) | func newDefaultRecords(batch *RecordBatch) Records { function magicValue (line 202) | func magicValue(pd packetDecoder) (int8, error) { FILE: records_test.go function TestLegacyRecords (line 11) | func TestLegacyRecords(t *testing.T) { function TestDefaultRecords (line 86) | func TestDefaultRecords(t *testing.T) { FILE: request.go type protocolBody (line 9) | type protocolBody interface type request (line 20) | type request struct method encode (line 26) | func (r *request) encode(pe packetEncoder) error { method decode (line 53) | func (r *request) decode(pd packetDecoder) (err error) { function decodeRequest (line 93) | func decodeRequest(r io.Reader) (*request, int, error) { function allocateBody (line 125) | func allocateBody(key, version int16) protocolBody { FILE: request_test.go function allocateResponseBody (line 91) | func allocateResponseBody(req protocolBody) protocolBody { function TestAllocateBodyProtocolVersions (line 183) | func TestAllocateBodyProtocolVersions(t *testing.T) { function testEncodable (line 433) | func testEncodable(t *testing.T, name string, in encoder, expect []byte) { function testDecodable (line 443) | func testDecodable(t *testing.T, name string, out decoder, in []byte) { function testVersionDecodable (line 451) | func testVersionDecodable(t *testing.T, name string, out versionedDecode... function testRequest (line 459) | func testRequest(t *testing.T, name string, rb protocolBody, expected []... function testRequestWithoutByteComparison (line 468) | func testRequestWithoutByteComparison(t *testing.T, name string, rb prot... function testRequestEncode (line 476) | func testRequestEncode(t *testing.T, name string, rb protocolBody, expec... function testRequestDecode (line 499) | func testRequestDecode(t *testing.T, name string, rb protocolBody, packe... function testResponse (line 515) | func testResponse(t *testing.T, name string, res protocolBody, expected ... function TestDecodeRequestErrorReturns (line 533) | func TestDecodeRequestErrorReturns(t *testing.T) { function nullString (line 550) | func nullString(s string) *string { return &s } FILE: response_header.go type responseHeader (line 5) | type responseHeader struct method decode (line 10) | func (r *responseHeader) decode(pd packetDecoder, version int16) (err ... FILE: response_header_test.go function TestResponseHeaderV0 (line 19) | func TestResponseHeaderV0(t *testing.T) { function TestResponseHeaderV1 (line 31) | func TestResponseHeaderV1(t *testing.T) { FILE: sarama.go type StdLogger (line 117) | type StdLogger interface type debugLogger (line 123) | type debugLogger struct method Print (line 125) | func (d *debugLogger) Print(v ...interface{}) { method Printf (line 128) | func (d *debugLogger) Printf(format string, v ...interface{}) { method Println (line 131) | func (d *debugLogger) Println(v ...interface{}) { FILE: sarama_test.go function TestMain (line 12) | func TestMain(m *testing.M) { FILE: sasl_authenticate_request.go type SaslAuthenticateRequest (line 3) | type SaslAuthenticateRequest struct method setVersion (line 9) | func (r *SaslAuthenticateRequest) setVersion(v int16) { method encode (line 13) | func (r *SaslAuthenticateRequest) encode(pe packetEncoder) error { method decode (line 17) | func (r *SaslAuthenticateRequest) decode(pd packetDecoder, version int... method key (line 23) | func (r *SaslAuthenticateRequest) key() int16 { method version (line 27) | func (r *SaslAuthenticateRequest) version() int16 { method headerVersion (line 31) | func (r *SaslAuthenticateRequest) headerVersion() int16 { method isValidVersion (line 35) | func (r *SaslAuthenticateRequest) isValidVersion() bool { method requiredVersion (line 39) | func (r *SaslAuthenticateRequest) requiredVersion() KafkaVersion { FILE: sasl_authenticate_request_test.go function TestSaslAuthenticateRequest (line 11) | func TestSaslAuthenticateRequest(t *testing.T) { function TestSaslAuthenticateRequestV1 (line 17) | func TestSaslAuthenticateRequestV1(t *testing.T) { FILE: sasl_authenticate_response.go type SaslAuthenticateResponse (line 3) | type SaslAuthenticateResponse struct method setVersion (line 12) | func (r *SaslAuthenticateResponse) setVersion(v int16) { method encode (line 16) | func (r *SaslAuthenticateResponse) encode(pe packetEncoder) error { method decode (line 30) | func (r *SaslAuthenticateResponse) decode(pd packetDecoder, version in... method key (line 52) | func (r *SaslAuthenticateResponse) key() int16 { method version (line 56) | func (r *SaslAuthenticateResponse) version() int16 { method headerVersion (line 60) | func (r *SaslAuthenticateResponse) headerVersion() int16 { method isValidVersion (line 64) | func (r *SaslAuthenticateResponse) isValidVersion() bool { method requiredVersion (line 68) | func (r *SaslAuthenticateResponse) requiredVersion() KafkaVersion { FILE: sasl_authenticate_response_test.go function TestSaslAuthenticateResponse (line 21) | func TestSaslAuthenticateResponse(t *testing.T) { function TestSaslAuthenticateResponseV1 (line 31) | func TestSaslAuthenticateResponseV1(t *testing.T) { FILE: sasl_handshake_request.go type SaslHandshakeRequest (line 3) | type SaslHandshakeRequest struct method setVersion (line 8) | func (r *SaslHandshakeRequest) setVersion(v int16) { method encode (line 12) | func (r *SaslHandshakeRequest) encode(pe packetEncoder) error { method decode (line 20) | func (r *SaslHandshakeRequest) decode(pd packetDecoder, version int16)... method key (line 28) | func (r *SaslHandshakeRequest) key() int16 { method version (line 32) | func (r *SaslHandshakeRequest) version() int16 { method headerVersion (line 36) | func (r *SaslHandshakeRequest) headerVersion() int16 { method isValidVersion (line 40) | func (r *SaslHandshakeRequest) isValidVersion() bool { method requiredVersion (line 44) | func (r *SaslHandshakeRequest) requiredVersion() KafkaVersion { FILE: sasl_handshake_request_test.go function TestSaslHandshakeRequest (line 11) | func TestSaslHandshakeRequest(t *testing.T) { FILE: sasl_handshake_response.go type SaslHandshakeResponse (line 3) | type SaslHandshakeResponse struct method setVersion (line 9) | func (r *SaslHandshakeResponse) setVersion(v int16) { method encode (line 13) | func (r *SaslHandshakeResponse) encode(pe packetEncoder) error { method decode (line 18) | func (r *SaslHandshakeResponse) decode(pd packetDecoder, version int16... method key (line 31) | func (r *SaslHandshakeResponse) key() int16 { method version (line 35) | func (r *SaslHandshakeResponse) version() int16 { method headerVersion (line 39) | func (r *SaslHandshakeResponse) headerVersion() int16 { method isValidVersion (line 43) | func (r *SaslHandshakeResponse) isValidVersion() bool { method requiredVersion (line 47) | func (r *SaslHandshakeResponse) requiredVersion() KafkaVersion { FILE: sasl_handshake_response_test.go function TestSaslHandshakeResponse (line 16) | func TestSaslHandshakeResponse(t *testing.T) { FILE: scram_formatter.go type scramFormatter (line 12) | type scramFormatter struct method mac (line 16) | func (s scramFormatter) mac(key []byte) (hash.Hash, error) { method hmac (line 32) | func (s scramFormatter) hmac(key []byte, extra []byte) ([]byte, error) { method xor (line 44) | func (s scramFormatter) xor(result []byte, second []byte) { method saltedPassword (line 50) | func (s scramFormatter) saltedPassword(password []byte, salt []byte, i... FILE: scram_formatter_test.go function TestScramSaltedPasswordSha512 (line 40) | func TestScramSaltedPasswordSha512(t *testing.T) { function TestScramSaltedPasswordSha256 (line 64) | func TestScramSaltedPasswordSha256(t *testing.T) { FILE: sticky_assignor_user_data.go type topicPartitionAssignment (line 3) | type topicPartitionAssignment struct type StickyAssignorUserData (line 8) | type StickyAssignorUserData interface type StickyAssignorUserDataV0 (line 15) | type StickyAssignorUserDataV0 struct method encode (line 21) | func (m *StickyAssignorUserDataV0) encode(pe packetEncoder) error { method decode (line 37) | func (m *StickyAssignorUserDataV0) decode(pd packetDecoder) (err error) { method partitions (line 57) | func (m *StickyAssignorUserDataV0) partitions() []topicPartitionAssign... method hasGeneration (line 58) | func (m *StickyAssignorUserDataV0) hasGeneration() bool ... method generation (line 59) | func (m *StickyAssignorUserDataV0) generation() int ... type StickyAssignorUserDataV1 (line 62) | type StickyAssignorUserDataV1 struct method encode (line 69) | func (m *StickyAssignorUserDataV1) encode(pe packetEncoder) error { method decode (line 87) | func (m *StickyAssignorUserDataV1) decode(pd packetDecoder) (err error) { method partitions (line 112) | func (m *StickyAssignorUserDataV1) partitions() []topicPartitionAssign... method hasGeneration (line 113) | func (m *StickyAssignorUserDataV1) hasGeneration() bool ... method generation (line 114) | func (m *StickyAssignorUserDataV1) generation() int ... function populateTopicPartitions (line 116) | func populateTopicPartitions(topics map[string][]int32) []topicPartition... FILE: sticky_assignor_user_data_test.go function TestStickyAssignorUserDataV0 (line 10) | func TestStickyAssignorUserDataV0(t *testing.T) { function TestStickyAssignorUserDataV1 (line 28) | func TestStickyAssignorUserDataV1(t *testing.T) { function decodeUserDataBytes (line 46) | func decodeUserDataBytes(t *testing.T, base64Data string) []byte { FILE: sync_group_request.go type SyncGroupRequestAssignment (line 3) | type SyncGroupRequestAssignment struct method encode (line 10) | func (a *SyncGroupRequestAssignment) encode(pe packetEncoder, version ... method decode (line 23) | func (a *SyncGroupRequestAssignment) decode(pd packetDecoder, version ... type SyncGroupRequest (line 36) | type SyncGroupRequest struct method setVersion (line 51) | func (s *SyncGroupRequest) setVersion(v int16) { method encode (line 55) | func (s *SyncGroupRequest) encode(pe packetEncoder) (err error) { method decode (line 85) | func (s *SyncGroupRequest) decode(pd packetDecoder, version int16) (er... method key (line 122) | func (r *SyncGroupRequest) key() int16 { method version (line 126) | func (r *SyncGroupRequest) version() int16 { method headerVersion (line 130) | func (r *SyncGroupRequest) headerVersion() int16 { method isValidVersion (line 137) | func (r *SyncGroupRequest) isValidVersion() bool { method isFlexible (line 141) | func (r *SyncGroupRequest) isFlexible() bool { method isFlexibleVersion (line 145) | func (r *SyncGroupRequest) isFlexibleVersion(version int16) bool { method requiredVersion (line 149) | func (r *SyncGroupRequest) requiredVersion() KafkaVersion { method AddGroupAssignment (line 166) | func (r *SyncGroupRequest) AddGroupAssignment(memberId string, memberA... method AddGroupAssignmentMember (line 173) | func (r *SyncGroupRequest) AddGroupAssignmentMember( FILE: sync_group_request_test.go function TestSyncGroupRequest (line 28) | func TestSyncGroupRequest(t *testing.T) { function TestSyncGroupRequestV3AndPlus (line 68) | func TestSyncGroupRequestV3AndPlus(t *testing.T) { FILE: sync_group_response.go type SyncGroupResponse (line 5) | type SyncGroupResponse struct method setVersion (line 18) | func (r *SyncGroupResponse) setVersion(v int16) { method GetMemberAssignment (line 22) | func (r *SyncGroupResponse) GetMemberAssignment() (*ConsumerGroupMembe... method encode (line 28) | func (r *SyncGroupResponse) encode(pe packetEncoder) error { method decode (line 41) | func (r *SyncGroupResponse) decode(pd packetDecoder, version int16) (e... method key (line 62) | func (r *SyncGroupResponse) key() int16 { method version (line 66) | func (r *SyncGroupResponse) version() int16 { method headerVersion (line 70) | func (r *SyncGroupResponse) headerVersion() int16 { method isValidVersion (line 77) | func (r *SyncGroupResponse) isValidVersion() bool { method isFlexible (line 81) | func (r *SyncGroupResponse) isFlexible() bool { method isFlexibleVersion (line 85) | func (r *SyncGroupResponse) isFlexibleVersion(version int16) bool { method requiredVersion (line 89) | func (r *SyncGroupResponse) requiredVersion() KafkaVersion { method throttleTime (line 106) | func (r *SyncGroupResponse) throttleTime() time.Duration { FILE: sync_group_response_test.go function TestSyncGroupResponse (line 35) | func TestSyncGroupResponse(t *testing.T) { FILE: sync_producer.go type SyncProducer (line 21) | type SyncProducer interface type syncProducer (line 61) | type syncProducer struct method SendMessage (line 118) | func (sp *syncProducer) SendMessage(msg *ProducerMessage) (partition i... method SendMessages (line 132) | func (sp *syncProducer) SendMessages(msgs []*ProducerMessage) error { method handleSuccesses (line 161) | func (sp *syncProducer) handleSuccesses() { method handleErrors (line 169) | func (sp *syncProducer) handleErrors() { method Close (line 177) | func (sp *syncProducer) Close() error { method IsTransactional (line 183) | func (sp *syncProducer) IsTransactional() bool { method BeginTxn (line 187) | func (sp *syncProducer) BeginTxn() error { method CommitTxn (line 191) | func (sp *syncProducer) CommitTxn() error { method AbortTxn (line 195) | func (sp *syncProducer) AbortTxn() error { method AddOffsetsToTxn (line 199) | func (sp *syncProducer) AddOffsetsToTxn(offsets map[string][]*Partitio... method AddMessageToTxn (line 203) | func (sp *syncProducer) AddMessageToTxn(msg *ConsumerMessage, groupId ... method TxnStatus (line 207) | func (p *syncProducer) TxnStatus() ProducerTxnStatusFlag { function NewSyncProducer (line 67) | func NewSyncProducer(addrs []string, config *Config) (SyncProducer, erro... function NewSyncProducerFromClient (line 86) | func NewSyncProducerFromClient(client Client) (SyncProducer, error) { function newSyncProducerFromAsyncProducer (line 98) | func newSyncProducerFromAsyncProducer(p *asyncProducer) *syncProducer { function verifyProducerConfig (line 108) | func verifyProducerConfig(config *Config) error { FILE: sync_producer_test.go function TestSyncProducer (line 12) | func TestSyncProducer(t *testing.T) { function TestSyncProducerTransactional (line 62) | func TestSyncProducerTransactional(t *testing.T) { function TestSyncProducerBatch (line 165) | func TestSyncProducerBatch(t *testing.T) { function TestConcurrentSyncProducer (line 213) | func TestConcurrentSyncProducer(t *testing.T) { function TestSyncProducerToNonExistingTopic (line 257) | func TestSyncProducerToNonExistingTopic(t *testing.T) { function TestSyncProducerRecoveryWithRetriesDisabled (line 289) | func TestSyncProducerRecoveryWithRetriesDisabled(t *testing.T) { function ExampleSyncProducer (line 335) | func ExampleSyncProducer() { FILE: timestamp.go type Timestamp (line 8) | type Timestamp struct method encode (line 12) | func (t Timestamp) encode(pe packetEncoder) error { method decode (line 25) | func (t Timestamp) decode(pd packetDecoder) error { FILE: tools/kafka-producer-performance/main.go function parseCompression (line 160) | func parseCompression(scheme string) sarama.CompressionCodec { function parsePartitioner (line 176) | func parsePartitioner(scheme string, partition int) sarama.PartitionerCo... function parseVersion (line 195) | func parseVersion(version string) sarama.KafkaVersion { function generateMessages (line 203) | func generateMessages(topic string, partition, messageLoad, messageSize ... function main (line 219) | func main() { function runAsyncProducer (line 318) | func runAsyncProducer(topic string, partition, messageLoad, messageSize ... function runSyncProducer (line 365) | func runSyncProducer(topic string, partition, messageLoad, messageSize, ... function printMetrics (line 424) | func printMetrics(w io.Writer, r metrics.Registry) { function printUsageErrorAndExit (line 457) | func printUsageErrorAndExit(message string) { function printErrorAndExit (line 465) | func printErrorAndExit(code int, format string, values ...interface{}) { FILE: tools/tls/config.go function NewConfig (line 5) | func NewConfig(clientCert, clientKey string) (*tls.Config, error) { FILE: transaction_manager.go type ProducerTxnStatusFlag (line 12) | type ProducerTxnStatusFlag method String (line 39) | func (s ProducerTxnStatusFlag) String() string { constant ProducerTxnFlagUninitialized (line 16) | ProducerTxnFlagUninitialized ProducerTxnStatusFlag = 1 << iota constant ProducerTxnFlagInitializing (line 18) | ProducerTxnFlagInitializing constant ProducerTxnFlagReady (line 20) | ProducerTxnFlagReady constant ProducerTxnFlagInTransaction (line 22) | ProducerTxnFlagInTransaction constant ProducerTxnFlagEndTransaction (line 24) | ProducerTxnFlagEndTransaction constant ProducerTxnFlagInError (line 26) | ProducerTxnFlagInError constant ProducerTxnFlagCommittingTransaction (line 28) | ProducerTxnFlagCommittingTransaction constant ProducerTxnFlagAbortingTransaction (line 30) | ProducerTxnFlagAbortingTransaction constant ProducerTxnFlagAbortableError (line 33) | ProducerTxnFlagAbortableError constant ProducerTxnFlagFatalError (line 36) | ProducerTxnFlagFatalError type transactionManager (line 75) | type transactionManager struct method isTransitionValid (line 186) | func (t *transactionManager) isTransitionValid(target ProducerTxnStatu... method currentTxnStatus (line 200) | func (t *transactionManager) currentTxnStatus() ProducerTxnStatusFlag { method transitionTo (line 208) | func (t *transactionManager) transitionTo(target ProducerTxnStatusFlag... method getAndIncrementSequenceNumber (line 231) | func (t *transactionManager) getAndIncrementSequenceNumber(topic strin... method bumpEpoch (line 240) | func (t *transactionManager) bumpEpoch() { method getProducerID (line 249) | func (t *transactionManager) getProducerID() (int64, int16) { method computeBackoff (line 256) | func (t *transactionManager) computeBackoff(attemptsRemaining int) tim... method isTransactional (line 266) | func (t *transactionManager) isTransactional() bool { method addOffsetsToTxn (line 271) | func (t *transactionManager) addOffsetsToTxn(offsetsToAdd map[string][... method publishOffsetsToTxn (line 297) | func (t *transactionManager) publishOffsetsToTxn(offsets topicPartitio... method initProducerId (line 477) | func (t *transactionManager) initProducerId() (int64, int16, error) { method abortableErrorIfPossible (line 587) | func (t *transactionManager) abortableErrorIfPossible(err error) error { method completeTransaction (line 596) | func (t *transactionManager) completeTransaction() error { method endTxn (line 619) | func (t *transactionManager) endTxn(commit bool) error { method finishTransaction (line 695) | func (t *transactionManager) finishTransaction(commit bool) error { method maybeAddPartitionToCurrentTxn (line 743) | func (t *transactionManager) maybeAddPartitionToCurrentTxn(topic strin... method publishTxnPartitions (line 761) | func (t *transactionManager) publishTxnPartitions() error { method initializeTransactions (line 927) | func (t *transactionManager) initializeTransactions() (err error) { constant noProducerID (line 107) | noProducerID = -1 constant noProducerEpoch (line 108) | noProducerEpoch = -1 constant addPartitionsRetryBackoff (line 111) | addPartitionsRetryBackoff = 20 * time.Millisecond type topicPartition (line 158) | type topicPartition struct type topicPartitionSet (line 165) | type topicPartitionSet method mapToRequest (line 169) | func (s topicPartitionSet) mapToRequest() map[string][]int32 { type topicPartitionOffsets (line 166) | type topicPartitionOffsets method mapToRequest (line 177) | func (s topicPartitionOffsets) mapToRequest() map[string][]*PartitionO... function newTransactionManager (line 897) | func newTransactionManager(conf *Config, client Client) (*transactionMan... FILE: transaction_manager_test.go function TestTransitions (line 12) | func TestTransitions(t *testing.T) { function TestTxnmgrInitProducerIdTxn (line 87) | func TestTxnmgrInitProducerIdTxn(t *testing.T) { function TestTxnmgrInitProducerIdTxnCoordinatorLoading (line 131) | func TestTxnmgrInitProducerIdTxnCoordinatorLoading(t *testing.T) { function TestMaybeAddPartitionToCurrentTxn (line 177) | func TestMaybeAddPartitionToCurrentTxn(t *testing.T) { function TestAddOffsetsToTxn (line 324) | func TestAddOffsetsToTxn(t *testing.T) { function TestTxnOffsetsCommit (line 497) | func TestTxnOffsetsCommit(t *testing.T) { function TestEndTxn (line 734) | func TestEndTxn(t *testing.T) { function TestPublishPartitionToTxn (line 856) | func TestPublishPartitionToTxn(t *testing.T) { FILE: txn_offset_commit_request.go type TxnOffsetCommitRequest (line 3) | type TxnOffsetCommitRequest struct method setVersion (line 12) | func (t *TxnOffsetCommitRequest) setVersion(v int16) { method encode (line 16) | func (t *TxnOffsetCommitRequest) encode(pe packetEncoder) error { method decode (line 46) | func (t *TxnOffsetCommitRequest) decode(pd packetDecoder, version int1... method key (line 92) | func (a *TxnOffsetCommitRequest) key() int16 { method version (line 96) | func (a *TxnOffsetCommitRequest) version() int16 { method headerVersion (line 100) | func (a *TxnOffsetCommitRequest) headerVersion() int16 { method isValidVersion (line 104) | func (a *TxnOffsetCommitRequest) isValidVersion() bool { method requiredVersion (line 108) | func (a *TxnOffsetCommitRequest) requiredVersion() KafkaVersion { type PartitionOffsetMetadata (line 121) | type PartitionOffsetMetadata struct method encode (line 132) | func (p *PartitionOffsetMetadata) encode(pe packetEncoder, version int... method decode (line 147) | func (p *PartitionOffsetMetadata) decode(pd packetDecoder, version int... FILE: txn_offset_commit_request_test.go function TestTxnOffsetCommitRequest (line 36) | func TestTxnOffsetCommitRequest(t *testing.T) { function TestTxnOffsetCommitRequestV2 (line 53) | func TestTxnOffsetCommitRequestV2(t *testing.T) { FILE: txn_offset_commit_response.go type TxnOffsetCommitResponse (line 7) | type TxnOffsetCommitResponse struct method setVersion (line 13) | func (t *TxnOffsetCommitResponse) setVersion(v int16) { method encode (line 17) | func (t *TxnOffsetCommitResponse) encode(pe packetEncoder) error { method decode (line 40) | func (t *TxnOffsetCommitResponse) decode(pd packetDecoder, version int... method key (line 79) | func (a *TxnOffsetCommitResponse) key() int16 { method version (line 83) | func (a *TxnOffsetCommitResponse) version() int16 { method headerVersion (line 87) | func (a *TxnOffsetCommitResponse) headerVersion() int16 { method isValidVersion (line 91) | func (a *TxnOffsetCommitResponse) isValidVersion() bool { method requiredVersion (line 95) | func (a *TxnOffsetCommitResponse) requiredVersion() KafkaVersion { method throttleTime (line 108) | func (r *TxnOffsetCommitResponse) throttleTime() time.Duration { FILE: txn_offset_commit_response_test.go function TestTxnOffsetCommitResponse (line 19) | func TestTxnOffsetCommitResponse(t *testing.T) { FILE: utils.go constant defaultRetryBackoff (line 13) | defaultRetryBackoff = 100 * time.Millisecond constant defaultRetryMaxBackoff (line 14) | defaultRetryMaxBackoff = 1000 * time.Millisecond type none (line 17) | type none struct type int32Slice (line 20) | type int32Slice method Len (line 22) | func (slice int32Slice) Len() int { method Less (line 26) | func (slice int32Slice) Less(i, j int) bool { method Swap (line 30) | func (slice int32Slice) Swap(i, j int) { function dupInt32Slice (line 34) | func dupInt32Slice(input []int32) []int32 { function withRecover (line 40) | func withRecover(fn func()) { function safeAsyncClose (line 53) | func safeAsyncClose(b *Broker) { type Encoder (line 66) | type Encoder interface type StringEncoder (line 76) | type StringEncoder method Encode (line 78) | func (s StringEncoder) Encode() ([]byte, error) { method Length (line 82) | func (s StringEncoder) Length() int { type ByteEncoder (line 88) | type ByteEncoder method Encode (line 90) | func (b ByteEncoder) Encode() ([]byte, error) { method Length (line 94) | func (b ByteEncoder) Length() int { type bufConn (line 100) | type bufConn struct method Read (line 112) | func (bc *bufConn) Read(b []byte) (n int, err error) { function newBufConn (line 105) | func newBufConn(conn net.Conn) *bufConn { type KafkaVersion (line 117) | type KafkaVersion struct method IsAtLeast (line 134) | func (v KafkaVersion) IsAtLeast(other KafkaVersion) bool { method String (line 359) | func (v KafkaVersion) String() string { function newKafkaVersion (line 123) | func newKafkaVersion(major, minor, veryMinor, patch uint) KafkaVersion { function ParseKafkaVersion (line 334) | func ParseKafkaVersion(s string) (KafkaVersion, error) { function scanKafkaVersion (line 351) | func scanKafkaVersion(s string, pattern *regexp.Regexp, format string, v... function NewExponentialBackoff (line 377) | func NewExponentialBackoff(backoff time.Duration, maxBackoff time.Durati... FILE: utils_test.go function TestVersionCompare (line 10) | func TestVersionCompare(t *testing.T) { function TestVersionParsing (line 34) | func TestVersionParsing(t *testing.T) { function TestExponentialBackoffValidCases (line 102) | func TestExponentialBackoffValidCases(t *testing.T) { function TestExponentialBackoffDefaults (line 123) | func TestExponentialBackoffDefaults(t *testing.T) { FILE: version.go function version (line 14) | func version() string { FILE: zstd.go constant zstdMaxBufferedEncoders (line 11) | zstdMaxBufferedEncoders = 1 type ZstdEncoderParams (line 13) | type ZstdEncoderParams struct type ZstdDecoderParams (line 16) | type ZstdDecoderParams struct function getZstdEncoderChannel (line 23) | func getZstdEncoderChannel(params ZstdEncoderParams) chan *zstd.Encoder { function getZstdEncoder (line 31) | func getZstdEncoder(params ZstdEncoderParams) *zstd.Encoder { function releaseEncoder (line 47) | func releaseEncoder(params ZstdEncoderParams, enc *zstd.Encoder) { function getDecoder (line 54) | func getDecoder(params ZstdDecoderParams) *zstd.Decoder { function zstdDecompress (line 65) | func zstdDecompress(params ZstdDecoderParams, dst, src []byte) ([]byte, ... function zstdCompress (line 69) | func zstdCompress(params ZstdEncoderParams, dst, src []byte) ([]byte, er... FILE: zstd_test.go function BenchmarkZstdMemoryConsumption (line 10) | func BenchmarkZstdMemoryConsumption(b *testing.B) {