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
TestConsumeMessagesFromReadReplica
(t *testing.T)
consumer_test.go:847
Function
TestConsumeMessagesTrackLeader
TestConsumeMessagesTrackLeader ensures that in the event that leadership of a topicPartition changes and no preferredReadReplica is specified, the con
consumer_test.go:1154
Function
TestConsume_RaceTest
(t *testing.T)
consumer_group_test.go:126
Function
TestConsumerAbortNoGoroutineLeak
TestConsumerAbortNoGoroutineLeak verifies that brokerConsumer.abort() does not leak the subscriptionManager goroutine when children are already shutti
consumer_test.go:2474
Function
TestConsumerBounceWithReferenceOpen
(t *testing.T)
consumer_test.go:1574
Function
TestConsumerClosePartitionWithoutLeader
Nothing bad happens if a partition consumer that has no leader assigned at the moment is closed.
consumer_test.go:547
Function
TestConsumerConfigValidates
(t *testing.T)
config_test.go:470
Function
TestConsumerDuplicate
An attempt to consume the same partition twice should fail.
consumer_test.go:377
Function
TestConsumerError
(t *testing.T)
consumer_test.go:2414
Function
TestConsumerExpiryTicker
(t *testing.T)
consumer_test.go:1705
Function
TestConsumerExtraOffsets
If a fetch response contains messages with offsets that are smaller then requested, then such messages are ignored.
consumer_test.go:639
Function
TestConsumerFetchFollowerFailover
(t *testing.T)
functional_consumer_follower_fetch_test.go:18
Function
TestConsumerGroupCooperativeRebalance
(t *testing.T)
consumer_group_cooperative_test.go:483
Function
TestConsumerGroupCooperativeRejoinErrors
(t *testing.T)
consumer_group_cooperative_test.go:829
Function
TestConsumerGroupCooperativeSubscriptions
(t *testing.T)
consumer_group_cooperative_test.go:791
Function
TestConsumerGroupDeadlock
(t *testing.T)
functional_consumer_test.go:361
Function
TestConsumerGroupDescribeInvalidVersion
(t *testing.T)
consumer_group_describe_request_test.go:72
Function
TestConsumerGroupDescribeRequest
(t *testing.T)
consumer_group_describe_request_test.go:20
Function
TestConsumerGroupDescribeResponse
(t *testing.T)
consumer_group_describe_response_test.go:97
Function
TestConsumerGroupDescribeResponseEmptyAssignment
(t *testing.T)
consumer_group_describe_response_test.go:148
Function
TestConsumerGroupDescribeResponseError
(t *testing.T)
consumer_group_describe_response_test.go:125
Function
TestConsumerGroupJoinSync
(t *testing.T)
consumer_group_test.go:306
Function
TestConsumerGroupMemberAssignment
(t *testing.T)
consumer_group_members_test.go:99
Function
TestConsumerGroupMemberMetadata
(t *testing.T)
consumer_group_members_test.go:59
Function
TestConsumerGroupMemberMetadataV1Decode
(t *testing.T)
consumer_group_members_test.go:82
Function
TestConsumerGroupMemberMetadataV3Decode
(t *testing.T)
consumer_group_members_test.go:92
Function
TestConsumerGroupNewSessionDuringOffsetLoad
TestConsumerGroupNewSessionDuringOffsetLoad ensures that the consumer group will retry Join and Sync group operations, if it receives a temporary Offs
consumer_group_test.go:53
Function
TestConsumerGroupReason
(t *testing.T)
consumer_group_test.go:842
Function
TestConsumerGroupSessionCancelCause_Rebalance
(t *testing.T)
consumer_group_test.go:803
Function
TestConsumerGroupSessionDoesNotRetryForever
TestConsumerGroupSessionDoesNotRetryForever ensures that an error fetching the coordinator decrements the retry attempts and doesn't end up retrying f
consumer_group_test.go:210
Function
TestConsumerGroupStrategyCompatibility
(t *testing.T)
config_test.go:576
Function
TestConsumerHandlesExpectations
(t *testing.T)
mocks/consumer_test.go:26
Function
TestConsumerHandlesExpectationsPausingResuming
(t *testing.T)
mocks/consumer_test.go:71
Function
TestConsumerHighWaterMarkOffset
(t *testing.T)
functional_consumer_test.go:44
Function
TestConsumerInterceptors
(t *testing.T)
consumer_test.go:2352
Function
TestConsumerInterleavedClose
When two partitions have the same broker as the leader, if one partition consumer channel buffer is full then that does not affect the ability to read
consumer_test.go:1526
Function
TestConsumerInvalidConfiguration
(t *testing.T)
mocks/consumer_test.go:407
Function
TestConsumerInvalidTopic
(t *testing.T)
consumer_test.go:520
Function
TestConsumerLeaderRefreshError
If consumer fails to refresh metadata it keeps retrying with frequency specified by `Config.Consumer.Retry.Backoff`.
consumer_test.go:490
Function
TestConsumerLeaderRefreshErrorWithBackoffFunc
(t *testing.T)
consumer_test.go:500
Function
TestConsumerMeetsErrorsDrainedExpectation
(t *testing.T)
mocks/consumer_test.go:254
Function
TestConsumerMessageWithKey
If a message is given a key, it can be correctly collected while consuming.
consumer_test.go:95
Function
TestConsumerMetadataRequest
(t *testing.T)
consumer_metadata_request_test.go:19
Function
TestConsumerMetadataResponseError
(t *testing.T)
consumer_metadata_response_test.go:26
Function
TestConsumerMetadataResponseSuccess
(t *testing.T)
consumer_metadata_response_test.go:40
Function
TestConsumerNonSequentialOffsets
It is fine if offsets of fetched messages are not sequential (although strictly increasing!).
consumer_test.go:1267
Function
TestConsumerOffsetManual
If a particular offset is provided then messages are consumed starting from that offset.
consumer_test.go:32
Function
TestConsumerOffsetNewest
If `OffsetNewest` is passed as the initial offset then the first consumed message indeed corresponds to the offset that broker claims to be the newest
consumer_test.go:243
Function
TestConsumerOffsetOldest
If `OffsetOldest` is passed as the initial offset then the first consumed message is indeed the first available in the partition.
consumer_test.go:289
Function
TestConsumerOffsetOutOfRange
(t *testing.T)
consumer_test.go:1673
Function
TestConsumerOffsetsAreManagedCorrectlyWithOffsetOldest
(t *testing.T)
mocks/consumer_test.go:337
Function
TestConsumerOffsetsAreManagedCorrectlyWithSpecifiedOffset
(t *testing.T)
mocks/consumer_test.go:369
Function
TestConsumerPartialBatchRecovery
TestConsumerPartialBatchRecovery exercises the partial-batch recovery path (#1657): the consumer's initial Fetch.Default is smaller than the produced
functional_consumer_test.go:87
Function
TestConsumerPause
(t *testing.T)
consumer_test.go:2733
Function
TestConsumerQueueSubscriptionAfterUnref
(t *testing.T)
consumer_test.go:2422
Function
TestConsumerRebalancingMultiplePartitions
If leadership for a partition is changing then consumer resolves the new leader and switches to it.
consumer_test.go:1323
Function
TestConsumerReceivingFetchResponseWithTooOldRecords
In some situations broker may return a block containing only messages older then requested, even though there would be more messages if higher offset
consumer_test.go:710
Function
TestConsumerRecreate
It is possible to close a partition consumer and create the same anew.
consumer_test.go:336
Function
TestConsumerReturnsNonconsumedErrorsOnClose
(t *testing.T)
mocks/consumer_test.go:150
Function
TestConsumerShouldNotRetrySessionIfContextCancelled
(t *testing.T)
consumer_group_test.go:252
Function
TestConsumerShutsDownOutOfRange
If the initial offset passed on partition consumer creation is out of the actual offset range for the partition, then the partition consumer stops imm
consumer_test.go:601
Function
TestConsumerTimestamps
(t *testing.T)
consumer_test.go:1979
Function
TestConsumerTopicMetadata
(t *testing.T)
mocks/consumer_test.go:281
Function
TestConsumerUnexpectedTopicMetadata
(t *testing.T)
mocks/consumer_test.go:324
Function
TestConsumerViolatesMessagesDrainedExpectation
(t *testing.T)
mocks/consumer_test.go:229
Function
TestConsumerWithExpectationsOnUnconsumedPartition
(t *testing.T)
mocks/consumer_test.go:196
Function
TestConsumerWithWrongOffsetExpectation
(t *testing.T)
mocks/consumer_test.go:210
Function
TestConsumerWithoutExpectationsOnPartition
(t *testing.T)
mocks/consumer_test.go:178
Function
TestCreateAclsRequestv0
(t *testing.T)
acl_create_request_test.go:41
Function
TestCreateAclsRequestv1
(t *testing.T)
acl_create_request_test.go:63
Function
TestCreateAclsRequestv2
(t *testing.T)
acl_create_request_test.go:86
Function
TestCreateAclsResponse
(t *testing.T)
acl_create_response_test.go:40
Function
TestCreatePartitionsRequest
(t *testing.T)
create_partitions_request_test.go:51
Function
TestCreatePartitionsResponse
(t *testing.T)
create_partitions_response_test.go:40
Function
TestCreatePartitionsResponseV2
(t *testing.T)
create_partitions_response_test.go:95
Function
TestCreateTopicsRequest
(t *testing.T)
create_topics_request_test.go:50
Function
TestCreateTopicsResponse
(t *testing.T)
create_topics_response_test.go:114
Function
TestCreateWithCredentialsCache
(t *testing.T)
kerberos_client_test.go:132
Function
TestCreateWithDisablePAFXFAST
(t *testing.T)
kerberos_client_test.go:152
Function
TestCreateWithKeyTab
(t *testing.T)
kerberos_client_test.go:110
Function
TestCreateWithPassword
(t *testing.T)
kerberos_client_test.go:80
Function
TestCustomPartitionerWithConsistentHashing
(t *testing.T)
partitioner_test.go:248
Function
TestDecodeRequestErrorReturns
(t *testing.T)
request_test.go:670
Function
TestDecodeResponseHeaderV0
(t *testing.T)
broker_test.go:458
Function
TestDecodeSASLv0Length
(t *testing.T)
broker_test.go:498
Function
TestDecodingControlRecords
(t *testing.T)
control_record_test.go:50
Function
TestDecompress
(t *testing.T)
decompress_test.go:12
Function
TestDefaultConfigValidates
(t *testing.T)
config_test.go:28
Function
TestDefaultRecords
(t *testing.T)
records_test.go:86
Function
TestDeleteAclsRequest
(t *testing.T)
acl_delete_request_test.go:80
Function
TestDeleteAclsRequestV1
(t *testing.T)
acl_delete_request_test.go:108
Function
TestDeleteAclsRequestV2
(t *testing.T)
acl_delete_request_test.go:129
Function
TestDeleteAclsResponse
(t *testing.T)
acl_delete_response_test.go:63
Function
TestDeleteAclsResponseV1
(t *testing.T)
acl_delete_response_test.go:77
Function
TestDeleteAclsResponseV2
(t *testing.T)
acl_delete_response_test.go:92
Function
TestDeleteConsumerGroup
(t *testing.T)
admin_test.go:2860
Function
TestDeleteGroupsRequest
(t *testing.T)
delete_groups_request_test.go:40
Function
TestDeleteGroupsRequestV2
(t *testing.T)
delete_groups_request_test.go:56
Function
TestDeleteGroupsResponse
(t *testing.T)
delete_groups_response_test.go:55
Function
TestDeleteGroupsResponseV2
(t *testing.T)
delete_groups_response_test.go:86
← previous
next →
2,101–2,200 of 3,900, ranked by callers