MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,900 in github.com/IBM/sarama

FunctionTestClientCloseRaces
(t *testing.T)
client_test.go:1731
FunctionTestClientConnectionRefused
(t *testing.T)
client_test.go:1542
FunctionTestClientController
nolint:paralleltest
client_test.go:885
FunctionTestClientCoordinatorChangeWithConsumerOffsetsTopic
(t *testing.T)
client_test.go:1330
FunctionTestClientCoordinatorConnectionRefused
(t *testing.T)
client_test.go:1557
FunctionTestClientCoordinatorMoves
(t *testing.T)
client_test.go:1875
FunctionTestClientCoordinatorWithConsumerOffsetsTopic
(t *testing.T)
client_test.go:1276
FunctionTestClientCoordinatorWithoutConsumerOffsetsTopic
(t *testing.T)
client_test.go:1406
FunctionTestClientDoesntCachePartitionsForTopicsWithErrors
(t *testing.T)
client_test.go:87
FunctionTestClientGetBroker
(t *testing.T)
client_test.go:657
FunctionTestClientGetOffset
(t *testing.T)
client_test.go:322
FunctionTestClientLeaderEpoch
(t *testing.T)
client_test.go:1780
FunctionTestClientMetadata
(t *testing.T)
client_test.go:159
FunctionTestClientMetadataTimeout
(t *testing.T)
client_test.go:972
FunctionTestClientMetadataWithOfflineReplicas
(t *testing.T)
client_test.go:234
FunctionTestClientReceivingPartialMetadata
(t *testing.T)
client_test.go:447
FunctionTestClientReceivingUnknownTopic
(t *testing.T)
client_test.go:409
FunctionTestClientReceivingUnknownTopicWithBackoffFunc
(t *testing.T)
client_test.go:370
FunctionTestClientRefreshBehaviour
(t *testing.T)
client_test.go:550
FunctionTestClientRefreshBehaviourWhenEmptyMetadataResponse
(t *testing.T)
client_test.go:503
FunctionTestClientRefreshBrokers
(t *testing.T)
client_test.go:587
FunctionTestClientRefreshMetadataBrokerOffline
(t *testing.T)
client_test.go:620
FunctionTestClientRefreshMetadataLeaderless
covers #3514: when every partition is leaderless (e.g. all brokers rebooting), the metadata refresh path used to swallow the leaderless condition and
client_test.go:1063
FunctionTestClientRefreshesMetadataConcurrently
(t *testing.T)
client_test.go:1157
FunctionTestClientResurrectDeadSeeds
(t *testing.T)
client_test.go:700
FunctionTestClientSeedBrokers
(t *testing.T)
client_test.go:143
FunctionTestClientSingleFlightRefresh
(t *testing.T)
client_test.go:1217
FunctionTestClientUpdateMetadataErrorAndRetry
(t *testing.T)
client_test.go:1100
FunctionTestClusterAdmin
(t *testing.T)
admin_test.go:20
FunctionTestClusterAdminAlterBrokerConfig
(t *testing.T)
admin_test.go:1346
FunctionTestClusterAdminAlterConfig
(t *testing.T)
admin_test.go:1282
FunctionTestClusterAdminAlterConfigWithErrorCode
(t *testing.T)
admin_test.go:1315
FunctionTestClusterAdminAlterPartitionReassignments
(t *testing.T)
admin_test.go:586
FunctionTestClusterAdminAlterPartitionReassignmentsWithDiffVersion
(t *testing.T)
admin_test.go:640
FunctionTestClusterAdminCreateAcl
(t *testing.T)
admin_test.go:1545
FunctionTestClusterAdminCreateAclErrorHandling
(t *testing.T)
admin_test.go:1577
FunctionTestClusterAdminCreateAcls
(t *testing.T)
admin_test.go:1609
FunctionTestClusterAdminCreatePartitions
(t *testing.T)
admin_test.go:499
FunctionTestClusterAdminCreatePartitionsWithDiffVersion
(t *testing.T)
admin_test.go:528
FunctionTestClusterAdminCreatePartitionsWithoutAuthorization
(t *testing.T)
admin_test.go:557
FunctionTestClusterAdminCreateTopic
(t *testing.T)
admin_test.go:67
FunctionTestClusterAdminCreateTopicWithInvalidTopicDetail
(t *testing.T)
admin_test.go:157
FunctionTestClusterAdminCreateTopicWithoutAuthorization
(t *testing.T)
admin_test.go:185
FunctionTestClusterAdminDeleteAcl
(t *testing.T)
admin_test.go:1772
FunctionTestClusterAdminDeleteEmptyTopic
(t *testing.T)
admin_test.go:441
FunctionTestClusterAdminDeleteRecords
(t *testing.T)
admin_test.go:765
FunctionTestClusterAdminDeleteRecordsWithInCorrectBroker
(t *testing.T)
admin_test.go:904
FunctionTestClusterAdminDeleteRecordsWithLeaderNotAvailable
(t *testing.T)
admin_test.go:1005
FunctionTestClusterAdminDeleteRecordsWithUnsupportedVersion
(t *testing.T)
admin_test.go:955
FunctionTestClusterAdminDeleteTopic
(t *testing.T)
admin_test.go:412
FunctionTestClusterAdminDeleteTopicError
(t *testing.T)
admin_test.go:470
FunctionTestClusterAdminDescribeBrokerConfig
TestClusterAdminDescribeBrokerConfig ensures that a describe broker config is sent to the broker in the resource struct, _not_ the controller
admin_test.go:1232
FunctionTestClusterAdminDescribeCluster
(t *testing.T)
admin_test.go:1050
FunctionTestClusterAdminDescribeConfig
(t *testing.T)
admin_test.go:1083
FunctionTestClusterAdminDescribeConfigWithErrorCode
(t *testing.T)
admin_test.go:1197
FunctionTestClusterAdminDescribeConfigs
(t *testing.T)
admin_test.go:1153
FunctionTestClusterAdminDescribeProducers
(t *testing.T)
admin_transactions_test.go:14
FunctionTestClusterAdminDescribeProducersBrokerTransportError
(t *testing.T)
admin_transactions_test.go:168
FunctionTestClusterAdminDescribeProducersEmpty
(t *testing.T)
admin_transactions_test.go:86
FunctionTestClusterAdminDescribeProducersMultiBroker
(t *testing.T)
admin_transactions_test.go:44
FunctionTestClusterAdminDescribeProducersPartialFailure
(t *testing.T)
admin_transactions_test.go:110
FunctionTestClusterAdminDescribeProducersSurfacesPartitionError
(t *testing.T)
admin_transactions_test.go:140
FunctionTestClusterAdminDescribeTransactions
(t *testing.T)
admin_transactions_test.go:222
FunctionTestClusterAdminDescribeTransactionsEmpty
(t *testing.T)
admin_transactions_test.go:297
FunctionTestClusterAdminDescribeTransactionsExhaustsRetries
(t *testing.T)
admin_transactions_test.go:486
FunctionTestClusterAdminDescribeTransactionsMultiCoordinator
(t *testing.T)
admin_transactions_test.go:251
FunctionTestClusterAdminDescribeTransactionsPartialFailure
(t *testing.T)
admin_transactions_test.go:422
FunctionTestClusterAdminDescribeTransactionsPartialResultOnRetryExhaustion
(t *testing.T)
admin_transactions_test.go:524
FunctionTestClusterAdminDescribeTransactionsRegroupsCoordinatorsOnRetry
(t *testing.T)
admin_transactions_test.go:359
FunctionTestClusterAdminDescribeTransactionsRetriesOnRetriableCoordinatorError
(t *testing.T)
admin_transactions_test.go:321
FunctionTestClusterAdminDescribeTransactionsSurfacesTerminalError
(t *testing.T)
admin_transactions_test.go:456
FunctionTestClusterAdminDescribeUserScramCredentials
(t *testing.T)
admin_test.go:1809
FunctionTestClusterAdminImplementsTransactionClusterAdmin
(t *testing.T)
admin_transactions_test.go:826
FunctionTestClusterAdminIncrementalAlterBrokerConfig
(t *testing.T)
admin_test.go:1483
FunctionTestClusterAdminIncrementalAlterConfig
(t *testing.T)
admin_test.go:1400
FunctionTestClusterAdminIncrementalAlterConfigWithErrorCode
(t *testing.T)
admin_test.go:1441
FunctionTestClusterAdminInvalidController
(t *testing.T)
admin_test.go:43
FunctionTestClusterAdminListAcls
(t *testing.T)
admin_test.go:1729
FunctionTestClusterAdminListPartitionReassignments
(t *testing.T)
admin_test.go:679
FunctionTestClusterAdminListPartitionReassignmentsWithDiffVersion
(t *testing.T)
admin_test.go:726
FunctionTestClusterAdminListTopics
(t *testing.T)
admin_test.go:215
FunctionTestClusterAdminListTopicsRetriesOnDescribeConfigsTimeout
(t *testing.T)
admin_test.go:342
FunctionTestClusterAdminListTopicsRetriesOnTransientConnectionError
(t *testing.T)
admin_test.go:273
FunctionTestClusterAdminListTransactions
(t *testing.T)
admin_transactions_test.go:605
FunctionTestClusterAdminListTransactionsMultiBroker
(t *testing.T)
admin_transactions_test.go:636
FunctionTestClusterAdminListTransactionsPartialFailure
(t *testing.T)
admin_transactions_test.go:760
FunctionTestClusterAdminListTransactionsRejectsDurationFilterBelowV3_8
(t *testing.T)
admin_transactions_test.go:735
FunctionTestClusterAdminListTransactionsSurfacesTopLevelError
(t *testing.T)
admin_transactions_test.go:800
FunctionTestClusterAdminListTransactionsUsesV0BelowV3_8
(t *testing.T)
admin_transactions_test.go:706
FunctionTestClusterAdminListTransactionsUsesV1WithDurationFilter
(t *testing.T)
admin_transactions_test.go:677
FunctionTestClusterAdminUpdateFeatures
(t *testing.T)
admin_test.go:3161
FunctionTestCollectSuccessfully
In normal operation, we expect one access log entry, and one data collector entry. Let's assume both will succeed. We should return a HTTP 200 status.
examples/http_server/http_server_test.go:18
FunctionTestCollectionFailure
Now, let's see if we handle the case of not being able to produce to the data collector properly. In this case we should return a 500 status.
examples/http_server/http_server_test.go:54
FunctionTestCompressionCodecUnmarshal
(t *testing.T)
message_test.go:250
FunctionTestConcurrentSyncProducer
(t *testing.T)
sync_producer_test.go:214
FunctionTestConfigSourceString
(t *testing.T)
describe_configs_response_test.go:430
FunctionTestConsistentCRCHashPartitioner
(t *testing.T)
partitioner_test.go:214
FunctionTestConstructRequestRetentionTime
Validate that the constructRequest() method correctly maps Sarama's default for Config.Consumer.Offsets.Retention to the equivalent Kafka value.
offset_manager_test.go:1020
FunctionTestConsumeMessageWithNewerFetchAPIVersion
(t *testing.T)
consumer_test.go:757
FunctionTestConsumeMessageWithSessionIDs
(t *testing.T)
consumer_test.go:799
← previousnext →2,001–2,100 of 3,900, ranked by callers