MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,900 in github.com/IBM/sarama

MethodPlan
(members map[string]ConsumerGroupMemberMetadata, topics map[string][]int32)
functional_consumer_group_java_interop_test.go:321
MethodPlan
(members map[string]ConsumerGroupMemberMetadata, topics map[string][]int32)
functional_consumer_group_test.go:710
MethodPlan
Plan implements BalanceStrategy.
balance_strategy.go:185
MethodPlan
(memberAndMetadata map[string]ConsumerGroupMemberMetadata, topics map[string][]int32)
balance_strategy.go:413
MethodPrint
nolint:unused
logger_test.go:17
MethodPrint
(v ...any)
sarama.go:137
MethodPrintf
nolint:unused
logger_test.go:25
MethodPrintf
(format string, v ...any)
sarama.go:140
MethodPrintln
nolint:unused
logger_test.go:33
MethodPrintln
(v ...any)
sarama.go:143
MethodPush
(x any)
balance_strategy.go:1221
MethodRefresh
Refresh is the function that clients call when they want to refresh the metadata. This function blocks until a refresh is issued, and its result is re
metadata.go:243
MethodRefreshBrokers
([]string)
async_producer_test.go:2678
MethodRefreshBrokers
(addrs []string)
client.go:479
MethodRefreshController
()
async_producer_test.go:2663
MethodRefreshController
RefreshController retrieves the cluster controller from fresh metadata and stores it in the local cache. Requires Kafka 0.10 or higher.
client.go:575
MethodRefreshCoordinator
(string)
async_producer_test.go:2682
MethodRefreshMetadata
(...string)
async_producer_test.go:2679
MethodRefreshTransactionCoordinator
(string)
async_producer_test.go:2684
MethodRegister
(name string, metric any)
metrics.go:89
MethodRemoveMemberFromConsumerGroup
(group string, groupInstanceIds []string)
admin.go:1797
MethodReplicas
(string, int32)
async_producer_test.go:2675
MethodReplicas
(topic string, partitionID int32)
client.go:413
MethodRequiresConsistency
()
async_producer_test.go:174
MethodRequiresConsistency
()
partitioner.go:90
MethodRequiresConsistency
()
partitioner.go:109
MethodRequiresConsistency
()
partitioner.go:131
MethodRequiresConsistency
()
partitioner.go:242
MethodRequiresConsistency
()
partitioner.go:278
MethodRequiresConsistency
()
mocks/async_producer_test.go:304
MethodResetOffset
(offset int64, metadata string)
offset_manager.go:707
MethodResetOffset
(topic string, partition int32, offset int64, metadata string)
consumer_group_session.go:241
MethodResume
Resume resumes this partition which have been paused with Pause(). New calls to the broker will return records from these partitions if there are any
consumer.go:425
MethodResume
Resume implements PartitionConsumer.
consumer.go:1056
MethodResume
Resume implements ConsumerGroup.
consumer_group.go:294
MethodResume
Resume implements Consumer.
mocks/consumer.go:151
MethodResume
Resume implements the Resume method from the sarama.PartitionConsumer interface.
mocks/consumer.go:356
MethodResumeAll
ResumeAll implements ConsumerGroup.
consumer_group.go:304
MethodResumeAll
ResumeAll implements Consumer.
mocks/consumer.go:179
MethodRevokedPartitions
()
functional_consumer_group_java_interop_test.go:111
MethodRunHealthchecks
()
metrics.go:96
MethodSendMessage
(msg *ProducerMessage)
sync_producer.go:162
MethodSendMessageContext
SendMessageContext is like SendMessage, but returns an error wrapping ctx.Err() if ctx is done before the message has either succeeded or failed. If t
sync_producer.go:91
MethodSendMessages
(msgs []*ProducerMessage)
sync_producer.go:196
MethodSendMessagesContext
SendMessagesContext is like SendMessages, but returns once ctx is done even if some messages have neither succeeded nor failed. The error then wraps c
sync_producer.go:100
MethodSetCoordinator
(group string, broker *MockBroker)
mockresponses.go:475
MethodSetDefaultPartitions
SetDefaultPartitions sets the number of partitions any topic not explicitly configured otherwise (by SetPartitions) will have from the perspective of
mocks/mocks.go:83
MethodSetError
SetError sets the top-level error code of the response.
mockresponses.go:101
MethodSetError
(topic string, kerror KError)
mockresponses.go:208
MethodSetError
(group string, kerror KError)
mockresponses.go:480
MethodSetError
(coordinatorType CoordinatorType, group string, kerror KError)
mockresponses.go:524
MethodSetError
(kerror KError)
mockresponses.go:695
MethodSetError
(kerror KError)
mockresponses.go:781
MethodSetError
(kerror KError)
mockresponses.go:1209
MethodSetError
(kerror KError)
mockresponses.go:1246
MethodSetError
(kerr KError)
mockresponses.go:1368
MethodSetError
(kerr KError)
mockresponses.go:1421
MethodSetError
(kerr KError)
mockresponses.go:1447
MethodSetError
(kerr KError)
mockresponses.go:1480
MethodSetError
(err KError)
mockresponses.go:1590
MethodSetError
(topic string, partition int32, kerror KError)
mockresponses.go:1650
MethodSetError
(transactionalID string, kerror KError)
mockresponses.go:1699
MethodSetError
(kerror KError)
mockresponses.go:1745
MethodSetLatency
SetLatency makes broker pause for the specified period every time before replying.
mockbroker.go:80
MethodSetOffset
(group, topic string, partition int32, offset int64, metadata string, kerror KError)
mockresponses.go:677
MethodSetPartitions
SetPartitions sets the number of partitions the partitioners will see for specific topics. This only applies to messages produced after setting them.
mocks/mocks.go:89
MethodSetThrottleTime
(t int32)
mockresponses.go:1363
MethodSetVersion
(version int16)
mockresponses.go:620
MethodSetup
(s ConsumerGroupSession)
functional_producer_test.go:371
MethodSetup
(ConsumerGroupSession)
functional_consumer_group_java_interop_test.go:414
MethodSetup
(_ ConsumerGroupSession)
consumer_group_example_test.go:12
MethodSetup
(ConsumerGroupSession)
consumer_group_cooperative_test.go:291
MethodSetup
(ConsumerGroupSession)
consumer_group_cooperative_test.go:357
MethodSetup
(ConsumerGroupSession)
consumer_group_cooperative_test.go:367
MethodSetup
(s ConsumerGroupSession)
consumer_group_test.go:21
MethodSetup
(_ ConsumerGroupSession)
consumer_group_test.go:669
MethodSetup
(_ ConsumerGroupSession)
consumer_group_test.go:683
MethodSetup
(ConsumerGroupSession)
functional_consumer_group_test.go:24
MethodSetup
(s ConsumerGroupSession)
functional_consumer_group_test.go:556
MethodSetup
Setup is run at the beginning of a new session, before ConsumeClaim
examples/consumergroup/main.go:176
MethodSetup
(sarama.ConsumerGroupSession)
examples/consumer_load_aware/main.go:123
MethodSetup
Setup is run at the beginning of a new session, before ConsumeClaim
examples/exactly_once/main.go:200
MethodStep
(challenge string)
broker_test.go:903
MethodStep
(challenge string)
examples/sasl_scram_client/scram_client.go:30
MethodString
()
describe_user_scram_credentials_response.go:13
MethodString
()
metadata_request.go:7
MethodString
()
rebalance_protocol.go:19
MethodString
()
describe_configs_response.go:10
MethodString
()
transaction_manager.go:39
MethodSubscriptionUserData
SubscriptionUserData implements SubscriptionUserDataBalanceStrategy
balance_strategy_cooperative_sticky.go:44
MethodSubscriptionUserData
(topics []string)
functional_consumer_group_java_interop_test.go:338
MethodSubscriptionUserData
(topics []string)
consumer_group_test.go:536
MethodSubscriptionUserData
SubscriptionUserData satisfies sarama.SubscriptionUserDataBalanceStrategy. The topics argument is the member's currently subscribed topic set, supplie
examples/consumer_load_aware/load_aware_sticky.go:50
MethodSuccesses
()
async_producer.go:551
MethodSuccesses
Successes corresponds with the Successes method of sarama's Producer implementation.
mocks/async_producer.go:152
MethodSupportedProtocols
SupportedProtocols implements RebalanceProtocolBalanceStrategy
balance_strategy_cooperative_sticky.go:39
MethodSupportedProtocols
()
functional_consumer_group_java_interop_test.go:334
MethodSupportedProtocols
()
rebalance_protocol_test.go:16
MethodTLSConnectionState
TLSConnectionState returns the client's TLS connection state. The second return value is false if this is not a tls connection or the connection has n
broker.go:361
FunctionTestAbortPartitionOffsetManager
Test of recovery from abort
offset_manager_test.go:989
← previousnext →1,801–1,900 of 3,900, ranked by callers