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
BenchmarkProduceRequestEncodeMetrics32Partitions
(b *testing.B)
produce_request_test.go:196
Function
BenchmarkProducerLarge
(b *testing.B)
functional_producer_test.go:1318
Function
BenchmarkProducerMedium
(b *testing.B)
functional_producer_test.go:1314
Function
BenchmarkProducerMediumSnappy
(b *testing.B)
functional_producer_test.go:1326
Function
BenchmarkProducerSmall
Benchmarks
functional_producer_test.go:1310
Function
BenchmarkProducerSmallSinglePartition
(b *testing.B)
functional_producer_test.go:1322
Function
BenchmarkStickAssignmentWithLargeNumberOfConsumersAndTopics
(b *testing.B)
balance_strategy_test.go:2115
Function
BenchmarkStickAssignmentWithLargeNumberOfConsumersAndTopicsAndExistingAssignments
(b *testing.B)
balance_strategy_test.go:2143
Function
BenchmarkZstdMemoryConsumption
(b *testing.B)
zstd_test.go:9
Function
Benchmark_getMetricNameForBroker
(b *testing.B)
metrics_test.go:53
Function
Benchmark_getMetricNameForTopic
(b *testing.B)
metrics_test.go:42
Method
Broker
(int32)
async_producer_test.go:2665
Method
Broker
(brokerID int32)
client.go:261
Method
Brokers
()
async_producer_test.go:2664
Method
Brokers
()
client.go:251
Method
CName
()
mockkerberos.go:112
Method
CName
()
kerberos_client.go:19
Method
Cleanup
(s ConsumerGroupSession)
functional_producer_test.go:372
Method
Cleanup
(ConsumerGroupSession)
functional_consumer_group_java_interop_test.go:415
Method
Cleanup
(_ ConsumerGroupSession)
consumer_group_example_test.go:13
Method
Cleanup
(ConsumerGroupSession)
consumer_group_cooperative_test.go:298
Method
Cleanup
(ConsumerGroupSession)
consumer_group_cooperative_test.go:358
Method
Cleanup
(ConsumerGroupSession)
consumer_group_cooperative_test.go:368
Method
Cleanup
(s ConsumerGroupSession)
consumer_group_test.go:22
Method
Cleanup
(_ ConsumerGroupSession)
consumer_group_test.go:670
Method
Cleanup
(_ ConsumerGroupSession)
consumer_group_test.go:684
Method
Cleanup
(ConsumerGroupSession)
functional_consumer_group_test.go:25
Method
Cleanup
(s ConsumerGroupSession)
functional_consumer_group_test.go:576
Method
Cleanup
Cleanup is run at the end of a session, once all ConsumeClaim goroutines have exited
examples/consumergroup/main.go:183
Method
Cleanup
(sarama.ConsumerGroupSession)
examples/consumer_load_aware/main.go:128
Method
Cleanup
Cleanup is run at the end of a session, once all ConsumeClaim goroutines have exited
examples/exactly_once/main.go:207
Method
Close
()
consumer.go:151
Method
Close
Close stops the PartitionConsumer from fetching messages. It will initiate a shutdown just like AsyncClose, drain the Messages channel, harvest any er
consumer.go:399
Method
Close
()
consumer.go:747
Method
Close
()
sync_producer.go:286
Method
Close
()
async_producer_test.go:2688
Method
Close
()
offset_manager.go:114
Method
Close
Close stops the PartitionOffsetManager from managing offsets. It is required to call this function (or AsyncClose) before a PartitionOffsetManager obj
offset_manager.go:650
Method
Close
()
offset_manager.go:746
Method
Close
Close implements ConsumerGroup.
consumer_group.go:193
Method
Close
()
admin.go:242
Method
Close
()
async_producer.go:559
Method
Close
Close intercepts and purposely does not call the underlying client's Close() method.
client.go:1384
Method
Close
Close implements the Close method from the sarama.PartitionConsumer interface. It will verify whether the partition consumer was actually started.
mocks/consumer.go:283
Method
Closed
()
async_producer_test.go:2689
Method
Commit
()
consumer_group_session.go:237
Method
CommitTxn
()
sync_producer.go:300
Method
CommitTxn
()
async_producer.go:501
Method
CommitTxn
()
mocks/async_producer.go:173
Method
Config
()
async_producer_test.go:2661
Method
Consume
Consume implements ConsumerGroup.
consumer_group.go:223
Method
ConsumeClaim
(sess ConsumerGroupSession, claim ConsumerGroupClaim)
functional_producer_test.go:373
Method
ConsumeClaim
(sess ConsumerGroupSession, claim ConsumerGroupClaim)
functional_consumer_group_java_interop_test.go:417
Method
ConsumeClaim
(sess ConsumerGroupSession, claim ConsumerGroupClaim)
consumer_group_example_test.go:14
Method
ConsumeClaim
(_ ConsumerGroupSession, claim ConsumerGroupClaim)
consumer_group_cooperative_test.go:305
Method
ConsumeClaim
(sess ConsumerGroupSession, claim ConsumerGroupClaim)
consumer_group_cooperative_test.go:340
Method
ConsumeClaim
(ConsumerGroupSession, ConsumerGroupClaim)
consumer_group_cooperative_test.go:359
Method
ConsumeClaim
(sess ConsumerGroupSession, _ ConsumerGroupClaim)
consumer_group_cooperative_test.go:369
Method
ConsumeClaim
(sess ConsumerGroupSession, claim ConsumerGroupClaim)
consumer_group_test.go:23
Method
ConsumeClaim
(_ ConsumerGroupSession, claim ConsumerGroupClaim)
consumer_group_test.go:671
Method
ConsumeClaim
(sess ConsumerGroupSession, claim ConsumerGroupClaim)
consumer_group_test.go:688
Method
ConsumeClaim
(ConsumerGroupSession, ConsumerGroupClaim)
functional_consumer_group_test.go:26
Method
ConsumeClaim
(s ConsumerGroupSession, c ConsumerGroupClaim)
functional_consumer_group_test.go:583
Method
ConsumeClaim
ConsumeClaim must start a consumer loop of ConsumerGroupClaim's Messages(). Once the Messages() channel is closed, the Handler must finish its process
examples/consumergroup/main.go:190
Method
ConsumeClaim
(session sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim)
examples/consumer_load_aware/main.go:130
Method
ConsumeClaim
ConsumeClaim must start a consumer loop of ConsumerGroupClaim's Messages(). Once the Messages() channel is closed, the Handler must finish its process
examples/exactly_once/main.go:214
Method
ConsumePartition
(topic string, partition int32, offset int64)
consumer.go:164
Method
Context
()
consumer_group_session.go:251
Method
Controller
()
async_producer_test.go:2662
Method
Controller
()
client.go:549
Method
Coordinator
(string)
async_producer_test.go:2681
Method
Coordinator
(group string)
admin.go:250
Method
Coordinator
(consumerGroup string)
client.go:594
Method
CreateACL
(resource Resource, acl Acl)
admin.go:1089
Method
CreateACLs
(resourceACLs []*ResourceAcls)
admin.go:1111
Method
CreatePartitions
CreatePartitions sends a create partition request and returns create partitions response or error
broker.go:760
Method
CreatePartitions
(topic string, count int32, assignment [][]int32, validateOnly bool)
admin.go:629
Method
CreateTopic
(topic string, detail *TopicDetail, validateOnly bool)
admin.go:336
Method
DeleteACL
(filter AclFilter, validateOnly bool)
admin.go:1171
Method
DeleteConsumerGroup
(group string)
admin.go:1524
Method
DeleteConsumerGroupOffset
(group string, topic string, partition int32)
admin.go:1488
Method
DeleteRecords
DeleteRecords send a request to delete records and return delete record response or error
broker.go:811
Method
DeleteRecords
(topic string, partitionOffsets map[int32]int64)
admin.go:756
Method
DeleteTopic
(topic string)
admin.go:594
Method
DeleteUserScramCredentials
Delete SCRAM users
admin.go:174
Method
DeleteUserScramCredentials
(delete []AlterUserScramCredentialsDelete)
admin.go:1664
Method
DescribeClientQuotas
DescribeClientQuotas sends a request to get the broker's quotas
broker.go:1090
Method
DescribeClientQuotas
Describe All : use an empty/nil components slice + strict = false Contains components: strict = false Contains only components: strict = true
admin.go:1733
Method
DescribeCluster
(request *DescribeClusterRequest)
broker.go:472
Method
DescribeCluster
()
admin.go:397
Method
DescribeConfig
Deprecated: use DescribeConfigs.
admin.go:873
Method
DescribeConsumerGroups
(groups []string)
admin.go:1244
Method
DescribeLogDirs
DescribeLogDirs sends a request to get the broker's log dir paths and sizes
broker.go:993
Method
DescribeLogDirs
(brokerIds []int32)
admin.go:1566
Method
DescribeProducers
DescribeProducers sends a request to list the active producer state for topic partitions led by this broker
broker.go:1052
Method
DescribeProducers
(topicPartitions map[string][]int32)
admin_transactions.go:37
Method
DescribeTopics
(topics []string)
admin.go:380
Method
DescribeTransactions
DescribeTransactions sends a request to retrieve the current state of transactions from the transaction coordinator
broker.go:1065
Method
DescribeTransactions
(transactionalIDs []string)
admin_transactions.go:121
Method
DescribeUserScramCredentials
DescribeUserScramCredentials sends a request to get SCRAM users
broker.go:1005
← previous
next →
1,501–1,600 of 3,900, ranked by callers