MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,900 in github.com/IBM/sarama

↓ 1 callersMethodGetAll
()
metrics.go:100
↓ 1 callersMethodGetConsumerMetadata
GetConsumerMetadata send a consumer metadata request and returns a consumer metadata response or error
broker.go:484
↓ 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:959
↓ 1 callersMethodInitialOffset
InitialOffset returns the initial offset that was used as a starting point for this claim.
consumer_group_session.go:541
↓ 1 callersMethodIsPaused
IsPaused implements PartitionConsumer.
consumer.go:1061
↓ 1 callersMethodIsTransactional
IsTransactional return true when current producer is transactional.
async_producer.go:70
↓ 1 callersMethodIsTransactional
()
mocks/async_producer.go:161
↓ 1 callersMethodLeaderAndEpoch
(topic string, partitionID int32)
client.go:462
↓ 1 callersMethodLen
()
functional_consumer_group_test.go:401
↓ 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:37
↓ 1 callersMethodMarkOffset
(topic string, partition int32, offset int64, metadata string)
consumer_group_session.go:231
↓ 1 callersMethodMessages
Messages returns messages from the broker. The channel closes when the claim is released. You must finish processing and mark offsets within Config.Co
consumer_group_session.go:551
↓ 1 callersMethodMetadataTopics
()
client.go:361
↓ 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:1047
↓ 1 callersFunctionNewMockConsumerGroupDescribeResponse
(t TestReporter)
mockresponses.go:149
↓ 1 callersFunctionNewMockCreateAclsResponseWithError
(t TestReporter)
mockresponses.go:1133
↓ 1 callersFunctionNewMockDeleteAclsResponse
(t TestReporter)
mockresponses.go:1256
↓ 1 callersFunctionNewMockDeleteGroupsRequest
(t TestReporter)
mockresponses.go:1277
↓ 1 callersFunctionNewMockDeleteOffsetRequest
(t TestReporter)
mockresponses.go:1305
↓ 1 callersFunctionNewMockDescribeConfigsResponseWithErrorCode
(t TestReporter)
mockresponses.go:1000
↓ 1 callersFunctionNewMockDescribeGroupsResponse
(t TestReporter)
mockresponses.go:111
↓ 1 callersFunctionNewMockIncrementalAlterConfigsResponseWithErrorCode
(t TestReporter)
mockresponses.go:1092
↓ 1 callersFunctionNewMockInitProducerIDResponse
(t TestReporter)
mockresponses.go:1574
↓ 1 callersFunctionNewMockListAclsResponse
(t TestReporter)
mockresponses.go:1151
↓ 1 callersFunctionNewMockProduceResponse
(t TestReporter)
mockresponses.go:616
↓ 1 callersFunctionNewMockUpdateFeaturesResponse
(t TestReporter)
mockresponses.go:1610
↓ 1 callersFunctionNewOTelInterceptor
NewOTelInterceptor processes span for intercepted messages and add some headers with the span data.
examples/interceptors/trace_interceptor.go:21
↓ 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 callersMethodOwned
()
functional_consumer_group_java_interop_test.go:105
↓ 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:298
↓ 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:88
↓ 1 callersMethodPauseAll
PauseAll implements Consumer.
consumer.go:339
↓ 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:98
↓ 1 callersMethodPop
()
balance_strategy.go:1226
↓ 1 callersMethodProxy
(name string)
internal/toxiproxy/client.go:53
↓ 1 callersMethodPush
(clientID string, m *ConsumerMessage)
functional_consumer_group_test.go:408
↓ 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:452
↓ 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 callersMethodRefreshCoordinator
(consumerGroup string)
client.go:615
↓ 1 callersMethodRefreshTransactionCoordinator
(transactionID string)
client.go:653
↓ 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:49
↓ 1 callersMethodResetState
()
internal/toxiproxy/client.go:78
↓ 1 callersMethodResponseSize
()
broker.go:344
↓ 1 callersMethodResume
Resume implements Consumer.
consumer.go:318
↓ 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:92
↓ 1 callersMethodResumeAll
ResumeAll implements Consumer.
consumer.go:356
↓ 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:102
↓ 1 callersFunctionSaveProxy
(t *testing.T, px string)
functional_test.go:481
↓ 1 callersMethodSendMessageContext
(ctx context.Context, msg *ProducerMessage)
sync_producer.go:166
↓ 1 callersMethodSendMessages
SendMessages corresponds with the SendMessages method of sarama's SyncProducer implementation. You have to set expectations on the mock producer befor
mocks/sync_producer.go:106
↓ 1 callersMethodSendMessagesContext
(ctx context.Context, msgs []*ProducerMessage)
sync_producer.go:200
↓ 1 callersMethodSetDeletedGroups
(groups []string)
mockresponses.go:1281
↓ 1 callersMethodSetDeletedOffset
(errorCode KError, topic string, partition int32, errorPartition KError)
mockresponses.go:1309
↓ 1 callersMethodSetError
(group, topic string, partition int32, kerror KError)
mockresponses.go:563
↓ 1 callersMethodSetGSSAPIHandler
(handler GSSApiHandlerFunc)
mockbroker.go:196
↓ 1 callersMethodSetGenerationId
(id int32)
mockresponses.go:1373
↓ 1 callersMethodSetLeaderId
(id string)
mockresponses.go:1383
↓ 1 callersMethodSetMember
(id string, meta *ConsumerGroupMemberMetadata)
mockresponses.go:1393
↓ 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:1585
↓ 1 callersMethodSetProducerID
(id int)
mockresponses.go:1580
↓ 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:518
↓ 1 callersMethodStopGracefully
()
functional_consumer_group_java_interop_test.go:289
↓ 1 callersMethodString
()
message.go:35
↓ 1 callersMethodString
()
acl_types.go:38
↓ 1 callersMethodString
()
acl_types.go:107
↓ 1 callersMethodString
()
acl_types.go:157
↓ 1 callersMethodString
()
acl_types.go:212
↓ 1 callersMethodSupportedProtocols
()
rebalance_protocol.go:40
↓ 1 callersMethodSwap
(i, j int)
utils.go:30
↓ 1 callersMethodSwap
(i, j int)
balance_strategy.go:1217
↓ 1 callersMethodToken
Token returns an access token. The implementation should ensure token reuse so that multiple calls at connect time do not create multiple tokens. The
broker.go:117
↓ 1 callersMethodTopics
Topics returns the set of available topics as retrieved from the cluster metadata. This method is the same as Client.Topics(), and is provided for con
consumer.go:58
↓ 1 callersMethodTxnOffsetCommit
TxnOffsetCommit sends a request to commit transaction offsets and returns a response or error
broker.go:922
↓ 1 callersMethodTxnStatus
()
mocks/sync_producer.go:285
↓ 1 callersMethodUnmarshalText
UnmarshalText returns a CompressionCodec from its string representation.
message.go:46
↓ 1 callersMethodUnmarshalText
UnmarshalText takes a text representation of the operation and converts it to an AclOperation
acl_types.go:70
↓ 1 callersMethodUnmarshalText
UnmarshalText takes a text representation of the permission type and converts it to an AclPermissionType
acl_types.go:127
↓ 1 callersMethodUnmarshalText
UnmarshalText takes a text representation of the resource pattern type and converts it to an AclResourcePatternType
acl_types.go:233
← previousnext →901–1,000 of 3,900, ranked by callers