MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,900 in github.com/IBM/sarama

FunctionTestConsumeMessagesFromReadReplica
(t *testing.T)
consumer_test.go:847
FunctionTestConsumeMessagesTrackLeader
TestConsumeMessagesTrackLeader ensures that in the event that leadership of a topicPartition changes and no preferredReadReplica is specified, the con
consumer_test.go:1154
FunctionTestConsume_RaceTest
(t *testing.T)
consumer_group_test.go:126
FunctionTestConsumerAbortNoGoroutineLeak
TestConsumerAbortNoGoroutineLeak verifies that brokerConsumer.abort() does not leak the subscriptionManager goroutine when children are already shutti
consumer_test.go:2474
FunctionTestConsumerBounceWithReferenceOpen
(t *testing.T)
consumer_test.go:1574
FunctionTestConsumerClosePartitionWithoutLeader
Nothing bad happens if a partition consumer that has no leader assigned at the moment is closed.
consumer_test.go:547
FunctionTestConsumerConfigValidates
(t *testing.T)
config_test.go:470
FunctionTestConsumerDuplicate
An attempt to consume the same partition twice should fail.
consumer_test.go:377
FunctionTestConsumerError
(t *testing.T)
consumer_test.go:2414
FunctionTestConsumerExpiryTicker
(t *testing.T)
consumer_test.go:1705
FunctionTestConsumerExtraOffsets
If a fetch response contains messages with offsets that are smaller then requested, then such messages are ignored.
consumer_test.go:639
FunctionTestConsumerFetchFollowerFailover
(t *testing.T)
functional_consumer_follower_fetch_test.go:18
FunctionTestConsumerGroupCooperativeRebalance
(t *testing.T)
consumer_group_cooperative_test.go:483
FunctionTestConsumerGroupCooperativeRejoinErrors
(t *testing.T)
consumer_group_cooperative_test.go:829
FunctionTestConsumerGroupCooperativeSubscriptions
(t *testing.T)
consumer_group_cooperative_test.go:791
FunctionTestConsumerGroupDeadlock
(t *testing.T)
functional_consumer_test.go:361
FunctionTestConsumerGroupDescribeInvalidVersion
(t *testing.T)
consumer_group_describe_request_test.go:72
FunctionTestConsumerGroupDescribeRequest
(t *testing.T)
consumer_group_describe_request_test.go:20
FunctionTestConsumerGroupDescribeResponse
(t *testing.T)
consumer_group_describe_response_test.go:97
FunctionTestConsumerGroupDescribeResponseEmptyAssignment
(t *testing.T)
consumer_group_describe_response_test.go:148
FunctionTestConsumerGroupDescribeResponseError
(t *testing.T)
consumer_group_describe_response_test.go:125
FunctionTestConsumerGroupJoinSync
(t *testing.T)
consumer_group_test.go:306
FunctionTestConsumerGroupMemberAssignment
(t *testing.T)
consumer_group_members_test.go:99
FunctionTestConsumerGroupMemberMetadata
(t *testing.T)
consumer_group_members_test.go:59
FunctionTestConsumerGroupMemberMetadataV1Decode
(t *testing.T)
consumer_group_members_test.go:82
FunctionTestConsumerGroupMemberMetadataV3Decode
(t *testing.T)
consumer_group_members_test.go:92
FunctionTestConsumerGroupNewSessionDuringOffsetLoad
TestConsumerGroupNewSessionDuringOffsetLoad ensures that the consumer group will retry Join and Sync group operations, if it receives a temporary Offs
consumer_group_test.go:53
FunctionTestConsumerGroupReason
(t *testing.T)
consumer_group_test.go:842
FunctionTestConsumerGroupSessionCancelCause_Rebalance
(t *testing.T)
consumer_group_test.go:803
FunctionTestConsumerGroupSessionDoesNotRetryForever
TestConsumerGroupSessionDoesNotRetryForever ensures that an error fetching the coordinator decrements the retry attempts and doesn't end up retrying f
consumer_group_test.go:210
FunctionTestConsumerGroupStrategyCompatibility
(t *testing.T)
config_test.go:576
FunctionTestConsumerHandlesExpectations
(t *testing.T)
mocks/consumer_test.go:26
FunctionTestConsumerHandlesExpectationsPausingResuming
(t *testing.T)
mocks/consumer_test.go:71
FunctionTestConsumerHighWaterMarkOffset
(t *testing.T)
functional_consumer_test.go:44
FunctionTestConsumerInterceptors
(t *testing.T)
consumer_test.go:2352
FunctionTestConsumerInterleavedClose
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
FunctionTestConsumerInvalidConfiguration
(t *testing.T)
mocks/consumer_test.go:407
FunctionTestConsumerInvalidTopic
(t *testing.T)
consumer_test.go:520
FunctionTestConsumerLeaderRefreshError
If consumer fails to refresh metadata it keeps retrying with frequency specified by `Config.Consumer.Retry.Backoff`.
consumer_test.go:490
FunctionTestConsumerLeaderRefreshErrorWithBackoffFunc
(t *testing.T)
consumer_test.go:500
FunctionTestConsumerMeetsErrorsDrainedExpectation
(t *testing.T)
mocks/consumer_test.go:254
FunctionTestConsumerMessageWithKey
If a message is given a key, it can be correctly collected while consuming.
consumer_test.go:95
FunctionTestConsumerMetadataRequest
(t *testing.T)
consumer_metadata_request_test.go:19
FunctionTestConsumerMetadataResponseError
(t *testing.T)
consumer_metadata_response_test.go:26
FunctionTestConsumerMetadataResponseSuccess
(t *testing.T)
consumer_metadata_response_test.go:40
FunctionTestConsumerNonSequentialOffsets
It is fine if offsets of fetched messages are not sequential (although strictly increasing!).
consumer_test.go:1267
FunctionTestConsumerOffsetManual
If a particular offset is provided then messages are consumed starting from that offset.
consumer_test.go:32
FunctionTestConsumerOffsetNewest
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
FunctionTestConsumerOffsetOldest
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
FunctionTestConsumerOffsetOutOfRange
(t *testing.T)
consumer_test.go:1673
FunctionTestConsumerOffsetsAreManagedCorrectlyWithOffsetOldest
(t *testing.T)
mocks/consumer_test.go:337
FunctionTestConsumerOffsetsAreManagedCorrectlyWithSpecifiedOffset
(t *testing.T)
mocks/consumer_test.go:369
FunctionTestConsumerPartialBatchRecovery
TestConsumerPartialBatchRecovery exercises the partial-batch recovery path (#1657): the consumer's initial Fetch.Default is smaller than the produced
functional_consumer_test.go:87
FunctionTestConsumerPause
(t *testing.T)
consumer_test.go:2733
FunctionTestConsumerQueueSubscriptionAfterUnref
(t *testing.T)
consumer_test.go:2422
FunctionTestConsumerRebalancingMultiplePartitions
If leadership for a partition is changing then consumer resolves the new leader and switches to it.
consumer_test.go:1323
FunctionTestConsumerReceivingFetchResponseWithTooOldRecords
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
FunctionTestConsumerRecreate
It is possible to close a partition consumer and create the same anew.
consumer_test.go:336
FunctionTestConsumerReturnsNonconsumedErrorsOnClose
(t *testing.T)
mocks/consumer_test.go:150
FunctionTestConsumerShouldNotRetrySessionIfContextCancelled
(t *testing.T)
consumer_group_test.go:252
FunctionTestConsumerShutsDownOutOfRange
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
FunctionTestConsumerTimestamps
(t *testing.T)
consumer_test.go:1979
FunctionTestConsumerTopicMetadata
(t *testing.T)
mocks/consumer_test.go:281
FunctionTestConsumerUnexpectedTopicMetadata
(t *testing.T)
mocks/consumer_test.go:324
FunctionTestConsumerViolatesMessagesDrainedExpectation
(t *testing.T)
mocks/consumer_test.go:229
FunctionTestConsumerWithExpectationsOnUnconsumedPartition
(t *testing.T)
mocks/consumer_test.go:196
FunctionTestConsumerWithWrongOffsetExpectation
(t *testing.T)
mocks/consumer_test.go:210
FunctionTestConsumerWithoutExpectationsOnPartition
(t *testing.T)
mocks/consumer_test.go:178
FunctionTestCreateAclsRequestv0
(t *testing.T)
acl_create_request_test.go:41
FunctionTestCreateAclsRequestv1
(t *testing.T)
acl_create_request_test.go:63
FunctionTestCreateAclsRequestv2
(t *testing.T)
acl_create_request_test.go:86
FunctionTestCreateAclsResponse
(t *testing.T)
acl_create_response_test.go:40
FunctionTestCreatePartitionsRequest
(t *testing.T)
create_partitions_request_test.go:51
FunctionTestCreatePartitionsResponse
(t *testing.T)
create_partitions_response_test.go:40
FunctionTestCreatePartitionsResponseV2
(t *testing.T)
create_partitions_response_test.go:95
FunctionTestCreateTopicsRequest
(t *testing.T)
create_topics_request_test.go:50
FunctionTestCreateTopicsResponse
(t *testing.T)
create_topics_response_test.go:114
FunctionTestCreateWithCredentialsCache
(t *testing.T)
kerberos_client_test.go:132
FunctionTestCreateWithDisablePAFXFAST
(t *testing.T)
kerberos_client_test.go:152
FunctionTestCreateWithKeyTab
(t *testing.T)
kerberos_client_test.go:110
FunctionTestCreateWithPassword
(t *testing.T)
kerberos_client_test.go:80
FunctionTestCustomPartitionerWithConsistentHashing
(t *testing.T)
partitioner_test.go:248
FunctionTestDecodeRequestErrorReturns
(t *testing.T)
request_test.go:670
FunctionTestDecodeResponseHeaderV0
(t *testing.T)
broker_test.go:458
FunctionTestDecodeSASLv0Length
(t *testing.T)
broker_test.go:498
FunctionTestDecodingControlRecords
(t *testing.T)
control_record_test.go:50
FunctionTestDecompress
(t *testing.T)
decompress_test.go:12
FunctionTestDefaultConfigValidates
(t *testing.T)
config_test.go:28
FunctionTestDefaultRecords
(t *testing.T)
records_test.go:86
FunctionTestDeleteAclsRequest
(t *testing.T)
acl_delete_request_test.go:80
FunctionTestDeleteAclsRequestV1
(t *testing.T)
acl_delete_request_test.go:108
FunctionTestDeleteAclsRequestV2
(t *testing.T)
acl_delete_request_test.go:129
FunctionTestDeleteAclsResponse
(t *testing.T)
acl_delete_response_test.go:63
FunctionTestDeleteAclsResponseV1
(t *testing.T)
acl_delete_response_test.go:77
FunctionTestDeleteAclsResponseV2
(t *testing.T)
acl_delete_response_test.go:92
FunctionTestDeleteConsumerGroup
(t *testing.T)
admin_test.go:2860
FunctionTestDeleteGroupsRequest
(t *testing.T)
delete_groups_request_test.go:40
FunctionTestDeleteGroupsRequestV2
(t *testing.T)
delete_groups_request_test.go:56
FunctionTestDeleteGroupsResponse
(t *testing.T)
delete_groups_response_test.go:55
FunctionTestDeleteGroupsResponseV2
(t *testing.T)
delete_groups_response_test.go:86
← previousnext →2,101–2,200 of 3,900, ranked by callers