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
For
(reqBody versionedDecoder)
offset_manager_test.go:1127
Method
For
(reqBody versionedDecoder)
offset_manager_test.go:1573
Method
For
(reqBody versionedDecoder)
offset_manager_test.go:1608
Function
FuzzVersionedDecodeRequest
FuzzVersionedDecodeRequest exercises every supported request decoder against arbitrary input. A decode error is a valid outcome; a panic is not.
encoder_decoder_fuzz_test.go:18
Function
FuzzVersionedDecodeResponse
FuzzVersionedDecodeResponse exercises every supported response decoder against arbitrary input. A decode error is fine; a panic is not.
encoder_decoder_fuzz_test.go:87
Method
GetBlock
(topic string, partition int32)
offset_fetch_response.go:80
Method
GetBlock
(topic string, partition int32)
offset_response.go:147
Method
GetMemberAssignment
()
describe_groups_response.go:298
Method
GetMemberMetadata
()
describe_groups_response.go:307
Method
GetOffset
(string, int32, int64)
async_producer_test.go:2680
Method
GetOffset
(topic string, partitionID int32, timestamp int64)
client.go:533
Method
GetServiceTicket
(spn string)
mockkerberos.go:101
Method
HighWaterMarkOffset
()
consumer.go:761
Method
HighWaterMarkOffset
HighWaterMarkOffset returns the high watermark offset of the partition, i.e. the offset that will be used for the next message that will be produced.
consumer_group_session.go:546
Method
HighWaterMarkOffset
()
mocks/consumer.go:341
Method
HighWaterMarks
HighWaterMarks returns the current high water marks for each topic and partition. Consistency between partitions is not guaranteed since high water ma
consumer.go:72
Method
HighWaterMarks
()
consumer.go:212
Method
HighWaterMarks
()
mocks/consumer.go:103
Method
InSyncReplicas
(string, int32)
async_producer_test.go:2676
Method
InSyncReplicas
(topic string, partitionID int32)
client.go:419
Method
IncrementalAlterConfig
(resourceType ConfigResourceType, name string, entries map[string]IncrementalAlterConfigsEntry, validateOnly b
admin.go:1033
Method
InitProducerID
()
async_producer_test.go:2685
Method
InitProducerID
()
client.go:272
Method
InitialOffset
()
consumer_group_session.go:588
Method
Input
()
async_producer.go:555
Method
IsPaused
IsPaused implements the IsPaused method from the sarama.PartitionConsumer interface.
mocks/consumer.go:370
Method
IsTransactional
()
sync_producer.go:292
Method
Leader
(topic string, partitionID int32)
async_producer_test.go:2669
Method
LeaderAndEpoch
(string, int32)
async_producer_test.go:2672
Method
LeastLoadedBroker
()
async_producer_test.go:2686
Method
Length
()
async_producer_test.go:184
Method
Length
()
utils.go:82
Method
Length
()
utils.go:94
Method
Length
()
mocks/sync_producer_test.go:405
Method
Length
Length returns the number of elements in the queue.
internal/queue/queue.go:16
Method
Length
()
examples/http_server/http_server.go:160
Method
Less
(i, j int)
balance_strategy.go:1209
Method
ListAcls
(filter AclFilter)
admin.go:1135
Method
ListConsumerGroupOffsets
(group string, topicPartitions map[string][]int32)
admin.go:1397
Method
ListConsumerGroupOffsetsBatch
(groupTopics map[string]map[string][]int32)
admin.go:1426
Method
ListConsumerGroups
()
admin.go:1329
Method
ListOffsets
ListOffsets fans out across the partition leaders to fetch offsets in parallel. Per-partition results may carry their own Err (e.g. NotLeaderForPartit
admin_offsets.go:42
Method
ListPartitionReassignments
ListPartitionReassignments sends a list partition reassignments request and returns list partition reassignments response
broker.go:786
Method
ListPartitionReassignments
(topic string, partitions []int32)
admin.go:726
Method
ListTopics
()
admin.go:499
Method
ListTransactions
ListTransactions sends a request to list the transactions known to the transaction coordinator
broker.go:1078
Method
ListTransactions
(stateFilters []string, producerIDFilters []int64, durationFilterMs int64)
admin_transactions.go:239
Method
Login
()
mockkerberos.go:66
Method
ManagePartition
(topic string, partition int32)
offset_manager.go:91
Method
MarkMessage
(msg *ConsumerMessage, metadata string)
consumer_group_session.go:247
Method
MarkOffset
(offset int64, metadata string)
offset_manager.go:695
Method
MarshalText
MarshalText transforms a CompressionCodec into its string representation.
message.go:63
Method
MarshalText
MarshalText returns the text form of the AclPermissionType (name without prefix)
acl_types.go:122
Method
MarshalText
MarshalText returns the text form of the AclResourceType (name without prefix)
acl_types.go:176
Method
MarshalText
MarshalText returns the text form of the AclResourcePatternType (name without prefix)
acl_types.go:228
Method
MessageRequiresConsistency
(message *ProducerMessage)
partitioner.go:246
Method
MessageRequiresConsistency
(message *ProducerMessage)
partitioner.go:282
Method
Messages
Messages convenience helper which returns either all the messages that are wrapped in this block
message_set.go:12
Method
Messages
()
consumer.go:731
Method
Messages
Messages implements the Messages method from the sarama.PartitionConsumer interface.
mocks/consumer.go:337
Method
MockKafkaGSSAPI
(buffer []byte)
mockkerberos.go:20
Function
MultiErrorFormat
MultiErrorFormat specifies the formatter applied to format multierrors. Deprecated: Please use [errors.Join] instead.
errors.go:110
Method
Name
Name implements BalanceStrategy.
balance_strategy_cooperative_sticky.go:34
Method
Name
()
functional_consumer_group_java_interop_test.go:67
Method
Name
()
functional_consumer_group_test.go:706
Method
Name
Name implements BalanceStrategy.
balance_strategy.go:182
Method
Name
Name implements BalanceStrategy.
balance_strategy.go:231
Method
Name
()
balance_strategy.go:409
Function
NewMockConsumerMetadataResponse
(t TestReporter)
mockresponses.go:468
Function
NewReferenceHashPartitioner
NewReferenceHashPartitioner is like NewHashPartitioner except that it handles absolute values in the same way as the reference Java implementation. Ne
partitioner.go:188
Method
NextOffset
()
offset_manager.go:729
Method
OfflineReplicas
(string, int32)
async_producer_test.go:2677
Method
OfflineReplicas
(topic string, partitionID int32)
client.go:425
Method
Offset
(topic string, partitionID int32)
offset_commit_request.go:325
Method
OnAssignment
OnAssignment implements OnAssignmentBalanceStrategy.
balance_strategy_cooperative_sticky.go:49
Method
OnAssignment
(assignment *ConsumerGroupMemberAssignment, generationID int32)
functional_consumer_group_java_interop_test.go:345
Method
OnConsume
(msg *ConsumerMessage)
helpers_test.go:81
Method
OnSend
(msg *ProducerMessage)
helpers_test.go:72
Method
OnSend
(msg *sarama.ProducerMessage)
examples/interceptors/trace_interceptor.go:62
Method
Partition
(msg *ProducerMessage, numPartitions int32)
async_producer_test.go:165
Method
Partition
(message *ProducerMessage, numPartitions int32)
partitioner.go:86
Method
Partition
(message *ProducerMessage, numPartitions int32)
partitioner.go:105
Method
Partition
(message *ProducerMessage, numPartitions int32)
partitioner.go:122
Method
Partition
(message *ProducerMessage, numPartitions int32)
partitioner.go:209
Method
Partition
(message *ProducerMessage, numPartitions int32)
partitioner.go:267
Method
Partition
Partition returns the consumed partition.
consumer_group_session.go:538
Method
Partition
()
consumer_group_session.go:587
Method
Partition
(msg *sarama.ProducerMessage, n int32)
mocks/async_producer_test.go:297
Method
PartitionNotReadable
(string, int32)
async_producer_test.go:2687
Method
PartitionNotReadable
(topic string, partition int32)
client.go:1388
Method
Partitions
(topic string)
consumer.go:160
Method
Partitions
(string)
async_producer_test.go:2667
Method
Partitions
(topic string)
client.go:377
Method
Pause
Pause suspends fetching from this partition. Future calls to the broker will not return any records from these partition until it have been resumed us
consumer.go:420
Method
Pause
Pause implements PartitionConsumer.
consumer.go:1051
Method
Pause
Pause implements ConsumerGroup.
consumer_group.go:289
Method
Pause
Pause implements Consumer.
mocks/consumer.go:135
Method
Pause
Pause implements the Pause method from the sarama.PartitionConsumer interface.
mocks/consumer.go:346
Method
PauseAll
PauseAll implements ConsumerGroup.
consumer_group.go:299
Method
PauseAll
PauseAll implements Consumer.
mocks/consumer.go:167
← previous
next →
1,701–1,800 of 3,900, ranked by callers