MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,900 in github.com/IBM/sarama

↓ 2 callersMethodLess
(i, j int)
utils.go:26
↓ 2 callersMethodListConsumerGroupOffsetsBatch
ListConsumerGroupOffsetsBatch fetches committed offsets for multiple consumer groups in a single round trip per coordinator using OffsetFetch v8+ (KIP
admin.go:142
↓ 2 callersMethodListGroups
ListGroups return a list group response or error
broker.go:698
↓ 2 callersMethodListOffsets
ListOffsets lists offsets for the specified topic partitions. Each value is OffsetNewest, OffsetOldest, or a timestamp in milliseconds. Results are ke
admin.go:151
↓ 2 callersMethodLogin
()
gssapi_kerberos.go:55
↓ 2 callersMethodLogin
Login will use the given KerberosClient to login and get a ticket for the given spn.
gssapi_kerberos.go:216
↓ 2 callersMethodName
()
functional_consumer_group_java_interop_test.go:438
↓ 2 callersFunctionNewConsumerGroupMetadataFromSession
NewConsumerGroupMetadataFromSession builds metadata from a live consumer group session, copying the member ID and generation ID so the broker can fenc
consumer_group_metadata.go:33
↓ 2 callersFunctionNewCreateTopicsRequest
( version KafkaVersion, topicDetails map[string]*TopicDetail, timeout time.Duration, validateOnly bool, )
create_topics_request.go:23
↓ 2 callersFunctionNewCustomHashPartitioner
NewCustomHashPartitioner is a wrapper around NewHashPartitioner, allowing the use of custom hasher. The argument is a function providing the instance,
partitioner.go:145
↓ 2 callersFunctionNewCustomPartitioner
NewCustomPartitioner creates a default Partitioner but lets you specify the behavior of each component via options
partitioner.go:157
↓ 2 callersFunctionNewDeleteTopicsRequest
(version KafkaVersion, topics []string, timeout time.Duration)
delete_topics_request.go:15
↓ 2 callersFunctionNewJoinGroupRequest
(version KafkaVersion)
join_group_request.go:68
↓ 2 callersFunctionNewMockAlterConfigsResponse
(t TestReporter)
mockresponses.go:1025
↓ 2 callersFunctionNewMockAlterPartitionReassignmentsResponse
(t TestReporter)
mockresponses.go:817
↓ 2 callersFunctionNewMockBrokerListener
NewMockBrokerListener behaves like newMockBrokerAddr but accepts connections on the listener specified.
mockbroker.go:440
↓ 2 callersFunctionNewMockDescribeLogDirsResponse
(t TestReporter)
mockresponses.go:1490
↓ 2 callersFunctionNewMockElectLeadersResponse
(t TestReporter)
mockresponses.go:854
↓ 2 callersFunctionNewMockIncrementalAlterConfigsResponse
(t TestReporter)
mockresponses.go:1070
↓ 2 callersFunctionNewMockListPartitionReassignmentsResponse
(t TestReporter)
mockresponses.go:832
↓ 2 callersFunctionNewMurmur2Partitioner
NewMurmur2Partitioner returns a Partitioner that replicates the partitioning behavior of the Apache Kafka Java client's DefaultPartitioner. It uses th
partitioner.go:263
↓ 2 callersFunctionNewOffsetCommitRequest
NewOffsetCommitRequest creates an OffsetCommitRequest with the highest version conf.Version allows and the retention time from conf.Consumer.Offsets.R
offset_commit_request.go:89
↓ 2 callersFunctionNewOffsetRequest
(version KafkaVersion)
offset_request.go:61
↓ 2 callersFunctionNewRoundRobinPartitioner
NewRoundRobinPartitioner returns a Partitioner which walks through the available partitions one at a time.
partitioner.go:118
↓ 2 callersFunctionNewTopicConfig
NewTopicConfig makes a configuration which defaults to 32 partitions for every topic.
mocks/mocks.go:74
↓ 2 callersMethodOwned
()
functional_consumer_group_java_interop_test.go:439
↓ 2 callersMethodPauseAll
PauseAll suspends fetching from all partitions. Future calls to the broker will not return any records from these partitions until they have been resu
consumer.go:92
↓ 2 callersMethodProduce
Produce returns a produce response or error
broker.go:578
↓ 2 callersMethodRefreshController
RefreshController retrieves the cluster controller from fresh metadata and stores it in the local cache. Requires Kafka 0.10 or higher.
client.go:36
↓ 2 callersMethodResumeAll
ResumeAll resumes all partitions which have been paused with Pause()/PauseAll(). New calls to the broker will return records from these partitions if
consumer.go:96
↓ 2 callersMethodRevokedPartitions
()
functional_consumer_group_java_interop_test.go:440
↓ 2 callersMethodSendMessageContext
SendMessageContext corresponds with the SendMessageContext method of sarama's SyncProducer implementation. If ctx is already done it uses no expectati
mocks/sync_producer.go:145
↓ 2 callersMethodSendMessagesContext
SendMessagesContext corresponds with the SendMessagesContext method of sarama's SyncProducer implementation. If ctx is already done and msgs is not em
mocks/sync_producer.go:157
↓ 2 callersMethodSetLogDirs
(logDirPath string, topicPartitions map[string]int)
mockresponses.go:1494
↓ 2 callersMethodSetMessageWithKey
(topic string, partition int32, offset int64, key, msg Encoder)
mockresponses.go:370
↓ 2 callersMethodSetReplicaID
(id int32)
offset_request.go:246
↓ 2 callersMethodSetSessionLifetimeMs
(sessionLifetimeMs int64)
mockresponses.go:1219
↓ 2 callersMethodSyncGroup
SyncGroup returns a sync group response or error
broker.go:662
↓ 2 callersMethodTopics
Topics returns a list of topics, as registered with SetTopicMetadata
mocks/consumer.go:71
↓ 2 callersMethodUnmarshalText
UnmarshalText takes a text representation of the resource type and converts it to an AclResourceType
acl_types.go:181
↓ 2 callersMethodUnwrap
()
errors.go:142
↓ 2 callersMethodabandonBrokerConsumer
(brokerWorker *brokerConsumer)
consumer.go:286
↓ 2 callersMethodabort
(err error)
consumer.go:1301
↓ 2 callersFunctionacquireCrc32Field
(polynomial crcPolynomial)
crc32_field.go:19
↓ 2 callersMethodaddChild
(child *partitionConsumer)
consumer.go:228
↓ 2 callersMethodaddError
addError adds an error for a topic to the set. The wrap preserves the underlying error for errors.Is/As.
metadata.go:17
↓ 2 callersMethodaddMessage
(msg *Message)
message_set.go:108
↓ 2 callersFunctionallocateResponseBody
allocateResponseBody returns a fresh response struct for the given api key and version, or nil when the key is unknown. Not used at runtime, but mirro
request.go:256
↓ 2 callersMethodanyPartition
(predicate func(topic string, partition int32, pSet *partitionSet) bool)
produce_set.go:300
↓ 2 callersFunctionareSubscriptionsIdentical
(partition2AllPotentialConsumers map[topicPartitionAssignment][]string, consumer2AllPotentialPartitions map[st
balance_strategy.go:829
↓ 2 callersMethodassign
(topic string, partition int32)
functional_consumer_group_java_interop_test.go:69
↓ 2 callersFunctionassignPartition
The assignment should improve the overall balance of the partition assignments to consumers.
balance_strategy.go:665
↓ 2 callersMethodauthenticateViaSASLv1
()
broker.go:1583
↓ 2 callersMethodbackoff
(retries int)
async_producer.go:805
↓ 2 callersMethodbackoff
(retries int)
async_producer.go:809
↓ 2 callersMethodbackoffCommit
backoffCommit waits between attempts at a final commit (otherwise a coordinator that is still loading rejects every attempt within milliseconds and th
offset_manager.go:523
↓ 2 callersMethodbackoffs
backoffs returns each backoff the offset manager asked for, in order
offset_manager_test.go:1567
↓ 2 callersFunctionbuildClientFirstMessage
Build SASL/OAUTHBEARER initial client response as described by RFC-7628 https://tools.ietf.org/html/rfc7628
broker.go:1924
↓ 2 callersMethodbumpEpoch
()
transaction_manager.go:272
↓ 2 callersMethodcachedController
()
client.go:1218
↓ 2 callersMethodcachedPartitions
(topic string, partitionSet partitionType)
client.go:842
↓ 2 callersFunctioncanConsumerParticipateInReassignment
Determine whether a specific consumer should be considered for topic partition assignment.
balance_strategy.go:640
↓ 2 callersFunctioncanTopicPartitionParticipateInReassignment
Only consider reassigning those topic partitions that have two or more potential consumers.
balance_strategy.go:660
↓ 2 callersMethodcheckBrokersHealth
()
client.go:692
↓ 2 callersMethodclear
()
async_producer.go:416
↓ 2 callersFunctioncloneAssignment
(in map[string][]int32)
functional_consumer_group_java_interop_test.go:304
↓ 2 callersMethodclose
close shuts down the muter, waking any goroutines blocked in waitUntilMuted.
async_producer.go:271
↓ 2 callersMethodcommitted
()
offset_manager_test.go:1592
↓ 2 callersMethodcomputeBackoff
()
consumer.go:556
↓ 2 callersMethodcomputeBackoff
(retries, maxRetries int)
offset_manager.go:144
↓ 2 callersMethodconstructRequestFor
constructRequestFor also returns the version of each POM it took an offset from
offset_manager.go:361
↓ 2 callersFunctionconsumerGroupDescribeResponseFixture
These wire fixtures follow Apache Kafka's ConsumerGroupDescribe schema. Tagged fields occur at every struct boundary, including both assignments.
consumer_group_describe_response_test.go:15
↓ 2 callersMethodcoordinator
()
offset_manager.go:223
↓ 2 callersMethodcopyFunc
(predicate func(topic string, partition int32) bool)
produce_set.go:170
↓ 2 callersFunctioncountHistogramValidator
(name string, expectedCount int)
metrics_helpers_test.go:84
↓ 2 callersFunctioncountMeterValidator
(name string, expectedCount int)
metrics_helpers_test.go:60
↓ 2 callersFunctioncounterValidator
(name string, expectedCount int)
metrics_helpers_test.go:109
↓ 2 callersMethodcrc
(curOffset int, buf []byte)
crc32_field.go:76
↓ 2 callersFunctioncreateTlsConfiguration
()
examples/http_server/http_server.go:62
↓ 2 callersFunctioncurrentUnixMilli
()
broker.go:1791
↓ 2 callersMethoddecode
(pd packetDecoder)
records.go:82
↓ 2 callersMethoddecode
(key, value packetDecoder)
control_record.go:24
↓ 2 callersMethoddecodeSet
decodes a message set from a previously encoded bulk-message
message.go:186
↓ 2 callersFunctiondecodeUserDataBytes
(t *testing.T, base64Data string)
sticky_assignor_user_data_test.go:46
↓ 2 callersFunctiondeepCopyAssignment
(assignment map[string][]topicPartitionAssignment)
balance_strategy.go:821
↓ 2 callersFunctiondeserializeTopicPartitionAssignment
Deserialize topic partition assignment data to aid with creation of a sticky assignment.
balance_strategy.go:677
↓ 2 callersMethoddropPartition
(topic string, partition int32)
produce_set.go:311
↓ 2 callersMethodencode
(pe packetEncoder)
list_transactions_request.go:55
↓ 2 callersMethodendTxn
send EndTxn request with commit flag. (true when committing false otherwise)
transaction_manager.go:707
↓ 2 callersMethodensureEncoded
()
examples/http_server/http_server.go:154
↓ 2 callersFunctionerrorForTopics
(topics []string, err error)
metadata.go:56
↓ 2 callersFunctionfilterAssignedPartitions
filterAssignedPartitions returns a map of consumer group members to their list of previously-assigned topic partitions, limited to those topic partiti
balance_strategy.go:691
↓ 2 callersMethodfindCoordinator
(coordinatorKey string, coordinatorType CoordinatorType, attemptsRemaining int)
client.go:1245
↓ 2 callersMethodfinishTransaction
(commit bool)
async_producer.go:536
↓ 2 callersMethodflushRetryBuffers
()
async_producer.go:922
↓ 2 callersMethodflushToBroker
()
offset_manager.go:305
↓ 2 callersMethodflushToBrokerFor
(targets partitionTargets)
offset_manager.go:309
↓ 2 callersMethodforTopics
(topics []string)
metadata.go:33
↓ 2 callersFunctionfuzzPanic
fuzzPanic turns any panic during decode into a test failure. Decode errors are an acceptable outcome for arbitrary input; panics, OOB slice access, an
encoder_decoder_fuzz_test.go:10
↓ 2 callersFunctiongenerateMessages
(topic string, partition, messageLoad, messageSize int)
tools/kafka-producer-performance/main.go:203
← previousnext →601–700 of 3,900, ranked by callers