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
Method
Plan
(members map[string]ConsumerGroupMemberMetadata, topics map[string][]int32)
functional_consumer_group_java_interop_test.go:321
Method
Plan
(members map[string]ConsumerGroupMemberMetadata, topics map[string][]int32)
functional_consumer_group_test.go:710
Method
Plan
Plan implements BalanceStrategy.
balance_strategy.go:185
Method
Plan
(memberAndMetadata map[string]ConsumerGroupMemberMetadata, topics map[string][]int32)
balance_strategy.go:413
Method
Print
nolint:unused
logger_test.go:17
Method
Print
(v ...any)
sarama.go:137
Method
Printf
nolint:unused
logger_test.go:25
Method
Printf
(format string, v ...any)
sarama.go:140
Method
Println
nolint:unused
logger_test.go:33
Method
Println
(v ...any)
sarama.go:143
Method
Push
(x any)
balance_strategy.go:1221
Method
Refresh
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
Method
RefreshBrokers
([]string)
async_producer_test.go:2678
Method
RefreshBrokers
(addrs []string)
client.go:479
Method
RefreshController
()
async_producer_test.go:2663
Method
RefreshController
RefreshController retrieves the cluster controller from fresh metadata and stores it in the local cache. Requires Kafka 0.10 or higher.
client.go:575
Method
RefreshCoordinator
(string)
async_producer_test.go:2682
Method
RefreshMetadata
(...string)
async_producer_test.go:2679
Method
RefreshTransactionCoordinator
(string)
async_producer_test.go:2684
Method
Register
(name string, metric any)
metrics.go:89
Method
RemoveMemberFromConsumerGroup
(group string, groupInstanceIds []string)
admin.go:1797
Method
Replicas
(string, int32)
async_producer_test.go:2675
Method
Replicas
(topic string, partitionID int32)
client.go:413
Method
RequiresConsistency
()
async_producer_test.go:174
Method
RequiresConsistency
()
partitioner.go:90
Method
RequiresConsistency
()
partitioner.go:109
Method
RequiresConsistency
()
partitioner.go:131
Method
RequiresConsistency
()
partitioner.go:242
Method
RequiresConsistency
()
partitioner.go:278
Method
RequiresConsistency
()
mocks/async_producer_test.go:304
Method
ResetOffset
(offset int64, metadata string)
offset_manager.go:707
Method
ResetOffset
(topic string, partition int32, offset int64, metadata string)
consumer_group_session.go:241
Method
Resume
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
Method
Resume
Resume implements PartitionConsumer.
consumer.go:1056
Method
Resume
Resume implements ConsumerGroup.
consumer_group.go:294
Method
Resume
Resume implements Consumer.
mocks/consumer.go:151
Method
Resume
Resume implements the Resume method from the sarama.PartitionConsumer interface.
mocks/consumer.go:356
Method
ResumeAll
ResumeAll implements ConsumerGroup.
consumer_group.go:304
Method
ResumeAll
ResumeAll implements Consumer.
mocks/consumer.go:179
Method
RevokedPartitions
()
functional_consumer_group_java_interop_test.go:111
Method
RunHealthchecks
()
metrics.go:96
Method
SendMessage
(msg *ProducerMessage)
sync_producer.go:162
Method
SendMessageContext
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
Method
SendMessages
(msgs []*ProducerMessage)
sync_producer.go:196
Method
SendMessagesContext
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
Method
SetCoordinator
(group string, broker *MockBroker)
mockresponses.go:475
Method
SetDefaultPartitions
SetDefaultPartitions sets the number of partitions any topic not explicitly configured otherwise (by SetPartitions) will have from the perspective of
mocks/mocks.go:83
Method
SetError
SetError sets the top-level error code of the response.
mockresponses.go:101
Method
SetError
(topic string, kerror KError)
mockresponses.go:208
Method
SetError
(group string, kerror KError)
mockresponses.go:480
Method
SetError
(coordinatorType CoordinatorType, group string, kerror KError)
mockresponses.go:524
Method
SetError
(kerror KError)
mockresponses.go:695
Method
SetError
(kerror KError)
mockresponses.go:781
Method
SetError
(kerror KError)
mockresponses.go:1209
Method
SetError
(kerror KError)
mockresponses.go:1246
Method
SetError
(kerr KError)
mockresponses.go:1368
Method
SetError
(kerr KError)
mockresponses.go:1421
Method
SetError
(kerr KError)
mockresponses.go:1447
Method
SetError
(kerr KError)
mockresponses.go:1480
Method
SetError
(err KError)
mockresponses.go:1590
Method
SetError
(topic string, partition int32, kerror KError)
mockresponses.go:1650
Method
SetError
(transactionalID string, kerror KError)
mockresponses.go:1699
Method
SetError
(kerror KError)
mockresponses.go:1745
Method
SetLatency
SetLatency makes broker pause for the specified period every time before replying.
mockbroker.go:80
Method
SetOffset
(group, topic string, partition int32, offset int64, metadata string, kerror KError)
mockresponses.go:677
Method
SetPartitions
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
Method
SetThrottleTime
(t int32)
mockresponses.go:1363
Method
SetVersion
(version int16)
mockresponses.go:620
Method
Setup
(s ConsumerGroupSession)
functional_producer_test.go:371
Method
Setup
(ConsumerGroupSession)
functional_consumer_group_java_interop_test.go:414
Method
Setup
(_ ConsumerGroupSession)
consumer_group_example_test.go:12
Method
Setup
(ConsumerGroupSession)
consumer_group_cooperative_test.go:291
Method
Setup
(ConsumerGroupSession)
consumer_group_cooperative_test.go:357
Method
Setup
(ConsumerGroupSession)
consumer_group_cooperative_test.go:367
Method
Setup
(s ConsumerGroupSession)
consumer_group_test.go:21
Method
Setup
(_ ConsumerGroupSession)
consumer_group_test.go:669
Method
Setup
(_ ConsumerGroupSession)
consumer_group_test.go:683
Method
Setup
(ConsumerGroupSession)
functional_consumer_group_test.go:24
Method
Setup
(s ConsumerGroupSession)
functional_consumer_group_test.go:556
Method
Setup
Setup is run at the beginning of a new session, before ConsumeClaim
examples/consumergroup/main.go:176
Method
Setup
(sarama.ConsumerGroupSession)
examples/consumer_load_aware/main.go:123
Method
Setup
Setup is run at the beginning of a new session, before ConsumeClaim
examples/exactly_once/main.go:200
Method
Step
(challenge string)
broker_test.go:903
Method
Step
(challenge string)
examples/sasl_scram_client/scram_client.go:30
Method
String
()
describe_user_scram_credentials_response.go:13
Method
String
()
metadata_request.go:7
Method
String
()
rebalance_protocol.go:19
Method
String
()
describe_configs_response.go:10
Method
String
()
transaction_manager.go:39
Method
SubscriptionUserData
SubscriptionUserData implements SubscriptionUserDataBalanceStrategy
balance_strategy_cooperative_sticky.go:44
Method
SubscriptionUserData
(topics []string)
functional_consumer_group_java_interop_test.go:338
Method
SubscriptionUserData
(topics []string)
consumer_group_test.go:536
Method
SubscriptionUserData
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
Method
Successes
()
async_producer.go:551
Method
Successes
Successes corresponds with the Successes method of sarama's Producer implementation.
mocks/async_producer.go:152
Method
SupportedProtocols
SupportedProtocols implements RebalanceProtocolBalanceStrategy
balance_strategy_cooperative_sticky.go:39
Method
SupportedProtocols
()
functional_consumer_group_java_interop_test.go:334
Method
SupportedProtocols
()
rebalance_protocol_test.go:16
Method
TLSConnectionState
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
Function
TestAbortPartitionOffsetManager
Test of recovery from abort
offset_manager_test.go:989
← previous
next →
1,801–1,900 of 3,900, ranked by callers