Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/sarama
/ functions
Functions
3,900 in github.com/IBM/sarama
⨍
Functions
3,900
◇
Types & classes
544
Function
TestTLS
(t *testing.T)
client_tls_test.go:17
Function
TestTopicError
(t *testing.T)
create_topics_response_test.go:166
Function
TestTopicPartitionError
(t *testing.T)
create_partitions_response_test.go:67
Function
TestTransitions
(t *testing.T)
transaction_manager_test.go:13
Function
TestTxmngInitProducerId
(t *testing.T)
async_producer_test.go:2800
Function
TestTxnAbortRecovery
(t *testing.T)
async_producer_test.go:3334
Function
TestTxnCanAbort
(t *testing.T)
async_producer_test.go:3197
Function
TestTxnCommitOffsets
(t *testing.T)
async_producer_test.go:4066
Function
TestTxnOffsetCommitGroupMetadata
(t *testing.T)
transaction_manager_test.go:500
Function
TestTxnOffsetCommitRequest
(t *testing.T)
txn_offset_commit_request_test.go:56
Function
TestTxnOffsetCommitRequestV2
(t *testing.T)
txn_offset_commit_request_test.go:73
Function
TestTxnOffsetCommitRequestV3
(t *testing.T)
txn_offset_commit_request_test.go:92
Function
TestTxnOffsetCommitResponse
(t *testing.T)
txn_offset_commit_response_test.go:33
Function
TestTxnOffsetCommitResponseV3
(t *testing.T)
txn_offset_commit_response_test.go:47
Function
TestTxnOffsetsCommit
(t *testing.T)
transaction_manager_test.go:552
Function
TestTxnProduceBatchAddPartition
(t *testing.T)
async_producer_test.go:3009
Function
TestTxnProduceBumpEpoch
(t *testing.T)
async_producer_test.go:2833
Function
TestTxnProduceRecordWithAbort
(t *testing.T)
async_producer_test.go:3122
Function
TestTxnProduceRecordWithCommit
(t *testing.T)
async_producer_test.go:2934
Function
TestTxnmgrInitProducerIdTxn
(t *testing.T)
transaction_manager_test.go:88
Function
TestTxnmgrInitProducerIdTxnRetriableErrors
TestTxnmgrInitProducerIdTxnCoordinatorLoading ensure we retry initProducerId when either FindCoordinator or InitProducerID returns ErrOffsetsLoadInPro
transaction_manager_test.go:141
Function
TestUpdateBroker
(t *testing.T)
client_test.go:1643
Function
TestUpdateFeaturesRequest
(t *testing.T)
update_features_request_test.go:20
Function
TestUpdateFeaturesResponse
(t *testing.T)
update_features_response_test.go:22
Function
TestValidGroupInstanceId
(t *testing.T)
config_test.go:533
Function
TestVersionCompare
(t *testing.T)
utils_test.go:10
Function
TestVersionMatrix
Makes sure that messages produced by all supported client versions/ compression codecs (except LZ4) combinations can be consumed by all supported cons
functional_consumer_test.go:141
Function
TestVersionMatrixIdempotent
(t *testing.T)
functional_consumer_test.go:201
Function
TestVersionMatrixLZ4
Support for LZ4 codec was introduced in v0.10.0.0 so a version matrix to test LZ4 should start with v0.10.0.0.
functional_consumer_test.go:162
Function
TestVersionMatrixZstd
Support for zstd codec was introduced in v2.1.0.0
functional_consumer_test.go:182
Function
TestVersionParsing
(t *testing.T)
utils_test.go:34
Function
TestWithCustomFallbackPartitioner
(t *testing.T)
partitioner_test.go:292
Function
TestWrongPath
We don't expect any data collector calls because the path is wrong, so we are not setting any expectations on the dataCollectorMock. It will still gen
examples/http_server/http_server_test.go:82
Function
TestZstdConfigValidation
(t *testing.T)
config_test.go:519
Function
Test_areSubscriptionsIdentical
(t *testing.T)
balance_strategy_test.go:468
Function
Test_assignPartition
(t *testing.T)
balance_strategy_test.go:1005
Function
Test_canConsumerParticipateInReassignment
(t *testing.T)
balance_strategy_test.go:831
Function
Test_deserializeTopicPartitionAssignment
(t *testing.T)
balance_strategy_test.go:211
Function
Test_filterAssignedPartitions
(t *testing.T)
balance_strategy_test.go:759
Function
Test_handleThrottledResponse
(t *testing.T)
broker_test.go:2029
Function
Test_partitionConsumer_parseResponse
(t *testing.T)
consumer_test.go:2222
Function
Test_partitionConsumer_parseResponseEmptyBatch
(t *testing.T)
consumer_test.go:2269
Function
Test_prepopulateCurrentAssignments
(t *testing.T)
balance_strategy_test.go:316
Function
Test_removeTopicPartitionFromMemberAssignments
(t *testing.T)
balance_strategy_test.go:932
Function
Test_retryOnError
(t *testing.T)
admin_test.go:3091
Function
Test_sortMemberIDsByPartitionAssignments
(t *testing.T)
balance_strategy_test.go:592
Function
Test_sortPartitions
(t *testing.T)
balance_strategy_test.go:648
Function
Test_sortPartitionsByPotentialConsumerAssignments
(t *testing.T)
balance_strategy_test.go:2373
Function
Test_stickyBalanceStrategy_Plan
(t *testing.T)
balance_strategy_test.go:1129
Function
Test_stickyBalanceStrategy_Plan_AddRemoveConsumerOneTopic
(t *testing.T)
balance_strategy_test.go:1479
Function
Test_stickyBalanceStrategy_Plan_AddRemoveTopicTwoConsumers
(t *testing.T)
balance_strategy_test.go:1546
Function
Test_stickyBalanceStrategy_Plan_AssignmentData
(t *testing.T)
balance_strategy_test.go:2076
Function
Test_stickyBalanceStrategy_Plan_AssignmentUpdatedForDeletedTopic
(t *testing.T)
balance_strategy_test.go:1868
Function
Test_stickyBalanceStrategy_Plan_AssignmentWithConflictingPreviousGenerations
(t *testing.T)
balance_strategy_test.go:2014
Function
Test_stickyBalanceStrategy_Plan_AssignmentWithMultipleGenerations1
(t *testing.T)
balance_strategy_test.go:1918
Function
Test_stickyBalanceStrategy_Plan_AssignmentWithMultipleGenerations2
(t *testing.T)
balance_strategy_test.go:1968
Function
Test_stickyBalanceStrategy_Plan_ConflictingPreviousAssignments
(t *testing.T)
balance_strategy_test.go:2057
Function
Test_stickyBalanceStrategy_Plan_KIP54_ExampleOne
(t *testing.T)
balance_strategy_test.go:1358
Function
Test_stickyBalanceStrategy_Plan_KIP54_ExampleThree
(t *testing.T)
balance_strategy_test.go:1442
Function
Test_stickyBalanceStrategy_Plan_KIP54_ExampleTwo
(t *testing.T)
balance_strategy_test.go:1398
Function
Test_stickyBalanceStrategy_Plan_LargeAssignmentWithMultipleConsumersLeaving
(t *testing.T)
balance_strategy_test.go:1697
Function
Test_stickyBalanceStrategy_Plan_MoveExistingAssignments
(t *testing.T)
balance_strategy_test.go:1815
Function
Test_stickyBalanceStrategy_Plan_NewSubscription
(t *testing.T)
balance_strategy_test.go:1737
Function
Test_stickyBalanceStrategy_Plan_NoExceptionRaisedWhenOnlySubscribedTopicDeleted
(t *testing.T)
balance_strategy_test.go:1890
Function
Test_stickyBalanceStrategy_Plan_PoorRoundRobinAssignmentScenario
(t *testing.T)
balance_strategy_test.go:1515
Function
Test_stickyBalanceStrategy_Plan_ReassignmentAfterOneConsumerAdded
(t *testing.T)
balance_strategy_test.go:1636
Function
Test_stickyBalanceStrategy_Plan_ReassignmentAfterOneConsumerLeaves
(t *testing.T)
balance_strategy_test.go:1596
Function
Test_stickyBalanceStrategy_Plan_ReassignmentWithRandomSubscriptionsAndChanges
(t *testing.T)
balance_strategy_test.go:1766
Function
Test_stickyBalanceStrategy_Plan_SameSubscriptions
(t *testing.T)
balance_strategy_test.go:1660
Function
Test_stickyBalanceStrategy_Plan_SchemaBackwardCompatibility
(t *testing.T)
balance_strategy_test.go:2037
Function
Test_stickyBalanceStrategy_Plan_Stickiness
(t *testing.T)
balance_strategy_test.go:1840
Function
Test_stickyBalanceStrategy_Plan_data_race
(t *testing.T)
balance_strategy_test.go:2098
Method
Token
()
config_test.go:60
Method
Token
()
broker_test.go:764
Method
Topic
()
consumer_group_session.go:586
Method
Topics
()
consumer.go:156
Method
Topics
()
async_producer_test.go:2666
Method
Topics
()
client.go:345
Method
TransactionCoordinator
(string)
async_producer_test.go:2683
Method
TransactionCoordinator
(transactionID string)
client.go:632
Method
TxnStatus
()
sync_producer.go:324
Method
TxnStatus
TxnStatus return current producer transaction status.
async_producer.go:73
Method
TxnStatus
()
async_producer.go:485
Method
TxnStatus
()
mocks/async_producer.go:189
Method
Unwrap
()
consumer.go:38
Method
Unwrap
()
metadata.go:29
Method
Unwrap
()
broker.go:1441
Method
Unwrap
()
create_partitions_response.go:126
Method
Unwrap
()
async_producer.go:435
Method
Unwrap
()
describe_configs_response.go:74
Method
Unwrap
()
alter_configs_response.go:32
Method
Unwrap
()
create_topics_response.go:181
Method
UpdateFeatures
UpdateFeatures sends a request to update finalized feature versions
broker.go:1028
Method
UpdateFeatures
(featureUpdates []FeatureUpdate)
admin.go:1696
Method
UpsertUserScramCredentials
Upsert SCRAM users
admin.go:177
Method
UpsertUserScramCredentials
(upsert []AlterUserScramCredentialsUpsert)
admin.go:1655
Function
WithAbsFirst
WithAbsFirst means that the partitioner handles absolute values in the same way as the reference Java implementation
partitioner.go:51
Method
WritablePartitions
(string)
async_producer_test.go:2668
Method
WritablePartitions
(topic string)
client.go:381
Method
adjustLength
(currOffset int)
length_field.go:76
← previous
next →
2,601–2,700 of 3,900, ranked by callers