MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,668 in github.com/IBM/sarama

↓ 2 callersMethodAddPartition
AddPartition appends a partition to the request. On v8+ it targets Groups[0] (seeded from ConsumerGroup if needed); use AddGroupPartition for v8 batch
offset_fetch_request.go:344
↓ 2 callersMethodAddPartitionsToTxn
AddPartitionsToTxn send a request to add partition to txn and returns a response or error
broker.go:869
↓ 2 callersMethodAddRecordWithTimestamp
(topic string, partition int32, key, value Encoder, offset int64, timestamp time.Time)
fetch_response.go:649
↓ 2 callersMethodAddToxic
( name string, toxicType string, stream string, toxicity float32, attributes Attributes, )
internal/toxiproxy/proxy.go:21
↓ 2 callersMethodAlterClientQuotas
Alters client quota configurations with the specified alterations. This operation is supported by brokers with version 2.6.0.0 or higher.
admin.go:189
↓ 2 callersMethodAlterConsumerGroupOffsets
AlterConsumerGroupOffsets alters offsets for the specified group by committing the provided offsets and metadata. The request targets the group's coor
admin.go:156
↓ 2 callersMethodAlterUserScramCredentials
(u []AlterUserScramCredentialsUpsert, d []AlterUserScramCredentialsDelete)
admin.go:1603
↓ 2 callersMethodAssertInitialValues
(count int32)
functional_consumer_group_test.go:687
↓ 2 callersMethodAssertNoErrs
()
functional_consumer_group_test.go:472
↓ 2 callersMethodAsyncClose
()
consumer.go:721
↓ 2 callersMethodAsyncClose
AsyncClose initiates a shutdown of the PartitionOffsetManager. This method will return immediately, after which you should wait until the 'errors' cha
offset_manager.go:633
↓ 2 callersMethodBegin
Begin prepares the client for the SCRAM exchange with the server with a user name and a password
broker.go:122
↓ 2 callersMethodBroker
Broker returns the active Broker if available for the broker ID.
client.go:42
↓ 2 callersMethodCommitOffset
CommitOffset return an Offset commit response or error
broker.go:610
↓ 2 callersMethodCreateAcls
CreateAcls sends a create acl request and returns a response or error
broker.go:820
↓ 2 callersMethodCreateTopics
CreateTopics send a create topic request and returns create topic response
broker.go:720
↓ 2 callersMethodDeleteConsumerGroupOffset
Deletes a consumer group offset
admin.go:159
↓ 2 callersMethodDeleteGroups
DeleteGroups sends a request to delete groups and returns a response or error
broker.go:956
↓ 2 callersMethodDeleteOffsets
DeleteOffsets sends a request to delete group offsets and returns a response or error
broker.go:967
↓ 2 callersMethodDeleteTopics
DeleteTopics sends a delete topic request and returns delete topic response
broker.go:732
↓ 2 callersMethodDescribeClientQuotas
Get client quota configurations corresponding to the specified filter. This operation is supported by brokers with version 2.6.0.0 or higher.
admin.go:185
↓ 2 callersMethodDescribeCluster
Get information about the nodes in the cluster
admin.go:165
↓ 2 callersMethodDescribeGroups
DescribeGroups return describe group response or error
broker.go:696
↓ 2 callersMethodDescribeUserScramCredentials
Get information about SCRAM users
admin.go:171
↓ 2 callersMethodDestroy
()
gssapi_kerberos.go:59
↓ 2 callersMethodDisable
()
internal/toxiproxy/proxy.go:67
↓ 2 callersMethodEnable
()
internal/toxiproxy/proxy.go:61
↓ 2 callersMethodEndTxn
EndTxn sends a request to end txn and returns a response or error
broker.go:894
↓ 2 callersMethodExpectInputAndFail
ExpectInputAndFail sets an expectation on the mock producer that a message will be provided on the input channel. The mock producer will handle the me
mocks/async_producer.go:276
↓ 2 callersMethodExpectInputWithMessageCheckerFunctionAndFail
ExpectInputWithMessageCheckerFunctionAndFail sets an expectation on the mock producer that a message will be provided on the input channel. The mock p
mocks/async_producer.go:233
↓ 2 callersMethodExpectSendMessageWithMessageCheckerFunctionAndFail
ExpectSendMessageWithMessageCheckerFunctionAndFail sets an expectation on the mock producer that SendMessage will be called. The mock producer will fi
mocks/sync_producer.go:181
↓ 2 callersMethodExpectSendMessageWithMessageCheckerFunctionAndSucceed
Setting expectations ExpectSendMessageWithMessageCheckerFunctionAndSucceed sets an expectation on the mock producer that SendMessage will be called.
mocks/sync_producer.go:169
↓ 2 callersMethodFindCoordinator
FindCoordinator sends a find coordinate request and returns a response or error
broker.go:484
↓ 2 callersMethodGenerationID
()
consumer_group_session.go:158
↓ 2 callersMethodGetBlock
(topic string, partition int32)
produce_response.go:449
↓ 2 callersMethodGetGroup
GetGroup returns the per-group entry for groupID, or nil if absent or on v0-7.
offset_fetch_response.go:389
↓ 2 callersMethodGroupError
GroupError returns the group-level error: for v8+ the error of Groups[0], otherwise the top-level Err.
offset_fetch_response.go:378
↓ 2 callersMethodHeartbeat
Heartbeat returns a heartbeat response or error
broker.go:671
↓ 2 callersMethodInSyncReplicas
InSyncReplicas returns the set of all in-sync replica IDs for the given partition. In-sync replicas are replicas which are fully caught up with the pa
client.go:69
↓ 2 callersMethodInitProducerID
InitProducerID sends an init producer request and returns a response or error
broker.go:855
↓ 2 callersMethodInitProducerID
InitProducerID retrieves information required for Idempotent Producer
client.go:112
↓ 2 callersMethodIsPaused
IsPaused indicates if this partition consumer is paused or not
consumer.go:424
↓ 2 callersMethodIsTransactional
()
mocks/sync_producer.go:227
↓ 2 callersMethodJoinGroup
JoinGroup returns a join group response or error
broker.go:635
↓ 2 callersMethodLastOffset
()
record_batch.go:59
↓ 2 callersMethodLastRequest
LastRequest returns a copy of the most recent request handled, for assertions.
mockresponses.go:1708
↓ 2 callersMethodLeader
(topic string, partitionID int32)
client.go:462
↓ 2 callersMethodLeastLoadedBroker
LeastLoadedBroker retrieves broker that has the least responses pending
client.go:115
↓ 2 callersMethodLen
()
balance_strategy.go:1201
↓ 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:683
↓ 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:213
↓ 2 callersMethodMemberID
()
consumer_group_session.go:157
↓ 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 callersFunctionNewDescribeClusterRequest
(version KafkaVersion)
describe_cluster_request.go:18
↓ 2 callersFunctionNewMockAlterConfigsResponse
(t TestReporter)
mockresponses.go:970
↓ 2 callersFunctionNewMockAlterPartitionReassignmentsResponse
(t TestReporter)
mockresponses.go:762
↓ 2 callersFunctionNewMockBrokerListener
NewMockBrokerListener behaves like newMockBrokerAddr but accepts connections on the listener specified.
mockbroker.go:440
↓ 2 callersFunctionNewMockDescribeLogDirsResponse
(t TestReporter)
mockresponses.go:1435
↓ 2 callersFunctionNewMockHeartbeatResponse
(t TestReporter)
mockresponses.go:1412
↓ 2 callersFunctionNewMockIncrementalAlterConfigsResponse
(t TestReporter)
mockresponses.go:1015
↓ 2 callersFunctionNewMockLeaveGroupResponse
(t TestReporter)
mockresponses.go:1353
↓ 2 callersFunctionNewMockListGroupsResponse
(t TestReporter)
mockresponses.go:77
↓ 2 callersFunctionNewMockListPartitionReassignmentsResponse
(t TestReporter)
mockresponses.go:777
↓ 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 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 callersMethodOnAssignment
(assignment *ConsumerGroupMemberAssignment, generationID int32)
balance_strategy.go:115
↓ 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:563
↓ 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 callersMethodSetLogDirs
(logDirPath string, topicPartitions map[string]int)
mockresponses.go:1439
↓ 2 callersMethodSetMemberId
(id string)
mockresponses.go:1333
↓ 2 callersMethodSetMessageWithKey
(topic string, partition int32, offset int64, key, msg Encoder)
mockresponses.go:315
↓ 2 callersMethodSetReplicaID
(id int32)
offset_request.go:246
↓ 2 callersMethodSetSessionLifetimeMs
(sessionLifetimeMs int64)
mockresponses.go:1164
↓ 2 callersMethodSubscriptionUserData
(topics []string)
balance_strategy.go:82
↓ 2 callersMethodSyncGroup
SyncGroup returns a sync group response or error
broker.go:647
↓ 2 callersMethodTopics
Topics returns a list of topics, as registered with SetTopicMetadata
mocks/consumer.go:71
↓ 2 callersMethodUnwrap
()
errors.go:137
↓ 2 callersMethodabandonBrokerConnection
(broker *Broker)
async_producer.go:1785
↓ 2 callersMethodabort
(err error)
consumer.go:1273
↓ 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:254
↓ 2 callersFunctionareSubscriptionsIdentical
(partition2AllPotentialConsumers map[topicPartitionAssignment][]string, consumer2AllPotentialPartitions map[st
balance_strategy.go:823
↓ 2 callersFunctionassignPartition
The assignment should improve the overall balance of the partition assignments to consumers.
balance_strategy.go:659
↓ 2 callersMethodauthenticateViaSASLv1
()
broker.go:1499
↓ 2 callersMethodbackoff
(retries int)
async_producer.go:804
↓ 2 callersMethodbackoff
(retries int)
async_producer.go:808
← previousnext →501–600 of 3,668, ranked by callers