MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,900 in github.com/IBM/sarama

↓ 2 callersMethodgeneration
()
sticky_assignor_user_data.go:11
↓ 2 callersMethodgetAndAddSequenceNumbers
getAndAddSequenceNumbers reserves n sequence numbers for the partition and returns the first, with the producer id and epoch they belong to. All three
transaction_manager.go:263
↓ 2 callersMethodgetDialer
()
config.go:943
↓ 2 callersMethodgetFloat64
()
packet_decoder.go:23
↓ 2 callersMethodgetInt16
()
real_decoder.go:43
↓ 2 callersMethodgetInt32
()
real_decoder.go:53
↓ 2 callersMethodgetInt64Array
()
packet_decoder.go:40
↓ 2 callersMethodgetNullableInt32Array
()
real_decoder.go:236
↓ 2 callersMethodgetNullableInt32Array
()
real_decoder.go:564
↓ 2 callersMethodgetNullableInt64Array
()
real_decoder.go:598
↓ 2 callersFunctiongetOrRegisterTopicMeter
(name string, topic string, r metrics.Registry)
metrics.go:38
↓ 2 callersMethodgetPartitions
(topic string, pt partitionType)
client.go:385
↓ 2 callersMethodgetSockError
()
broker.go:163
↓ 2 callersMethodgetStringLength
()
real_decoder.go:195
↓ 2 callersMethodgetStringLength
()
real_decoder.go:508
↓ 2 callersMethodgetVarint
()
packet_decoder.go:21
↓ 2 callersMethodgetVarintBytes
()
packet_decoder.go:33
↓ 2 callersFunctiongetZstdEncoder
(params ZstdEncoderParams)
zstd.go:61
↓ 2 callersFunctiongetZstdEncoderChannel
getZstdEncoderChannel returns the buffered channel that retains idle zstd encoders for the given params. The slow path holds a single global mutex and
zstd.go:33
↓ 2 callersMethodhandleError
(err error)
offset_manager.go:774
↓ 2 callersMethodhandleError
(sent *produceSet, err error)
async_producer.go:1579
↓ 2 callersMethodheartbeatMembers
heartbeatMembers returns the member id of each heartbeat received.
consumer_group_cooperative_test.go:105
↓ 2 callersMethodinitSecContext
( client KerberosClient, bytes []byte, )
gssapi_kerberos.go:167
↓ 2 callersMethodisFlexibleVersion
(version int16)
metadata_request.go:195
↓ 2 callersMethodisMuted
isMuted reports whether the partition has an in-flight batch. Requires: m.mu held.
async_producer.go:147
↓ 2 callersMethodisOverflow
()
records.go:165
↓ 2 callersFunctionisRetriableBrokerError
isRetriableBrokerError returns `true` if the given error is a retryable transport error or a timeout.
admin.go:286
↓ 2 callersFunctionisRetriableControllerError
isRetriableControllerError returns `true` if the given error type unwraps to an `ErrNotController` response from Kafka or to a connection error, eithe
admin.go:261
↓ 2 callersFunctionisRetriableTransactionCoordinatorError
isRetriableTransactionCoordinatorError reports whether the given error is a transaction-coordinator error that refreshing the coordinator and retrying
admin_transactions.go:224
↓ 2 callersMethodisTransactional
return true is txnmngr is transactinal.
transaction_manager.go:298
↓ 2 callersMethodisValidVersion
()
consumer_group_describe_response.go:390
↓ 2 callersMethodisValidVersion
()
consumer_group_describe_request.go:67
↓ 2 callersFunctionjoinGroupRequests
joinGroupRequests filters the broker history down to the JoinGroup requests.
consumer_group_test.go:296
↓ 2 callersFunctionlistOffsetsAndValidate
( t *testing.T, adminClient ClusterAdmin, topic string, partitionsCount int32, offsetQuery int64, expect
functional_admin_test.go:94
↓ 2 callersMethodmac
(key []byte)
scram_formatter.go:16
↓ 2 callersFunctionmagicValue
(pd packetDecoder)
records.go:224
↓ 2 callersFunctionmakeResponsePromise
(res protocolBody)
broker.go:1160
↓ 2 callersMethodmanageClaims
(claims map[string][]int32)
consumer_group_session.go:167
↓ 2 callersMethodmapToRequest
()
transaction_manager.go:198
↓ 2 callersMethodmaybeAddPartitionToCurrentTxn
called before sending any transactional record won't do anything if current topic-partition is already added to transaction.
transaction_manager.go:855
↓ 2 callersMethodmaybeCloseLocked
maybeCloseLocked closes on transport errors and reports whether a close was performed. NOTE: caller must hold b.lock.
broker.go:394
↓ 2 callersMethodmaybeTransitionToErrorState
(err error)
async_producer.go:1757
↓ 2 callersFunctionmemberData
memberData reads cooperative ownership from the subscription metadata
balance_strategy.go:883
↓ 2 callersFunctionmeterValidator
(name string, extraValidator func(*testing.T, metrics.Meter))
metrics_helpers_test.go:46
↓ 2 callersFunctionminCountMeterValidator
(name string, minCount int)
metrics_helpers_functional_test.go:16
↓ 2 callersFunctionmockGroupCoordinators
mockGroupCoordinators builds a FindCoordinator handler placing every named group on coordinator.
admin_test.go:2587
↓ 2 callersFunctionmurmur2
murmur2 implements the same hashing algorithm used by the Apache Kafka Java client's DefaultPartitioner (org.apache.kafka.common.utils.Utils.murmur2).
murmur2.go:13
↓ 2 callersMethodmutePartition
mutePartition increments the in-flight count for a single partition. Requires: m.mu held.
async_producer.go:161
↓ 2 callersMethodmuteSet
muteSet increments the in-flight count for all partitions in the set. Requires: m.mu held.
async_producer.go:170
↓ 2 callersMethodneedsRetry
(msg *ProducerMessage)
async_producer.go:1318
↓ 2 callersFunctionnewAssignmentTracker
(t *testing.T, name string)
functional_consumer_group_java_interop_test.go:57
↓ 2 callersFunctionnewAsyncProducer
(client Client)
async_producer.go:301
↓ 2 callersFunctionnewConsumerGroup
(groupID string, client Client)
consumer_group.go:156
↓ 2 callersFunctionnewCooperativeBroker
(t *testing.T, coord *mockCooperativeCoordinator, partitions int32)
consumer_group_cooperative_test.go:391
↓ 2 callersFunctionnewJoinSyncConsumerGroup
newJoinSyncConsumerGroup starts a mock broker that answers the join/sync flow with the given responses and returns the group wired to it.
consumer_group_test.go:266
↓ 2 callersFunctionnewLoadingCommitResponse
()
offset_manager_test.go:1554
↓ 2 callersMethodnewSession
(ctx context.Context, topics []string, handler ConsumerGroupHandler, retries int)
consumer_group.go:555
↓ 2 callersFunctionnewSyncProducerFromAsyncProducer
(p *asyncProducer)
sync_producer.go:142
↓ 2 callersFunctionnewTestAdmin
newTestAdmin builds a V2.1 ClusterAdmin against the given seed broker with retry backoff disabled and auto-cleanup.
admin_test.go:2568
↓ 2 callersFunctionnewTokenProvider
(token *AccessToken, err error)
broker_test.go:768
↓ 2 callersFunctionnotSubmittedError
(err error)
sync_producer.go:266
↓ 2 callersMethodnotify
()
functional_consumer_group_java_interop_test.go:89
↓ 2 callersFunctionownedTopicPartitions
(owned []*OwnedPartition)
balance_strategy.go:908
↓ 2 callersMethodpartitioner
(topic string)
mocks/sync_producer.go:168
↓ 2 callersFunctionpopulateTopicPartitions
(topics map[string][]int32)
sticky_assignor_user_data.go:139
↓ 2 callersMethodpreferredBroker
()
consumer.go:643
↓ 2 callersFunctionprepareFlexibleDecoder
(pd *realDecoder, in versionedDecoder, version int16)
encoder_decoder.go:118
↓ 2 callersFunctionprepareFlexibleEncoder
(pe packetEncoder, req encoder)
encoder_decoder.go:125
↓ 2 callersFunctionprepopulateCurrentAssignments
We need to process subscriptions' user data with each consumer's reported generation in mind higher generations overwrite lower generations in case of
balance_strategy.go:921
↓ 2 callersFunctionproduceMessagesForPartitions
(t *testing.T, client Client, topic string, partitionsCount int32, messagesPerPartition int, baseTimestamp int
functional_admin_test.go:68
↓ 2 callersMethodpublishTxnPartitions
Makes a request to kafka to add a list of partitions to the current transaction.
transaction_manager.go:885
↓ 2 callersMethodputArrayLength
(in int)
prep_encoder.go:199
↓ 2 callersMethodputArrayLength
(in int)
real_encoder.go:204
↓ 2 callersMethodputFloat64
(in float64)
packet_encoder.go:20
↓ 2 callersMethodputInt64Array
(in []int64)
packet_encoder.go:35
↓ 2 callersMethodputRawBytes
(in []byte)
prep_encoder.go:93
↓ 2 callersMethodputString
(in string)
prep_encoder.go:114
↓ 2 callersMethodputString
(in string)
prep_encoder.go:213
↓ 2 callersMethodputString
(in string)
real_encoder.go:109
↓ 2 callersMethodputString
(in string)
real_encoder.go:219
↓ 2 callersMethodputVarintBytes
(in []byte)
packet_encoder.go:28
↓ 2 callersMethodrandomizeSeedBrokers
private broker management helpers
client.go:672
↓ 2 callersMethodreadPackage
readPackage reads payload length (4 bytes) and then reads the payload into []byte
gssapi_kerberos.go:82
↓ 2 callersMethodreassignPartition
Reassign a specific partition to a new consumer
balance_strategy.go:621
↓ 2 callersFunctionrecordBatchTestCases
()
record_test.go:17
↓ 2 callersMethodrecordSessionCause
recordSessionCause keeps the reason for the next JoinGroup or LeaveGroup request
consumer_group.go:280
↓ 2 callersFunctionredirectLogger
redirectLogger sends Logger output to w for the rest of the test. It prefers (*log.Logger).SetOutput so leftover goroutines from other tests (for exam
sarama_test.go:24
↓ 2 callersMethodrefreshController
()
admin.go:254
↓ 2 callersMethodrefreshControllerMetadata
refreshControllerMetadata refreshes the metadata the controller comes from. With Metadata.Full disabled and no tracked topics it asks for no topics, w
client.go:977
↓ 2 callersMethodrefreshMetadata
()
client.go:954
↓ 2 callersMethodregisterBroker
registerBroker makes sure a broker received by a Metadata or Coordinator request is registered in the brokers map. It returns the broker that is regis
client.go:739
↓ 2 callersMethodregisterForAllBrokers
(broker *Broker, validator *metricValidator)
metrics_helpers_test.go:29
↓ 2 callersMethodregisterForGlobalAndTopic
(topic string, validator *metricValidator)
metrics_helpers_functional_test.go:11
↓ 2 callersMethodregisterHistogram
(name string)
broker.go:2155
↓ 2 callersMethodregisterMeter
(name string)
broker.go:2150
↓ 2 callersMethodrelease
()
offset_manager.go:788
↓ 2 callersFunctionreleaseCrc32Field
(c *crc32Field)
crc32_field.go:29
↓ 2 callersMethodreleasePOMs
Releases/removes closed POMs once they are clean (or when forced)
offset_manager.go:530
↓ 2 callersMethodreleaseSelectedPOMs
releaseSelectedPOMs holds the write lock while closing POM error channels
offset_manager.go:535
↓ 2 callersMethodremoveChild
(child *partitionConsumer)
consumer.go:250
← previousnext →701–800 of 3,900, ranked by callers