Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/sarama
/ functions
Functions
3,668 in github.com/IBM/sarama
⨍
Functions
3,668
◇
Types & classes
511
↓ 1 callers
Function
describeTopic
describeTopic returns the current replica set for every partition, indexed by partition ID. The inner slice mirrors what Kafka stores: an ordered list
examples/alter_partition_reassignments/main.go:122
↓ 1 callers
Method
dispatch
()
consumer.go:664
↓ 1 callers
Function
doListenerTLSTest
(t *testing.T, expectSuccess bool, serverConfig, clientConfig *tls.Config)
client_tls_test.go:185
↓ 1 callers
Function
downgradeFlexibleDecoder
(pd packetDecoder)
encoder_decoder.go:139
↓ 1 callers
Function
downgradeFlexibleEncoder
(pe packetEncoder)
encoder_decoder.go:146
↓ 1 callers
Function
dupInt32Slice
(input []int32)
utils.go:34
↓ 1 callers
Method
encode
(pe packetEncoder)
find_coordinator_response.go:56
↓ 1 callers
Method
encode
(key, value packetEncoder)
control_record.go:63
↓ 1 callers
Method
encode
(pe packetEncoder, version int16)
create_topics_response.go:226
↓ 1 callers
Method
encodeHeader
(headerVersion int16, correlationId int32, payloadLength uint32)
mockbroker.go:347
↓ 1 callers
Method
encodeRecords
(pe packetEncoder)
record_batch.go:204
↓ 1 callers
Function
encodeSubscriberPlanWithGenerationForBenchmark
(b *testing.B, assignments map[string][]int32, generation int32)
balance_strategy_test.go:2301
↓ 1 callers
Function
encodeSubscriberPlanWithOldSchema
(t *testing.T, assignments map[string][]int32)
balance_strategy_test.go:2313
↓ 1 callers
Method
encodeTaggedFields
(pe packetEncoder)
api_versions_response.go:176
↓ 1 callers
Method
encodeTaggedFields
(pe packetEncoder)
produce_response.go:226
↓ 1 callers
Method
encodeTaggedFields
(pe packetEncoder)
produce_response.go:364
↓ 1 callers
Method
encodeTaggedFields
(pe packetEncoder)
fetch_response.go:348
↓ 1 callers
Function
ensureFullyReplicated
(t testing.TB, timeout time.Duration, retry time.Duration)
functional_test.go:500
↓ 1 callers
Function
existingEnvironment
(ctx context.Context, env *testEnvironment)
functional_test.go:264
↓ 1 callers
Method
feed
(partition int32)
async_producer_test.go:121
↓ 1 callers
Method
fetchInitialOffset
(topic string, partition int32, retries int)
offset_manager.go:151
↓ 1 callers
Method
fetchNewMessages
fetchNewMessages can be nil if no fetch is made, it can occur when all partitions are paused
consumer.go:1304
↓ 1 callers
Method
findStrategy
findStrategy returns the BalanceStrategy with the specified protocolName from the slice provided.
consumer_group.go:637
↓ 1 callers
Function
formatAssignment
(assignment [][]int32)
examples/alter_partition_reassignments/main.go:239
↓ 1 callers
Method
getAbortedTransactions
()
fetch_response.go:374
↓ 1 callers
Method
getArrayLength
()
real_decoder.go:402
↓ 1 callers
Function
getBalanceScore
Calculate the balance score of the given assignment, as the sum of assigned partitions size difference of all consumer pairs. A perfectly balanced ass
balance_strategy.go:490
↓ 1 callers
Method
getControlRecord
()
records.go:228
↓ 1 callers
Function
getDecoder
(params ZstdDecoderParams, maxDecodedSize int)
zstd.go:86
↓ 1 callers
Method
getEmptyTaggedFieldArray
()
real_decoder.go:420
↓ 1 callers
Method
getError
(group, topic string, partition int32)
mockresponses.go:538
↓ 1 callers
Method
getError
(topic string, partition int32)
mockresponses.go:599
↓ 1 callers
Function
getHeaderLength
(headerVersion int16)
broker.go:1380
↓ 1 callers
Method
getHighWaterMark
(topic string, partition int32)
mockresponses.go:399
↓ 1 callers
Method
getInt32Array
()
real_decoder.go:261
↓ 1 callers
Method
getInt32Array
()
real_decoder.go:556
↓ 1 callers
Method
getInt64Array
()
real_decoder.go:590
↓ 1 callers
Method
getInt8
primitives
real_decoder.go:33
↓ 1 callers
Method
getMessage
(topic string, partition int32, offset int64)
mockresponses.go:371
↓ 1 callers
Method
getMessageCount
(topic string, partition int32)
mockresponses.go:385
↓ 1 callers
Method
getNullableInt32Array
()
packet_decoder.go:39
↓ 1 callers
Method
getOffset
(topic string, partition int32, time int64)
mockresponses.go:263
↓ 1 callers
Method
getOffset
(topic string, partitionID int32, timestamp int64)
client.go:896
↓ 1 callers
Function
getOrRegisterTopicHistogram
(name string, topic string, r metrics.Registry)
metrics.go:42
↓ 1 callers
Function
getPartitions
(c sarama.Consumer)
tools/kafka-console-consumer/kafka-console-consumer.go:134
↓ 1 callers
Function
getRandomSublist
(r *rand.Rand, s []string)
balance_strategy_test.go:2346
↓ 1 callers
Method
getString
()
real_decoder.go:214
↓ 1 callers
Method
getString
()
real_decoder.go:527
↓ 1 callers
Method
getSubset
(length int)
packet_decoder.go:45
↓ 1 callers
Function
getTCPConnSockError
(_ *net.TCPConn)
sockopt_other.go:7
↓ 1 callers
Method
getTheActualPartitionToBeMoved
(partition topicPartitionAssignment, oldConsumer, newConsumer string)
balance_strategy.go:1045
↓ 1 callers
Method
getVarint
()
real_decoder.go:73
↓ 1 callers
Function
gzipCompress
(level int, data []byte)
compress.go:129
↓ 1 callers
Method
handle
(packets []byte, err error)
broker.go:140
↓ 1 callers
Method
handleErrorFor
(err error, targets partitionTargets)
offset_manager.go:473
↓ 1 callers
Method
handleRequests
(conn io.ReadWriteCloser, idx int, wg *sync.WaitGroup)
mockbroker.go:233
↓ 1 callers
Method
handleResponse
(broker *Broker, req *OffsetCommitRequest, resp *OffsetCommitResponse)
offset_manager.go:413
↓ 1 callers
Method
handleResponses
handleResponses handles the response codes left for us by our subscriptions, and abandons ones that have been closed
consumer.go:1205
↓ 1 callers
Method
handleSuccess
(sent *produceSet, response *ProduceResponse)
async_producer.go:1366
↓ 1 callers
Method
handleTxnError
(producer sarama.AsyncProducer, message *sarama.ConsumerMessage, session sarama.ConsumerGroupSession, err erro
examples/exactly_once/main.go:280
↓ 1 callers
Method
hasCycles
lint:ignore U1000 // this is used but only in unittests as a helper (which are excluded by the integration build tag)
balance_strategy.go:1123
↓ 1 callers
Method
hasGeneration
()
sticky_assignor_user_data.go:10
↓ 1 callers
Method
hasTopic
(topic string)
balance_strategy.go:482
↓ 1 callers
Method
hasTopics
(topics []string)
metadata.go:142
↓ 1 callers
Method
headerVersion
()
elect_leaders_response.go:136
↓ 1 callers
Method
heartbeatLoop
()
consumer_group_session.go:303
↓ 1 callers
Method
heartbeatRequest
(coordinator *Broker, memberID string, generationID int32)
consumer_group.go:703
↓ 1 callers
Method
hmac
(key []byte, extra []byte)
scram_formatter.go:32
↓ 1 callers
Method
in
lint:ignore U1000 // this is used but only in unittests as a helper (which are excluded by the integration build tag)
balance_strategy.go:1108
↓ 1 callers
Function
indexOfSubList
lint:ignore U1000 // this is used but only in unittests as a helper (which are excluded by the integration build tag)
balance_strategy.go:1173
↓ 1 callers
Method
initializeTransactions
re-init producer-id and producer-epoch if needed.
transaction_manager.go:955
↓ 1 callers
Method
interceptors
(msg *ConsumerMessage)
consumer.go:1026
↓ 1 callers
Function
isBalanced
Determine whether the current assignment plan is balanced.
balance_strategy.go:507
↓ 1 callers
Method
isFlexible
()
elect_leaders_request.go:99
↓ 1 callers
Method
isFlexible
()
encoder_decoder.go:70
↓ 1 callers
Method
isFlexible
()
elect_leaders_response.go:147
↓ 1 callers
Method
isFlexibleVersion
(version int16)
alter_configs_request.go:161
↓ 1 callers
Method
isFlexibleVersion
(version int16)
init_producer_id_response.go:72
↓ 1 callers
Method
isFlexibleVersion
(version int16)
acl_delete_response.go:82
↓ 1 callers
Method
isFlexibleVersion
(version int16)
offset_commit_request.go:282
↓ 1 callers
Method
isFlexibleVersion
(version int16)
acl_delete_request.go:75
↓ 1 callers
Method
isFlexibleVersion
(version int16)
leave_group_request.go:120
↓ 1 callers
Method
isFlexibleVersion
(version int16)
describe_log_dirs_request.go:107
↓ 1 callers
Method
isFlexibleVersion
(version int16)
describe_producers_response.go:255
↓ 1 callers
Method
isFlexibleVersion
(version int16)
offset_fetch_response.go:343
↓ 1 callers
Method
isFlexibleVersion
(version int16)
find_coordinator_response.go:104
↓ 1 callers
Method
isFlexibleVersion
(version int16)
update_features_response.go:134
↓ 1 callers
Method
isFlexibleVersion
(version int16)
api_versions_response.go:350
↓ 1 callers
Method
isFlexibleVersion
(version int16)
acl_create_request.go:74
↓ 1 callers
Method
isFlexibleVersion
(version int16)
add_partitions_to_txn_response.go:114
↓ 1 callers
Method
isFlexibleVersion
(version int16)
join_group_response.go:209
↓ 1 callers
Method
isFlexibleVersion
(version int16)
create_topics_request.go:140
↓ 1 callers
Method
isFlexibleVersion
(version int16)
alter_client_quotas_request.go:236
↓ 1 callers
Method
isFlexibleVersion
(version int16)
list_transactions_request.go:120
↓ 1 callers
Method
isFlexibleVersion
(version int16)
add_partitions_to_txn_request.go:105
↓ 1 callers
Method
isFlexibleVersion
(version int16)
describe_configs_request.go:147
↓ 1 callers
Method
isFlexibleVersion
(version int16)
alter_partition_reassignments_response.go:172
↓ 1 callers
Method
isFlexibleVersion
(version int16)
alter_partition_reassignments_request.go:134
↓ 1 callers
Method
isFlexibleVersion
(version int16)
alter_user_scram_credentials_response.go:102
↓ 1 callers
Method
isFlexibleVersion
(version int16)
create_partitions_request.go:95
← previous
next →
1,001–1,100 of 3,668, ranked by callers