MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,900 in github.com/IBM/sarama

MethodFor
(reqBody versionedDecoder)
offset_manager_test.go:1127
MethodFor
(reqBody versionedDecoder)
offset_manager_test.go:1573
MethodFor
(reqBody versionedDecoder)
offset_manager_test.go:1608
FunctionFuzzVersionedDecodeRequest
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
FunctionFuzzVersionedDecodeResponse
FuzzVersionedDecodeResponse exercises every supported response decoder against arbitrary input. A decode error is fine; a panic is not.
encoder_decoder_fuzz_test.go:87
MethodGetBlock
(topic string, partition int32)
offset_fetch_response.go:80
MethodGetBlock
(topic string, partition int32)
offset_response.go:147
MethodGetMemberAssignment
()
describe_groups_response.go:298
MethodGetMemberMetadata
()
describe_groups_response.go:307
MethodGetOffset
(string, int32, int64)
async_producer_test.go:2680
MethodGetOffset
(topic string, partitionID int32, timestamp int64)
client.go:533
MethodGetServiceTicket
(spn string)
mockkerberos.go:101
MethodHighWaterMarkOffset
()
consumer.go:761
MethodHighWaterMarkOffset
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
MethodHighWaterMarkOffset
()
mocks/consumer.go:341
MethodHighWaterMarks
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
MethodHighWaterMarks
()
consumer.go:212
MethodHighWaterMarks
()
mocks/consumer.go:103
MethodInSyncReplicas
(string, int32)
async_producer_test.go:2676
MethodInSyncReplicas
(topic string, partitionID int32)
client.go:419
MethodIncrementalAlterConfig
(resourceType ConfigResourceType, name string, entries map[string]IncrementalAlterConfigsEntry, validateOnly b
admin.go:1033
MethodInitProducerID
()
async_producer_test.go:2685
MethodInitProducerID
()
client.go:272
MethodInitialOffset
()
consumer_group_session.go:588
MethodInput
()
async_producer.go:555
MethodIsPaused
IsPaused implements the IsPaused method from the sarama.PartitionConsumer interface.
mocks/consumer.go:370
MethodIsTransactional
()
sync_producer.go:292
MethodLeader
(topic string, partitionID int32)
async_producer_test.go:2669
MethodLeaderAndEpoch
(string, int32)
async_producer_test.go:2672
MethodLeastLoadedBroker
()
async_producer_test.go:2686
MethodLength
()
async_producer_test.go:184
MethodLength
()
utils.go:82
MethodLength
()
utils.go:94
MethodLength
()
mocks/sync_producer_test.go:405
MethodLength
Length returns the number of elements in the queue.
internal/queue/queue.go:16
MethodLength
()
examples/http_server/http_server.go:160
MethodLess
(i, j int)
balance_strategy.go:1209
MethodListAcls
(filter AclFilter)
admin.go:1135
MethodListConsumerGroupOffsets
(group string, topicPartitions map[string][]int32)
admin.go:1397
MethodListConsumerGroupOffsetsBatch
(groupTopics map[string]map[string][]int32)
admin.go:1426
MethodListConsumerGroups
()
admin.go:1329
MethodListOffsets
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
MethodListPartitionReassignments
ListPartitionReassignments sends a list partition reassignments request and returns list partition reassignments response
broker.go:786
MethodListPartitionReassignments
(topic string, partitions []int32)
admin.go:726
MethodListTopics
()
admin.go:499
MethodListTransactions
ListTransactions sends a request to list the transactions known to the transaction coordinator
broker.go:1078
MethodListTransactions
(stateFilters []string, producerIDFilters []int64, durationFilterMs int64)
admin_transactions.go:239
MethodLogin
()
mockkerberos.go:66
MethodManagePartition
(topic string, partition int32)
offset_manager.go:91
MethodMarkMessage
(msg *ConsumerMessage, metadata string)
consumer_group_session.go:247
MethodMarkOffset
(offset int64, metadata string)
offset_manager.go:695
MethodMarshalText
MarshalText transforms a CompressionCodec into its string representation.
message.go:63
MethodMarshalText
MarshalText returns the text form of the AclPermissionType (name without prefix)
acl_types.go:122
MethodMarshalText
MarshalText returns the text form of the AclResourceType (name without prefix)
acl_types.go:176
MethodMarshalText
MarshalText returns the text form of the AclResourcePatternType (name without prefix)
acl_types.go:228
MethodMessageRequiresConsistency
(message *ProducerMessage)
partitioner.go:246
MethodMessageRequiresConsistency
(message *ProducerMessage)
partitioner.go:282
MethodMessages
Messages convenience helper which returns either all the messages that are wrapped in this block
message_set.go:12
MethodMessages
()
consumer.go:731
MethodMessages
Messages implements the Messages method from the sarama.PartitionConsumer interface.
mocks/consumer.go:337
MethodMockKafkaGSSAPI
(buffer []byte)
mockkerberos.go:20
FunctionMultiErrorFormat
MultiErrorFormat specifies the formatter applied to format multierrors. Deprecated: Please use [errors.Join] instead.
errors.go:110
MethodName
Name implements BalanceStrategy.
balance_strategy_cooperative_sticky.go:34
MethodName
()
functional_consumer_group_java_interop_test.go:67
MethodName
()
functional_consumer_group_test.go:706
MethodName
Name implements BalanceStrategy.
balance_strategy.go:182
MethodName
Name implements BalanceStrategy.
balance_strategy.go:231
MethodName
()
balance_strategy.go:409
FunctionNewMockConsumerMetadataResponse
(t TestReporter)
mockresponses.go:468
FunctionNewReferenceHashPartitioner
NewReferenceHashPartitioner is like NewHashPartitioner except that it handles absolute values in the same way as the reference Java implementation. Ne
partitioner.go:188
MethodNextOffset
()
offset_manager.go:729
MethodOfflineReplicas
(string, int32)
async_producer_test.go:2677
MethodOfflineReplicas
(topic string, partitionID int32)
client.go:425
MethodOffset
(topic string, partitionID int32)
offset_commit_request.go:325
MethodOnAssignment
OnAssignment implements OnAssignmentBalanceStrategy.
balance_strategy_cooperative_sticky.go:49
MethodOnAssignment
(assignment *ConsumerGroupMemberAssignment, generationID int32)
functional_consumer_group_java_interop_test.go:345
MethodOnConsume
(msg *ConsumerMessage)
helpers_test.go:81
MethodOnSend
(msg *ProducerMessage)
helpers_test.go:72
MethodOnSend
(msg *sarama.ProducerMessage)
examples/interceptors/trace_interceptor.go:62
MethodPartition
(msg *ProducerMessage, numPartitions int32)
async_producer_test.go:165
MethodPartition
(message *ProducerMessage, numPartitions int32)
partitioner.go:86
MethodPartition
(message *ProducerMessage, numPartitions int32)
partitioner.go:105
MethodPartition
(message *ProducerMessage, numPartitions int32)
partitioner.go:122
MethodPartition
(message *ProducerMessage, numPartitions int32)
partitioner.go:209
MethodPartition
(message *ProducerMessage, numPartitions int32)
partitioner.go:267
MethodPartition
Partition returns the consumed partition.
consumer_group_session.go:538
MethodPartition
()
consumer_group_session.go:587
MethodPartition
(msg *sarama.ProducerMessage, n int32)
mocks/async_producer_test.go:297
MethodPartitionNotReadable
(string, int32)
async_producer_test.go:2687
MethodPartitionNotReadable
(topic string, partition int32)
client.go:1388
MethodPartitions
(topic string)
consumer.go:160
MethodPartitions
(string)
async_producer_test.go:2667
MethodPartitions
(topic string)
client.go:377
MethodPause
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
MethodPause
Pause implements PartitionConsumer.
consumer.go:1051
MethodPause
Pause implements ConsumerGroup.
consumer_group.go:289
MethodPause
Pause implements Consumer.
mocks/consumer.go:135
MethodPause
Pause implements the Pause method from the sarama.PartitionConsumer interface.
mocks/consumer.go:346
MethodPauseAll
PauseAll implements ConsumerGroup.
consumer_group.go:299
MethodPauseAll
PauseAll implements Consumer.
mocks/consumer.go:167
← previousnext →1,701–1,800 of 3,900, ranked by callers