MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,900 in github.com/IBM/sarama

↓ 1 callersMethodUnregister
(name string)
metrics.go:104
↓ 1 callersFunctionWithCustomFallbackPartitioner
WithCustomFallbackPartitioner lets you specify what HashPartitioner should be used in case a Distribution Key is empty
partitioner.go:74
↓ 1 callersFunctionWithCustomHashFunction
WithCustomHashFunction lets you specify what hash function to use for the partitioning
partitioner.go:67
↓ 1 callersFunctionWithHashUnsigned
WithHashUnsigned means the partitioner treats the hashed value as unsigned when partitioning. This is intended to be combined with the crc32 hash alg
partitioner.go:60
↓ 1 callersMethodZeroPartitions
()
offset_fetch_request.go:334
↓ 1 callersFunctionacquireLengthField
()
length_field.go:16
↓ 1 callersMethodaddOffsetsToTxn
add specified offsets to current transaction.
transaction_manager.go:303
↓ 1 callersMethodaddPartitionMovementRecord
(partition topicPartitionAssignment, pair consumerPair)
balance_strategy.go:1016
↓ 1 callersFunctionaddResetPeerToxic
(t testing.TB, proxy *toxiproxy.Proxy)
functional_test.go:496
↓ 1 callersMethodaddTopics
addTopics adds topics to the refresh. You need to hold the lock to call this method.
metadata.go:111
↓ 1 callersMethodaddTopics
(topics []string)
metadata.go:125
↓ 1 callersMethodaddTopicsFrom
addTopicsFrom adds topics from the next refresh to the current refresh. You need to hold the lock to call this method.
metadata.go:88
↓ 1 callersFunctionadjustCooperativeAssignment
adjustCooperativeAssignment withholds partitions until their old owner revokes them
balance_strategy_cooperative_sticky.go:59
↓ 1 callersMethodadjustLength
Called during pop() to adjust the length of the field. It should return the difference in bytes between the last computed length and current length.
packet_encoder.go:75
↓ 1 callersMethodallPartitionsInTxn
allPartitionsInTxn reports whether every partition in the set has been added to the current transaction.
transaction_manager.go:874
↓ 1 callersMethodappendGSSAPIHeader
Append the GSS-API header to the payload, conforming to RFC-2743 Section 3.1, Mechanism-Independent Token Format https://tools.ietf.org/html/rfc2743#
gssapi_kerberos.go:155
↓ 1 callersFunctionassertGroupOffset
assertGroupOffset asserts result has groupID with the expected offset at topic/partition.
admin_test.go:2597
↓ 1 callersFunctionassertMessageKey
(t *testing.T, msg *ConsumerMessage, expectedKey Encoder)
consumer_test.go:2153
↓ 1 callersFunctionassertMessageValue
(t *testing.T, msg *ConsumerMessage, expectedValue Encoder)
consumer_test.go:2162
↓ 1 callersFunctionassertRecordType
(t *testing.T, r *ControlRecord, expected ControlRecordType)
control_record_test.go:44
↓ 1 callersMethodasyncClosePOMs
()
offset_manager.go:474
↓ 1 callersMethodauthenticateViaSASLv0
()
broker.go:1572
↓ 1 callersMethodawaitClaims
claims resolve their start offsets when created, so wait for all of them before producing to a randomly selected partition
functional_producer_test.go:388
↓ 1 callersFunctionawaitMuterBlocked
(t *testing.T, m *partitionMuter, set *produceSet)
async_producer_test.go:2025
↓ 1 callersMethodbalance
(strategy BalanceStrategy, members map[string]ConsumerGroupMemberMetadata)
consumer_group.go:747
↓ 1 callersMethodbalance
Balance assignments across consumers for maximum fairness and stickiness.
balance_strategy.go:348
↓ 1 callersMethodblockNextSync
()
consumer_group_cooperative_test.go:237
↓ 1 callersMethodborrow
()
examples/txn_producer/main.go:193
↓ 1 callersMethodborrow
(topic string, partition int32)
examples/exactly_once/main.go:338
↓ 1 callersFunctionboundedDecompress
boundedDecompress reads from a streaming decompressor into a pooled buffer, capping the read at limit+1 bytes so an oversized batch is caught before i
decompress.go:47
↓ 1 callersFunctionboundedSnappyDecode
boundedSnappyDecode decodes xerial/snappy into a capped buffer grown on demand up to limit. DecodeCapped returns ErrDstTooSmall rather than writing pa
decompress.go:73
↓ 1 callersFunctionboundedZstdDecode
boundedZstdDecode decodes into a pooled buffer using a decoder whose max memory is capped at limit, so an oversized frame fails without allocating its
decompress.go:115
↓ 1 callersFunctionbuildTargetAssignment
buildTargetAssignment grows each partition's replica list to targetRF by appending the least-used broker IDs not already in the partition's list. Exis
examples/alter_partition_reassignments/main.go:149
↓ 1 callersMethodbumpIdempotentProducerEpoch
()
async_producer.go:1741
↓ 1 callersMethodcachedCoordinator
(consumerGroup string)
client.go:1200
↓ 1 callersMethodcachedLeader
(topic string, partitionID int32)
client.go:873
↓ 1 callersMethodcachedMetadata
(topic string, partitionID int32)
client.go:830
↓ 1 callersMethodcachedTransactionCoordinator
(transactionID string)
client.go:1209
↓ 1 callersMethodcheck
Indicates that all required data is now available to calculate and check the field. SaveOffset is guaranteed to have been called first. The implementa
packet_decoder.go:71
↓ 1 callersMethodcheckSeedBrokersHealth
(brokers []*Broker)
client.go:679
↓ 1 callersMethodchooseStartingOffset
(offset int64)
consumer.go:704
↓ 1 callersMethodclaimCount
(topic string, partition int32)
functional_consumer_group_java_interop_test.go:431
↓ 1 callersMethodclear
()
metadata.go:136
↓ 1 callersMethodclear
clear clears the refresh state. You need to hold the lock to call this method.
metadata.go:190
↓ 1 callersMethodclear
()
examples/txn_producer/main.go:225
↓ 1 callersMethodclear
()
examples/exactly_once/main.go:372
↓ 1 callersMethodcollectQueryStringData
()
examples/http_server/http_server.go:118
↓ 1 callersMethodcomparedValue
()
balance_strategy.go:479
↓ 1 callersMethodcomputeAttributes
()
record_batch.go:257
↓ 1 callersMethodcomputeSaslSessionLifetime
(res *SaslAuthenticateResponse)
broker.go:1957
↓ 1 callersFunctionconsMsg2Str
(consMsg *ConsumerMessage)
functional_consumer_test.go:497
↓ 1 callersMethodconsume
(ctx context.Context, topic string, partition int32)
consumer_group_session.go:299
↓ 1 callersMethodconsumeCooperative
consumeCooperative keeps one session while its assignment changes
consumer_group_cooperative.go:11
↓ 1 callersFunctionconsumeKeyedFromPartition
consumeKeyedFromPartition consumes up to count messages from a specific partition, returning them as key+value pairs.
functional_java_interop_test.go:370
↓ 1 callersFunctionconsumeWithJava
(t *testing.T, topic string, startOffset int64, count int)
functional_java_interop_test.go:134
↓ 1 callersFunctionconsumeWithSarama
(t *testing.T, topic string, startOffset int64, count int)
functional_java_interop_test.go:85
↓ 1 callersFunctionconvertDescribeClusterBrokers
(entries []*DescribeClusterBroker)
admin.go:458
↓ 1 callersMethodcreateKrb5Token
Construct Kerberos AP_REQ package, conforming to RFC-4120 https://tools.ietf.org/html/rfc4120#page-84
gssapi_kerberos.go:117
↓ 1 callersMethodcreateSaslAuthenticateRequest
(msg []byte)
broker.go:1911
↓ 1 callersFunctioncreateTLSConfiguration
()
examples/sasl_scram_client/main.go:37
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
alter_configs_request.go:98
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
offset_commit_request.go:40
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
api_versions_response.go:34
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
alter_client_quotas_request.go:117
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
alter_client_quotas_request.go:184
↓ 1 callersMethoddecode
(pd packetDecoder)
alter_partition_reassignments_response.go:20
↓ 1 callersMethoddecode
(pd packetDecoder)
alter_partition_reassignments_request.go:16
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
fetch_request.go:37
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
offset_request.go:28
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
describe_groups_response.go:174
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
describe_groups_response.go:271
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
metadata_response.go:25
↓ 1 callersMethoddecode
(pd packetDecoder)
list_partition_reassignments_response.go:27
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
describe_client_quotas_request.go:132
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
incremental_alter_configs_request.go:106
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
incremental_alter_configs_request.go:159
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
describe_cluster_response.go:158
↓ 1 callersMethoddecode
(pd packetDecoder)
join_group_request.go:10
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
describe_log_dirs_response.go:159
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
describe_log_dirs_response.go:231
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
describe_log_dirs_response.go:288
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
describe_configs_response.go:237
↓ 1 callersMethoddecode
https://cwiki.apache.org/confluence/display/KAFKA/KIP-226+-+Dynamic+Broker+Configuration
describe_configs_response.go:327
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
alter_client_quotas_response.go:107
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
sync_group_request.go:23
↓ 1 callersMethoddecode
(pd packetDecoder, version int16)
describe_client_quotas_response.go:148
↓ 1 callersMethoddeleteRecordsFromLeaders
deleteRecordsFromLeaders sends a DeleteRecords request to each partition leader and returns the error for each partition that failed
admin.go:795
↓ 1 callersMethoddescribeClusterUsingAPI
()
admin.go:410
↓ 1 callersMethoddescribeClusterUsingMetadata
()
admin.go:439
↓ 1 callersFunctiondescribeTopic
describeTopic returns the current replica set for every partition, indexed by partition ID. The inner slice mirrors what Kafka stores: an ordered list
examples/alter_partition_reassignments/main.go:122
↓ 1 callersFunctiondiffClaims
diffClaims returns the claims in a that are absent from b.
consumer_group_cooperative.go:146
↓ 1 callersMethoddispatch
()
consumer.go:682
↓ 1 callersFunctiondoListenerTLSTest
(t *testing.T, expectSuccess bool, serverConfig, clientConfig *tls.Config)
client_tls_test.go:185
↓ 1 callersFunctiondowngradeFlexibleDecoder
(pd packetDecoder)
encoder_decoder.go:139
↓ 1 callersFunctiondowngradeFlexibleEncoder
(pe packetEncoder)
encoder_decoder.go:146
↓ 1 callersFunctiondupInt32Slice
(input []int32)
utils.go:34
↓ 1 callersFunctionelectPreferredLeaders
(partitions map[string][]int32)
functional_test.go:584
↓ 1 callersMethodenableThrottleWaits
enableThrottleWaits enables throttle waits for a newly opened connection without discarding the remaining broker-provided throttle duration.
broker.go:2114
↓ 1 callersMethodencode
(pe packetEncoder)
find_coordinator_response.go:56
↓ 1 callersMethodencode
(key, value packetEncoder)
control_record.go:63
← previousnext →1,001–1,100 of 3,900, ranked by callers