MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,668 in github.com/IBM/sarama

↓ 1 callersMethodDeleteACL
Deletes access control lists (ACLs) according to the supplied filters. This operation is not transactional so it may succeed for some ACLs while fail
admin.go:119
↓ 1 callersMethodDeleteAcls
DeleteAcls sends a delete acl request and returns a response or error
broker.go:843
↓ 1 callersMethodDescribeAcls
DescribeAcls sends a describe acl request and returns a response or error
broker.go:808
↓ 1 callersMethodDescribeConfigs
DescribeConfigs sends a request to describe config and returns a response or error
broker.go:920
↓ 1 callersMethodDescribeConfigs
(resources []*ConfigResource, options DescribeConfigsOptions)
admin.go:868
↓ 1 callersMethodErrorf
(string, ...any)
mockresponses.go:13
↓ 1 callersMethodErrors
Errors returns a read channel of errors that occurred during the consumer life-cycle. By default, errors are logged and not returned over this channel
consumer_group.go:67
↓ 1 callersMethodExpectErrorsDrainedOnClose
ExpectErrorsDrainedOnClose sets an expectation on the partition consumer that the errors channel will be fully drained when Close is called. If this e
mocks/consumer.go:432
↓ 1 callersMethodExpectInputWithCheckerFunctionAndSucceed
ExpectInputWithCheckerFunctionAndSucceed sets an expectation on the mock producer that a message will be provided on the input channel. The mock produ
mocks/async_producer.go:246
↓ 1 callersMethodFor
(reqBody versionedDecoder)
mockresponses.go:848
↓ 1 callersMethodGet
()
broker_test.go:112
↓ 1 callersMethodGetAll
()
metrics.go:100
↓ 1 callersMethodGetBlock
(topic string, partition int32)
offset_response.go:147
↓ 1 callersMethodGetConsumerMetadata
GetConsumerMetadata send a consumer metadata request and returns a consumer metadata response or error
broker.go:472
↓ 1 callersMethodGetGroupBlock
GetGroupBlock returns the block for groupID/topic/partition, or nil on v0-7.
offset_fetch_response.go:421
↓ 1 callersMethodGetMemberAssignment
()
sync_group_response.go:26
↓ 1 callersMethodGetMembers
()
join_group_response.go:41
↓ 1 callersMethodGetOrRegister
(name string, metric any)
metrics.go:82
↓ 1 callersMethodGetServiceTicket
(spn string)
gssapi_kerberos.go:56
↓ 1 callersMethodIncrementalAlterConfigs
IncrementalAlterConfigs sends a request to incremental alter config and return a response or error
broker.go:944
↓ 1 callersMethodInitialOffset
InitialOffset returns the initial offset that was used as a starting point for this claim.
consumer_group_session.go:435
↓ 1 callersMethodIsPaused
IsPaused implements PartitionConsumer.
consumer.go:1043
↓ 1 callersMethodIsTransactional
IsTransactional return true when current producer is transactional.
async_producer.go:69
↓ 1 callersMethodIsTransactional
()
mocks/async_producer.go:160
↓ 1 callersMethodLeaderAndEpoch
(topic string, partitionID int32)
client.go:467
↓ 1 callersMethodLen
()
functional_consumer_group_test.go:359
↓ 1 callersMethodListAcls
Lists access control lists (ACLs) according to the supplied filter. it may take some time for changes made by createAcls or deleteAcls to be reflected
admin.go:114
↓ 1 callersMethodMarkOffset
MarkOffset marks the provided offset, alongside a metadata string that represents the state of the partition consumer at that point in time. The metad
consumer_group_session.go:34
↓ 1 callersMethodMarkOffset
(topic string, partition int32, offset int64, metadata string)
consumer_group_session.go:160
↓ 1 callersMethodMessages
Messages returns the read channel for the messages that are returned by the broker. The messages channel will be closed when a new rebalance cycle is
consumer_group_session.go:447
↓ 1 callersMethodMetadataTopics
()
client.go:366
↓ 1 callersFunctionNewBalanceStrategyCooperativeSticky
NewBalanceStrategyCooperativeSticky returns a cooperative sticky balance strategy Existing groups should first deploy it alongside their current eage
balance_strategy_cooperative_sticky.go:18
↓ 1 callersFunctionNewClient
(endpoint string)
internal/toxiproxy/client.go:17
↓ 1 callersFunctionNewConsistentCRCHashPartitioner
NewConsistentCRCHashPartitioner is like NewHashPartitioner except that it uses the *unsigned* crc32 hash of the encoded bytes of the message key modul
partitioner.go:200
↓ 1 callersFunctionNewDescribeClientQuotasRequest
(version KafkaVersion, components []QuotaFilterComponent, strict bool)
describe_client_quotas_request.go:26
↓ 1 callersFunctionNewKerberosClient
NewKerberosClient creates kerberos client used to obtain TGT and TGS tokens. It uses pure go Kerberos 5 solution (RFC-4121 and RFC-4120). uses gokrb5
kerberos_client.go:26
↓ 1 callersFunctionNewLoadAwareSticky
NewLoadAwareSticky returns a load-aware wrapper around the sticky strategy. The observe callback is invoked once per JoinGroup; its return value is JS
examples/consumer_load_aware/load_aware_sticky.go:40
↓ 1 callersFunctionNewManualPartitioner
NewManualPartitioner returns a Partitioner which uses the partition manually set in the provided ProducerMessage's Partition field as the partition to
partitioner.go:82
↓ 1 callersFunctionNewMockAlterConfigsResponseWithErrorCode
(t TestReporter)
mockresponses.go:992
↓ 1 callersFunctionNewMockCreateAclsResponseWithError
(t TestReporter)
mockresponses.go:1078
↓ 1 callersFunctionNewMockDeleteAclsResponse
(t TestReporter)
mockresponses.go:1201
↓ 1 callersFunctionNewMockDeleteGroupsRequest
(t TestReporter)
mockresponses.go:1222
↓ 1 callersFunctionNewMockDeleteOffsetRequest
(t TestReporter)
mockresponses.go:1250
↓ 1 callersFunctionNewMockDescribeConfigsResponseWithErrorCode
(t TestReporter)
mockresponses.go:945
↓ 1 callersFunctionNewMockDescribeGroupsResponse
(t TestReporter)
mockresponses.go:103
↓ 1 callersFunctionNewMockElectLeadersResponse
(t TestReporter)
mockresponses.go:799
↓ 1 callersFunctionNewMockIncrementalAlterConfigsResponseWithErrorCode
(t TestReporter)
mockresponses.go:1037
↓ 1 callersFunctionNewMockInitProducerIDResponse
(t TestReporter)
mockresponses.go:1519
↓ 1 callersFunctionNewMockListAclsResponse
(t TestReporter)
mockresponses.go:1096
↓ 1 callersFunctionNewMockProduceResponse
(t TestReporter)
mockresponses.go:561
↓ 1 callersFunctionNewMockUpdateFeaturesResponse
(t TestReporter)
mockresponses.go:1555
↓ 1 callersFunctionNewOTelInterceptor
NewOTelInterceptor processes span for intercepted messages and add some headers with the span data.
examples/interceptors/trace_interceptor.go:21
↓ 1 callersFunctionNewOffsetCommitRequest
NewOffsetCommitRequest creates an OffsetCommitRequest initialized for admin use. The version-mapping logic mirrors offsetManager.constructRequest in
offset_commit_request.go:90
↓ 1 callersMethodOfflineReplicas
OfflineReplicas returns the set of all offline replica IDs for the given partition. Offline replicas are replicas which are offline
client.go:73
↓ 1 callersMethodOnConsume
OnConsume is called when the consumed message is intercepted. Please avoid modifying the message until it's safe to do so, as this is _not_ a copy of
interceptors.go:22
↓ 1 callersMethodOnSend
OnSend is called when the producer message is intercepted. Please avoid modifying the message until it's safe to do so, as this is _not_ a copy of the
interceptors.go:11
↓ 1 callersMethodPartitionNotReadable
PartitionNotReadable checks if partition is not readable
client.go:118
↓ 1 callersMethodPartitions
Partitions returns the sorted list of all partition IDs for the given topic. This method is the same as Client.Partitions(), and is provided for conve
consumer.go:62
↓ 1 callersMethodPartitions
Partitions returns the list of parititons for the given topic, as registered with SetTopicMetadata
mocks/consumer.go:88
↓ 1 callersMethodPause
Pause implements Consumer.
consumer.go:294
↓ 1 callersMethodPause
Pause suspends fetching from the requested partitions. Future calls to the broker will not return any records from these partitions until they have be
consumer_group.go:77
↓ 1 callersMethodPauseAll
PauseAll implements Consumer.
consumer.go:335
↓ 1 callersMethodPauseAll
Pause suspends fetching from all partitions. Future calls to the broker will not return any records from these partitions until they have been resumed
consumer_group.go:87
↓ 1 callersMethodPop
()
balance_strategy.go:1220
↓ 1 callersMethodProxy
(name string)
internal/toxiproxy/client.go:53
↓ 1 callersMethodPush
(clientID string, m *ConsumerMessage)
functional_consumer_group_test.go:366
↓ 1 callersMethodRack
Rack returns the broker's rack as retrieved from Kafka's metadata or the empty string if it is not known. The returned value corresponds to the broke
broker.go:440
↓ 1 callersMethodRefreshBrokers
RefreshBrokers takes a list of addresses to be used as seed brokers. Existing broker connections are closed and the updated list of seed brokers will
client.go:78
↓ 1 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
↓ 1 callersMethodRefreshCoordinator
(consumerGroup string)
client.go:622
↓ 1 callersMethodRefreshTransactionCoordinator
(transactionID string)
client.go:661
↓ 1 callersMethodRemoveMemberFromConsumerGroup
Remove members from the consumer group by given member identities. This operation is supported by brokers with version 2.3 or higher This is for stati
admin.go:202
↓ 1 callersMethodReplicaID
()
offset_request.go:251
↓ 1 callersMethodRequiresConsistency
RequiresConsistency indicates to the user of the partitioner whether the mapping of key->partition is consistent or not. Specifically, if a partitione
partitioner.go:23
↓ 1 callersMethodResetOffset
ResetOffset resets to the provided offset, alongside a metadata string that represents the state of the partition consumer at that point in time. Rese
consumer_group_session.go:46
↓ 1 callersMethodResetState
()
internal/toxiproxy/client.go:78
↓ 1 callersMethodResponseSize
()
broker.go:339
↓ 1 callersMethodResume
Resume implements Consumer.
consumer.go:314
↓ 1 callersMethodResume
Resume resumes specified partitions which have been paused with Pause()/PauseAll(). New calls to the broker will return records from these partitions
consumer_group.go:81
↓ 1 callersMethodResumeAll
ResumeAll implements Consumer.
consumer.go:352
↓ 1 callersMethodResumeAll
Resume resumes all partitions which have been paused with Pause()/PauseAll(). New calls to the broker will return records from these partitions if the
consumer_group.go:91
↓ 1 callersFunctionSaveProxy
(t *testing.T, px string)
functional_test.go:470
↓ 1 callersMethodSetApiKeys
(apiKeys []ApiVersionsResponseKey)
mockresponses.go:1497
↓ 1 callersMethodSetDeletedGroups
(groups []string)
mockresponses.go:1226
↓ 1 callersMethodSetDeletedOffset
(errorCode KError, topic string, partition int32, errorPartition KError)
mockresponses.go:1254
↓ 1 callersMethodSetError
(group, topic string, partition int32, kerror KError)
mockresponses.go:508
↓ 1 callersMethodSetGSSAPIHandler
(handler GSSApiHandlerFunc)
mockbroker.go:196
↓ 1 callersMethodSetGenerationId
(id int32)
mockresponses.go:1318
↓ 1 callersMethodSetLeaderId
(id string)
mockresponses.go:1328
↓ 1 callersMethodSetNotifier
SetNotifier set a function that will get invoked whenever a request has been processed successfully and will provide the number of bytes read and writ
mockbroker.go:113
↓ 1 callersMethodSetProducerEpoch
(epoch int)
mockresponses.go:1530
↓ 1 callersMethodSetProducerID
(id int)
mockresponses.go:1525
↓ 1 callersMethodSetTopicMetadata
Expectation API SetTopicMetadata sets the clusters topic/partition metadata, which will be returned by Topics() and Partitions().
mocks/consumer.go:196
↓ 1 callersMethodSetup
Setup is run at the beginning of a new session, before ConsumeClaim.
consumer_group_session.go:412
↓ 1 callersMethodString
()
message.go:35
↓ 1 callersMethodString
()
acl_types.go:35
↓ 1 callersMethodString
()
acl_types.go:98
↓ 1 callersMethodString
()
acl_types.go:147
↓ 1 callersMethodString
()
acl_types.go:200
↓ 1 callersMethodSupportedProtocols
()
rebalance_protocol.go:40
← previousnext →801–900 of 3,668, ranked by callers