MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,668 in github.com/IBM/sarama

↓ 2 callersMethodpublishTxnPartitions
Makes a request to kafka to add a list of partitions to the current transaction.
transaction_manager.go:785
↓ 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:680
↓ 2 callersMethodreassignPartition
Reassign a specific partition to a new consumer
balance_strategy.go:615
↓ 2 callersFunctionrecordBatchTestCases
()
record_test.go:15
↓ 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:747
↓ 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:2024
↓ 2 callersMethodregisterMeter
(name string)
broker.go:2019
↓ 2 callersFunctionreleaseCrc32Field
(c *crc32Field)
crc32_field.go:29
↓ 2 callersMethodreleasePOMs
Releases/removes closed POMs once they are clean (or when forced)
offset_manager.go:535
↓ 2 callersMethodreleaseSelectedPOMs
releaseSelectedPOMs holds the write lock while closing POM error channels
offset_manager.go:540
↓ 2 callersMethodremoveChild
(child *partitionConsumer)
consumer.go:250
↓ 2 callersMethodrequests
()
offset_manager_test.go:950
↓ 2 callersMethodreserveLength
()
length_field.go:83
↓ 2 callersMethodresize
resize rebuilds buf with head back at index 0, sized to 2*count but never below minLen so the zero value of Queue grows on first Add.
internal/queue/queue.go:22
↓ 2 callersMethodresurrectDeadBrokers
()
client.go:781
↓ 2 callersMethodretryJoinSync
(ctx context.Context, topics []string, held *heldAssignment, retries int, refreshCoordinator bool)
consumer_group.go:281
↓ 2 callersMethodretryMessage
(msg *ProducerMessage, err error)
async_producer.go:1738
↓ 2 callersMethodretryMessages
(batch []*ProducerMessage, err error)
async_producer.go:1747
↓ 2 callersFunctionrunConsumerLeaderRefreshErrorTestWithConfig
(t *testing.T, config *Config)
consumer_test.go:416
↓ 2 callersMethodsafelyApplyInterceptor
(interceptor ProducerInterceptor)
interceptors.go:25
↓ 2 callersMethodsatisfies
(other kafkaVersion)
functional_test.go:556
↓ 2 callersMethodsend
b.lock must be held by caller a non-nil res results in a response promise being created
broker.go:1119
↓ 2 callersMethodsendAndReceiveSASLHandshake
(saslType SASLMechanism, version int16)
broker.go:1574
↓ 2 callersMethodsendInternal
b.lock must be held by caller
broker.go:1163
↓ 2 callersMethodsendWithPromise
b.lock must be held by caller
broker.go:1144
↓ 2 callersFunctionsetupToxiProxies
setupToxiProxies will configure the toxiproxy proxies with routes for the kafka brokers if they don't already exist
functional_test.go:120
↓ 2 callersFunctionsortPartitions
(currentAssignment map[string][]topicPartitionAssignment, partitionsWithADifferentPreviousAssignment map[topic
balance_strategy.go:714
↓ 2 callersFunctionsortPartitionsByPotentialConsumerAssignments
(partition2AllPotentialConsumers map[topicPartitionAssignment][]string)
balance_strategy.go:794
↓ 2 callersMethodspn
(broker *Broker)
gssapi_kerberos.go:201
↓ 2 callersMethodstopConsuming
()
consumer.go:1386
↓ 2 callersMethodsubscriptionMetadata
subscriptionMetadata builds the ConsumerGroupMemberMetadata for a single strategy in a JoinGroup request. If the strategy implements SubscriptionUserD
consumer_group.go:607
↓ 2 callersFunctiontearDownDockerTestEnvironment
(ctx context.Context, env *testEnvironment)
functional_test.go:284
↓ 2 callersFunctiontestRequestWithoutByteComparison
(t *testing.T, name string, rb protocolBody)
request_test.go:605
↓ 2 callersFunctiontopicWithEvenLeaders
(t *testing.T, adminClient ClusterAdmin, client Client, numPartitions int32)
functional_admin_test.go:20
↓ 2 callersMethodupdateBroker
(brokers []*Broker)
client.go:713
↓ 2 callersMethodupdateLeader
()
async_producer.go:963
↓ 2 callersMethodupdateRequestLatencyAndInFlightMetrics
(requestLatency time.Duration)
broker.go:1903
↓ 2 callersFunctionvalidServerNameTLS
(addr string, cfg *tls.Config)
broker.go:2034
↓ 2 callersFunctionvalidateGroupInstanceId
(id string)
config.go:946
↓ 2 callersFunctionverifyProducerConfig
(config *Config)
sync_producer.go:118
↓ 2 callersFunctionverifyValidityAndBalance
(t *testing.T, consumers map[string]ConsumerGroupMemberMetadata, plan BalanceStrategyPlan)
balance_strategy_test.go:2187
↓ 2 callersFunctionversion
()
version.go:14
↓ 2 callersMethodwait
wait returns the channel on which you can wait for the refresh to complete. You need to hold the lock to call this method.
metadata.go:200
↓ 2 callersMethodwaitIfThrottled
()
broker.go:1988
↓ 2 callersMethodwaitUntilMuted
waitUntilMuted blocks until all partitions in the set can be muted, then mutes them. Returns false if the muter was closed before all partitions could
async_producer.go:206
↓ 2 callersFunctionzstdCompress
(params ZstdEncoderParams, dst, src []byte)
zstd.go:119
↓ 1 callersMethodAddBlock
(topic string, partition int32, block *OffsetFetchResponseBlock)
offset_fetch_response.go:68
↓ 1 callersMethodAddBlock
(topic string, partitionID int32, timestamp int64, maxOffsets int32)
offset_request.go:258
↓ 1 callersMethodAddControlRecord
(topic string, partition int32, offset int64, producerID int64, recordType ControlRecordType)
fetch_response.go:732
↓ 1 callersMethodAddControlRecordWithTimestamp
(topic string, partition int32, offset int64, producerID int64, recordType ControlRecordType, timestamp time.T
fetch_response.go:686
↓ 1 callersMethodAddError
(topic string, partition int32, kerror KError, message *string)
alter_partition_reassignments_response.go:46
↓ 1 callersMethodAddError
(topic string, partition int32, errorCode KError)
delete_offsets_response.go:20
↓ 1 callersMethodAddGroupAssignmentMember
( memberId string, memberAssignment *ConsumerGroupMemberAssignment, )
sync_group_request.go:199
↓ 1 callersMethodAddGroupBlock
AddGroupBlock adds a block for groupID/topic/partition, creating the group entry if needed. On v0-7 it falls back to AddBlock and ignores groupID.
offset_fetch_response.go:455
↓ 1 callersMethodAddGroupDescription
(groupID string, description *GroupDescription)
mockresponses.go:110
↓ 1 callersMethodAddGroupPartition
AddGroupPartition adds a partition under group in a v8+ batch, creating the group entry if absent.
offset_fetch_request.go:361
↓ 1 callersMethodAddGroupProtocolMetadata
(name string, metadata *ConsumerGroupMemberMetadata)
join_group_request.go:246
↓ 1 callersMethodAddMessageToTxn
(msg *sarama.ConsumerMessage, groupId string, metadata *string)
mocks/sync_producer.go:267
↓ 1 callersMethodAddMessageToTxnWithGroupMetadata
(msg *ConsumerMessage, groupMetadata *ConsumerGroupMetadata, metadata *string)
async_producer.go:455
↓ 1 callersMethodAddOffsetsToTxn
(offsets map[string][]*sarama.PartitionOffsetMetadata, groupId string)
mocks/sync_producer.go:259
↓ 1 callersMethodAddOffsetsToTxnWithGroupMetadata
AddOffsetsToTxnWithGroupMetadata adds associated offsets to the current transaction, carrying the consumer group member metadata so the broker can fen
sync_producer.go:60
↓ 1 callersMethodAddPartition
(topic string, partitionID int32)
offset_fetch_request.go:10
↓ 1 callersMethodAddPartition
(topic string, partitionID int32)
delete_offsets_request.go:95
↓ 1 callersMethodAddRecordBatch
(topic string, partition int32, key, value Encoder, offset int64, producerID int64, isTransactional bool)
fetch_response.go:728
↓ 1 callersMethodAddRecordBatchWithTimestamp
AddRecordBatchWithTimestamp is similar to AddRecordWithTimestamp But instead of appending 1 record to a batch, it append a new batch containing 1 reco
fetch_response.go:664
↓ 1 callersMethodAddSet
(topic string, partition int32, set *MessageSet)
produce_request.go:310
↓ 1 callersMethodAlterConfigs
AlterConfigs sends a request to alter config and return a response or error
broker.go:932
↓ 1 callersMethodAssertNoInitialValues
()
functional_consumer_group_test.go:695
↓ 1 callersMethodAssignmentData
AssignmentData serializes the set of topics currently assigned to the specified member as part of the supplied balance plan
balance_strategy.go:340
↓ 1 callersMethodAsyncClose
()
offset_manager.go:721
↓ 1 callersMethodAsyncClose
()
async_producer.go:583
↓ 1 callersMethodAsyncClose
PartitionConsumer interface implementation AsyncClose implements the AsyncClose method from the sarama.PartitionConsumer interface.
mocks/consumer.go:273
↓ 1 callersMethodAsyncClose
Implement Producer interface AsyncClose corresponds with the AsyncClose method of sarama's Producer implementation. By closing a mock producer, you
mocks/async_producer.go:128
↓ 1 callersMethodAuthorize
Authorize performs the kerberos auth handshake for authorization
gssapi_kerberos.go:235
↓ 1 callersMethodAuthorizeV2
AuthorizeV2 performs the SASL v2 GSSAPI authentication with the Kafka broker.
gssapi_kerberos.go:283
↓ 1 callersMethodBeginTxn
()
mocks/sync_producer.go:231
↓ 1 callersMethodClaims
Claims returns information about the claimed partitions by topic.
consumer_group_session.go:13
↓ 1 callersMethodClose
Close stops the OffsetManager from managing offsets. It is required to call this function before an OffsetManager object passes out of scope, as it wi
offset_manager.go:22
↓ 1 callersMethodClose
()
client.go:312
↓ 1 callersMethodClose
()
functional_consumer_group_test.go:373
↓ 1 callersMethodClose
()
examples/http_server/http_server.go:92
↓ 1 callersMethodCommit
()
offset_manager.go:256
↓ 1 callersMethodCommit
Commit the offset to the backend Note: calling Commit performs a blocking synchronous operation.
consumer_group_session.go:39
↓ 1 callersMethodCommitTxn
()
mocks/sync_producer.go:239
↓ 1 callersMethodConfig
()
client.go:252
↓ 1 callersMethodConsumeClaim
ConsumeClaim must start a consumer loop of ConsumerGroupClaim's Messages(). Once the Messages() channel is closed, the Handler must finish its process
consumer_group_session.go:423
↓ 1 callersMethodCreateACLs
Creates access control lists (ACLs) which are bound to specific resources. This operation is not transactional so it may succeed for some ACLs while f
admin.go:109
↓ 1 callersMethodCreateProxy
( name string, listenAddr string, targetAddr string, )
internal/toxiproxy/client.go:38
← previousnext →701–800 of 3,668, ranked by callers