MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,900 in github.com/IBM/sarama

↓ 1 callersMethodsequenceFlushingBatch
sequenceFlushingBatch numbers the records of an idempotent producer's flushing batch. Numbering at flush, with one batch in flight per partition, keep
async_producer.go:1265
↓ 1 callersMethodserverError
(err error)
mockbroker.go:395
↓ 1 callersMethodserverLoop
()
mockbroker.go:170
↓ 1 callersMethodsetPartitionCache
(topic string, partitionSet partitionType)
client.go:854
↓ 1 callersMethodsetTypeFromMagic
(pd packetDecoder)
records.go:68
↓ 1 callersMethodsetVersion
(v int16)
offset_fetch_request.go:29
↓ 1 callersFunctionshouldIgnoreMsg
(msg *sarama.ProducerMessage)
examples/interceptors/trace_interceptor.go:43
↓ 1 callersMethodshutdown
()
async_producer.go:1279
↓ 1 callersFunctionsocketErrorProbeAvailable
()
client_test.go:23
↓ 1 callersFunctionstaleMetadata
staleMetadata reports whether a produce error means the cached metadata is out of date. These are the errors the Java producer treats as an InvalidMet
async_producer.go:1393
↓ 1 callersMethodstart
start starts a new refresh. The refresh is started in a new goroutine, and this function returns a channel on which the caller can wait for the refres
metadata.go:166
↓ 1 callersMethodstartClaim
startClaim gives each partition a context that can be canceled independently
consumer_group_session.go:187
↓ 1 callersFunctionstartFunctionalRoundTripMember
( t *testing.T, groupID string, clientID string, strategy BalanceStrategy, sink *testFuncConsumerGroupSin
functional_consumer_group_cooperative_test.go:71
↓ 1 callersMethodstderrString
()
functional_consumer_group_java_interop_test.go:277
↓ 1 callersFunctionstdinAvailable
()
tools/kafka-console-producer/kafka-console-producer.go:157
↓ 1 callersMethodsubscriptionVersion
subscriptionVersion is based on the broker version rather than the rebalance protocol so owned partitions are available during a rolling upgrade
consumer_group.go:608
↓ 1 callersMethodsyncGroupRequest
( coordinator *Broker, members map[string]ConsumerGroupMemberMetadata, plan BalanceStrategyPlan, generatio
consumer_group.go:663
↓ 1 callersMethodtakePartitions
(predicate func(topic string, partition int32) bool)
produce_set.go:140
↓ 1 callersFunctiontestConsumerInterceptor
( t *testing.T, interceptors []ConsumerInterceptor, expectationFn func(*testing.T, int, *ConsumerMessage),
consumer_test.go:2303
↓ 1 callersFunctiontestDecode
(t *testing.T, tp string, key []byte, value []byte)
control_record_test.go:34
↓ 1 callersFunctiontestFuncConsumerGroupFuzzySeed
(topic string)
functional_consumer_group_test.go:357
↓ 1 callersFunctiontestFuncConsumerGroupProduceMessage
--------------------------------------------------------------------
functional_consumer_staticmembership_test.go:216
↓ 1 callersFunctiontestMain
(m *testing.M)
functional_test.go:69
↓ 1 callersFunctiontestProducerInterceptor
( t *testing.T, interceptors []ProducerInterceptor, expectationFn func(*testing.T, int, *ProducerMessage),
async_producer_test.go:2691
↓ 1 callersFunctiontestTxnProduceAndCommitOffset
( t *testing.T, version KafkaVersion, txnID, groupID string, addOffsetToTxn func(producer AsyncProducer, s
functional_producer_test.go:456
↓ 1 callersFunctiontoggleConsumptionFlow
(client sarama.ConsumerGroup, isPaused *bool)
examples/consumergroup/main.go:158
↓ 1 callersFunctiontoggleConsumptionFlow
(client sarama.ConsumerGroup, isPaused *bool)
examples/exactly_once/main.go:179
↓ 1 callersMethodtopicToPartitionNumbers
(topics []string)
consumer_group.go:919
↓ 1 callersMethodtryCancelSession
()
offset_manager.go:591
↓ 1 callersMethodtryMutePartition
(topic string, partition int32)
async_producer.go:194
↓ 1 callersMethodtryRefreshMetadata
tryRefreshMetadata fetches metadata for topics: nil asks for all topics and replaces the cache, an empty list asks for brokers and the controller only
client.go:987
↓ 1 callersFunctionupdateBatchMetrics
(recordBatch *RecordBatch, compressionRatioMetric metrics.Histogram, topicCompressionRatioMetric metrics.Hist
produce_request.go:60
↓ 1 callersMethodupdateCommitted
updateCommitted clears dirty when the POM is unchanged since the commit of version was built
offset_manager.go:720
↓ 1 callersMethodupdateLeaderIfBrokerProducerIsNil
(msg *ProducerMessage)
async_producer.go:822
↓ 1 callersMethodupdateMetadata
if no fatal error, returns a list of topics that need retrying due to ErrLeaderNotAvailable
client.go:1094
↓ 1 callersFunctionupdateMsgSetMetrics
(msgSet *MessageSet, compressionRatioMetric metrics.Histogram, topicCompressionRatioMetric metrics.Histogram,
produce_request.go:35
↓ 1 callersMethodupdateProtocolMetrics
(rb protocolBody)
broker.go:2030
↓ 1 callersMethodupdateSubscriptions
(newSubscriptions []*brokerSubscription)
consumer.go:1203
↓ 1 callersMethodupdateThrottleMetric
(throttleTime time.Duration)
broker.go:2129
↓ 1 callersMethoduserDataGenAt
userDataGenAt returns the generation the nth JoinGroup carried in its cooperative-sticky user data.
consumer_group_cooperative_test.go:79
↓ 1 callersFunctionvalidateBrokerMetrics
(t *testing.T, broker *Broker, mockBrokerMetrics brokerMetrics)
broker_test.go:1963
↓ 1 callersFunctionvalidateConsumerMetrics
(t *testing.T, client Client)
functional_producer_test.go:1278
↓ 1 callersFunctionvalidateProducerMetrics
(t *testing.T, client Client)
functional_producer_test.go:1180
↓ 1 callersMethodversion
()
describe_cluster_request.go:84
↓ 1 callersMethodversion
()
offset_response.go:207
↓ 1 callersMethodversion
()
api_versions_request.go:51
↓ 1 callersMethodwaitClosed
Drains messages and errors, ensures the claim is fully closed.
consumer_group_session.go:591
↓ 1 callersMethodwaitForBrokerHandover
waitForBrokerHandover blocks until the brokerConsumer releases the current subscription, so the deferred close(feeder) cannot race an in-flight write
consumer.go:633
↓ 1 callersFunctionwaitForFunctionalCooperativeMessages
(t *testing.T, sink *testFuncConsumerGroupSink, expected []string)
functional_consumer_group_cooperative_test.go:122
↓ 1 callersFunctionwaitForISRShrink
waitForISRShrink polls topic metadata until removed is no longer in the ISR for partition.
functional_consumer_follower_fetch_test.go:152
↓ 1 callersFunctionwaitForReassignment
waitForReassignment polls ListPartitionReassignments until the broker stops reporting any in-progress reassignment for the topic, or the timeout fires
examples/alter_partition_reassignments/main.go:196
↓ 1 callersFunctionwaitResult
waitResult reports false if ctx ends before msg's result arrives
sync_producer.go:248
↓ 1 callersMethodwithAccessLog
(next http.Handler)
examples/http_server/http_server.go:170
↓ 1 callersMethodwritePackage
writePackage appends length in big endian before the payload, and sends it to kafka
gssapi_kerberos.go:65
↓ 1 callersMethodxor
(result []byte, second []byte)
scram_formatter.go:44
↓ 1 callersFunctionzstdDecompress
(params ZstdDecoderParams, dst, src []byte, maxDecodedSize int)
zstd.go:111
MethodAbortTxn
()
sync_producer.go:304
MethodAbortTxn
()
async_producer.go:519
MethodAbortTxn
()
mocks/sync_producer.go:277
MethodAbortTxn
()
mocks/async_producer.go:181
MethodAddBlock
(topic string, partitionID int32, offset int64, timestamp int64, metadata string)
offset_commit_request.go:309
MethodAddGroupDescription
(groupID string, description ConsumerGroupDescription)
mockresponses.go:156
MethodAddMessageToTxn
(msg *ConsumerMessage, groupId string, metadata *string)
sync_producer.go:316
MethodAddMessageToTxn
AddMessageToTxn add message offsets to current transaction.
async_producer.go:93
MethodAddMessageToTxn
(msg *ConsumerMessage, groupId string, metadata *string)
async_producer.go:452
MethodAddMessageToTxn
(msg *sarama.ConsumerMessage, groupId string, metadata *string)
mocks/async_producer.go:204
MethodAddMessageToTxnWithGroupMetadata
(msg *ConsumerMessage, groupMetadata *ConsumerGroupMetadata, metadata *string)
sync_producer.go:320
MethodAddMessageToTxnWithGroupMetadata
AddMessageToTxnWithGroupMetadata adds the message offset to the current transaction, carrying the consumer group member metadata so the broker can fen
async_producer.go:98
MethodAddMessageToTxnWithGroupMetadata
(msg *sarama.ConsumerMessage, groupMetadata *sarama.ConsumerGroupMetadata, metadata *string)
mocks/sync_producer.go:301
MethodAddMessageToTxnWithGroupMetadata
(msg *sarama.ConsumerMessage, groupMetadata *sarama.ConsumerGroupMetadata, metadata *string)
mocks/async_producer.go:208
MethodAddOffsetsToTxn
(offsets map[string][]*PartitionOffsetMetadata, groupId string)
sync_producer.go:308
MethodAddOffsetsToTxn
AddOffsetsToTxn sends a request to add offsets to txn and returns a response or error
broker.go:897
MethodAddOffsetsToTxn
AddOffsetsToTxn add associated offsets to current transaction.
async_producer.go:85
MethodAddOffsetsToTxn
(offsets map[string][]*PartitionOffsetMetadata, groupId string)
async_producer.go:468
MethodAddOffsetsToTxn
(offsets map[string][]*sarama.PartitionOffsetMetadata, groupId string)
mocks/async_producer.go:196
MethodAddOffsetsToTxnWithGroupMetadata
(offsets map[string][]*PartitionOffsetMetadata, groupMetadata *ConsumerGroupMetadata)
sync_producer.go:312
MethodAddOffsetsToTxnWithGroupMetadata
AddOffsetsToTxnWithGroupMetadata adds associated offsets to the current transaction, carrying the consumer group member metadata so the broker can fen
async_producer.go:90
MethodAddOffsetsToTxnWithGroupMetadata
(offsets map[string][]*sarama.PartitionOffsetMetadata, groupMetadata *sarama.ConsumerGroupMetadata)
mocks/sync_producer.go:293
MethodAddOffsetsToTxnWithGroupMetadata
(offsets map[string][]*sarama.PartitionOffsetMetadata, groupMetadata *sarama.ConsumerGroupMetadata)
mocks/async_producer.go:200
MethodAddTransaction
(transactionalID string, state TransactionState)
mockresponses.go:1693
MethodAlterClientQuotas
AlterClientQuotas sends a request to alter the broker's quotas
broker.go:1102
MethodAlterClientQuotas
(entity []QuotaEntityComponent, op ClientQuotasOp, validateOnly bool)
admin.go:1760
MethodAlterConfig
(resourceType ConfigResourceType, name string, entries map[string]*string, validateOnly bool)
admin.go:979
MethodAlterConsumerGroupOffsets
AlterConsumerGroupOffsets retries on transport-level errors and on per-partition coordinator errors (NOT_COORDINATOR, COORDINATOR_NOT_AVAILABLE, COORD
admin_offsets.go:164
MethodAlterPartitionReassignments
AlterPartitionReassignments sends a alter partition reassignments request and returns alter partition reassignments response
broker.go:773
MethodAlterPartitionReassignments
(topic string, assignment [][]int32)
admin.go:678
MethodAlterUserScramCredentials
(req *AlterUserScramCredentialsRequest)
broker.go:1016
MethodAssignmentData
AssignmentData implements BalanceStrategy
balance_strategy_cooperative_sticky.go:54
MethodAssignmentData
(memberID string, topics map[string][]int32, generationID int32)
functional_consumer_group_test.go:722
MethodAssignmentData
AssignmentData simple strategies do not require any shared assignment data
balance_strategy.go:220
MethodAssignmentData
(memberID string, topics map[string][]int32, generationID int32)
balance_strategy.go:470
MethodBegin
(_, _, _ string)
broker_test.go:899
MethodBegin
(userName, password, authzID string)
examples/sasl_scram_client/scram_client.go:21
MethodBeginTxn
()
sync_producer.go:296
MethodBeginTxn
()
async_producer.go:489
MethodBeginTxn
()
mocks/async_producer.go:165
FunctionBenchmarkBroker_No_Metrics_Open
(b *testing.B)
broker_test.go:2012
FunctionBenchmarkBroker_Open
(b *testing.B)
broker_test.go:1994
FunctionBenchmarkProduceRequestEncodeMetrics128Partitions
(b *testing.B)
produce_request_test.go:200
FunctionBenchmarkProduceRequestEncodeMetrics1Partition
(b *testing.B)
produce_request_test.go:192
← previousnext →1,401–1,500 of 3,900, ranked by callers