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
TestClientCloseRaces
(t *testing.T)
client_test.go:1731
Function
TestClientConnectionRefused
(t *testing.T)
client_test.go:1542
Function
TestClientController
nolint:paralleltest
client_test.go:885
Function
TestClientCoordinatorChangeWithConsumerOffsetsTopic
(t *testing.T)
client_test.go:1330
Function
TestClientCoordinatorConnectionRefused
(t *testing.T)
client_test.go:1557
Function
TestClientCoordinatorMoves
(t *testing.T)
client_test.go:1875
Function
TestClientCoordinatorWithConsumerOffsetsTopic
(t *testing.T)
client_test.go:1276
Function
TestClientCoordinatorWithoutConsumerOffsetsTopic
(t *testing.T)
client_test.go:1406
Function
TestClientDoesntCachePartitionsForTopicsWithErrors
(t *testing.T)
client_test.go:87
Function
TestClientGetBroker
(t *testing.T)
client_test.go:657
Function
TestClientGetOffset
(t *testing.T)
client_test.go:322
Function
TestClientLeaderEpoch
(t *testing.T)
client_test.go:1780
Function
TestClientMetadata
(t *testing.T)
client_test.go:159
Function
TestClientMetadataTimeout
(t *testing.T)
client_test.go:972
Function
TestClientMetadataWithOfflineReplicas
(t *testing.T)
client_test.go:234
Function
TestClientReceivingPartialMetadata
(t *testing.T)
client_test.go:447
Function
TestClientReceivingUnknownTopic
(t *testing.T)
client_test.go:409
Function
TestClientReceivingUnknownTopicWithBackoffFunc
(t *testing.T)
client_test.go:370
Function
TestClientRefreshBehaviour
(t *testing.T)
client_test.go:550
Function
TestClientRefreshBehaviourWhenEmptyMetadataResponse
(t *testing.T)
client_test.go:503
Function
TestClientRefreshBrokers
(t *testing.T)
client_test.go:587
Function
TestClientRefreshMetadataBrokerOffline
(t *testing.T)
client_test.go:620
Function
TestClientRefreshMetadataLeaderless
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
Function
TestClientRefreshesMetadataConcurrently
(t *testing.T)
client_test.go:1157
Function
TestClientResurrectDeadSeeds
(t *testing.T)
client_test.go:700
Function
TestClientSeedBrokers
(t *testing.T)
client_test.go:143
Function
TestClientSingleFlightRefresh
(t *testing.T)
client_test.go:1217
Function
TestClientUpdateMetadataErrorAndRetry
(t *testing.T)
client_test.go:1100
Function
TestClusterAdmin
(t *testing.T)
admin_test.go:20
Function
TestClusterAdminAlterBrokerConfig
(t *testing.T)
admin_test.go:1346
Function
TestClusterAdminAlterConfig
(t *testing.T)
admin_test.go:1282
Function
TestClusterAdminAlterConfigWithErrorCode
(t *testing.T)
admin_test.go:1315
Function
TestClusterAdminAlterPartitionReassignments
(t *testing.T)
admin_test.go:586
Function
TestClusterAdminAlterPartitionReassignmentsWithDiffVersion
(t *testing.T)
admin_test.go:640
Function
TestClusterAdminCreateAcl
(t *testing.T)
admin_test.go:1545
Function
TestClusterAdminCreateAclErrorHandling
(t *testing.T)
admin_test.go:1577
Function
TestClusterAdminCreateAcls
(t *testing.T)
admin_test.go:1609
Function
TestClusterAdminCreatePartitions
(t *testing.T)
admin_test.go:499
Function
TestClusterAdminCreatePartitionsWithDiffVersion
(t *testing.T)
admin_test.go:528
Function
TestClusterAdminCreatePartitionsWithoutAuthorization
(t *testing.T)
admin_test.go:557
Function
TestClusterAdminCreateTopic
(t *testing.T)
admin_test.go:67
Function
TestClusterAdminCreateTopicWithInvalidTopicDetail
(t *testing.T)
admin_test.go:157
Function
TestClusterAdminCreateTopicWithoutAuthorization
(t *testing.T)
admin_test.go:185
Function
TestClusterAdminDeleteAcl
(t *testing.T)
admin_test.go:1772
Function
TestClusterAdminDeleteEmptyTopic
(t *testing.T)
admin_test.go:441
Function
TestClusterAdminDeleteRecords
(t *testing.T)
admin_test.go:765
Function
TestClusterAdminDeleteRecordsWithInCorrectBroker
(t *testing.T)
admin_test.go:904
Function
TestClusterAdminDeleteRecordsWithLeaderNotAvailable
(t *testing.T)
admin_test.go:1005
Function
TestClusterAdminDeleteRecordsWithUnsupportedVersion
(t *testing.T)
admin_test.go:955
Function
TestClusterAdminDeleteTopic
(t *testing.T)
admin_test.go:412
Function
TestClusterAdminDeleteTopicError
(t *testing.T)
admin_test.go:470
Function
TestClusterAdminDescribeBrokerConfig
TestClusterAdminDescribeBrokerConfig ensures that a describe broker config is sent to the broker in the resource struct, _not_ the controller
admin_test.go:1232
Function
TestClusterAdminDescribeCluster
(t *testing.T)
admin_test.go:1050
Function
TestClusterAdminDescribeConfig
(t *testing.T)
admin_test.go:1083
Function
TestClusterAdminDescribeConfigWithErrorCode
(t *testing.T)
admin_test.go:1197
Function
TestClusterAdminDescribeConfigs
(t *testing.T)
admin_test.go:1153
Function
TestClusterAdminDescribeProducers
(t *testing.T)
admin_transactions_test.go:14
Function
TestClusterAdminDescribeProducersBrokerTransportError
(t *testing.T)
admin_transactions_test.go:168
Function
TestClusterAdminDescribeProducersEmpty
(t *testing.T)
admin_transactions_test.go:86
Function
TestClusterAdminDescribeProducersMultiBroker
(t *testing.T)
admin_transactions_test.go:44
Function
TestClusterAdminDescribeProducersPartialFailure
(t *testing.T)
admin_transactions_test.go:110
Function
TestClusterAdminDescribeProducersSurfacesPartitionError
(t *testing.T)
admin_transactions_test.go:140
Function
TestClusterAdminDescribeTransactions
(t *testing.T)
admin_transactions_test.go:222
Function
TestClusterAdminDescribeTransactionsEmpty
(t *testing.T)
admin_transactions_test.go:297
Function
TestClusterAdminDescribeTransactionsExhaustsRetries
(t *testing.T)
admin_transactions_test.go:486
Function
TestClusterAdminDescribeTransactionsMultiCoordinator
(t *testing.T)
admin_transactions_test.go:251
Function
TestClusterAdminDescribeTransactionsPartialFailure
(t *testing.T)
admin_transactions_test.go:422
Function
TestClusterAdminDescribeTransactionsPartialResultOnRetryExhaustion
(t *testing.T)
admin_transactions_test.go:524
Function
TestClusterAdminDescribeTransactionsRegroupsCoordinatorsOnRetry
(t *testing.T)
admin_transactions_test.go:359
Function
TestClusterAdminDescribeTransactionsRetriesOnRetriableCoordinatorError
(t *testing.T)
admin_transactions_test.go:321
Function
TestClusterAdminDescribeTransactionsSurfacesTerminalError
(t *testing.T)
admin_transactions_test.go:456
Function
TestClusterAdminDescribeUserScramCredentials
(t *testing.T)
admin_test.go:1809
Function
TestClusterAdminImplementsTransactionClusterAdmin
(t *testing.T)
admin_transactions_test.go:826
Function
TestClusterAdminIncrementalAlterBrokerConfig
(t *testing.T)
admin_test.go:1483
Function
TestClusterAdminIncrementalAlterConfig
(t *testing.T)
admin_test.go:1400
Function
TestClusterAdminIncrementalAlterConfigWithErrorCode
(t *testing.T)
admin_test.go:1441
Function
TestClusterAdminInvalidController
(t *testing.T)
admin_test.go:43
Function
TestClusterAdminListAcls
(t *testing.T)
admin_test.go:1729
Function
TestClusterAdminListPartitionReassignments
(t *testing.T)
admin_test.go:679
Function
TestClusterAdminListPartitionReassignmentsWithDiffVersion
(t *testing.T)
admin_test.go:726
Function
TestClusterAdminListTopics
(t *testing.T)
admin_test.go:215
Function
TestClusterAdminListTopicsRetriesOnDescribeConfigsTimeout
(t *testing.T)
admin_test.go:342
Function
TestClusterAdminListTopicsRetriesOnTransientConnectionError
(t *testing.T)
admin_test.go:273
Function
TestClusterAdminListTransactions
(t *testing.T)
admin_transactions_test.go:605
Function
TestClusterAdminListTransactionsMultiBroker
(t *testing.T)
admin_transactions_test.go:636
Function
TestClusterAdminListTransactionsPartialFailure
(t *testing.T)
admin_transactions_test.go:760
Function
TestClusterAdminListTransactionsRejectsDurationFilterBelowV3_8
(t *testing.T)
admin_transactions_test.go:735
Function
TestClusterAdminListTransactionsSurfacesTopLevelError
(t *testing.T)
admin_transactions_test.go:800
Function
TestClusterAdminListTransactionsUsesV0BelowV3_8
(t *testing.T)
admin_transactions_test.go:706
Function
TestClusterAdminListTransactionsUsesV1WithDurationFilter
(t *testing.T)
admin_transactions_test.go:677
Function
TestClusterAdminUpdateFeatures
(t *testing.T)
admin_test.go:3161
Function
TestCollectSuccessfully
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
Function
TestCollectionFailure
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
Function
TestCompressionCodecUnmarshal
(t *testing.T)
message_test.go:250
Function
TestConcurrentSyncProducer
(t *testing.T)
sync_producer_test.go:214
Function
TestConfigSourceString
(t *testing.T)
describe_configs_response_test.go:430
Function
TestConsistentCRCHashPartitioner
(t *testing.T)
partitioner_test.go:214
Function
TestConstructRequestRetentionTime
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
Function
TestConsumeMessageWithNewerFetchAPIVersion
(t *testing.T)
consumer_test.go:757
Function
TestConsumeMessageWithSessionIDs
(t *testing.T)
consumer_test.go:799
← previous
next →
2,001–2,100 of 3,900, ranked by callers