MCPcopy Create free account

hub / github.com/IBM/sarama / functions

Functions3,900 in github.com/IBM/sarama

↓ 1 callersFunctionnewDataCollector
(brokerList []string, version sarama.KafkaVersion)
examples/http_server/http_server.go:195
↓ 1 callersFunctionnewFunctionalCooperativeSink
(prefix string)
functional_consumer_group_cooperative_test.go:91
↓ 1 callersFunctionnewGroupMetadataKey
(m *ConsumerGroupMetadata)
transaction_manager.go:127
↓ 1 callersMethodnewHighWatermark
(hwm int)
async_producer.go:906
↓ 1 callersFunctionnewMockMessage
(key, msg Encoder)
mockresponses.go:340
↓ 1 callersMethodnewPartitionOffsetManager
(topic string, partition int32)
offset_manager.go:674
↓ 1 callersMethodnewPartitionProducer
(topic string, partition int32)
async_producer.go:790
↓ 1 callersFunctionnewProduceResponsePromise
()
broker_test.go:97
↓ 1 callersFunctionnewProducerProvider
(brokers []string, producerConfigurationProvider func() *sarama.Config)
examples/txn_producer/main.go:174
↓ 1 callersFunctionnewProducerProvider
(brokers []string, producerConfigurationProvider func() *sarama.Config)
examples/exactly_once/main.go:320
↓ 1 callersFunctionnewReadReplicaTest
(t *testing.T, testConfig readReplicaTestConfig)
consumer_test.go:1080
↓ 1 callersFunctionnewRevokeHoldingHandler
()
consumer_group_cooperative_test.go:347
↓ 1 callersFunctionnewSingleFlightRefresher
(f func(topics []string) error)
metadata.go:219
↓ 1 callersFunctionnewSubscriptionMetadataTestGroup
(userData []byte, version KafkaVersion)
consumer_group_test.go:541
↓ 1 callersFunctionnewTestStatefulStrategy
(t *testing.T)
functional_consumer_group_test.go:692
↓ 1 callersMethodnewTopicProducer
(topic string)
async_producer.go:686
↓ 1 callersFunctionnewTxnCoordinatorsMock
newTxnCoordinatorsMock serves a transaction coordinator and a group coordinator whose group is at generation groupGeneration. TxnOffsetCommit requests
async_producer_test.go:3994
↓ 1 callersFunctionnewTxnProducerForMock
(t *testing.T, broker *MockBroker)
async_producer_test.go:4051
↓ 1 callersFunctionnewZstdEncoder
(params ZstdEncoderParams)
zstd.go:50
↓ 1 callersMethodnextUnmuteSignal
nextUnmuteSignal returns the channel that the next unmute (or close) will close.
async_producer.go:231
↓ 1 callersMethodnotifyError
notifyError delivers an abort error and queues a redispatch unless shutdown is already in progress
consumer.go:510
↓ 1 callersMethodoffset
Provide the current offset to record the batch size metric
packet_encoder.go:40
↓ 1 callersMethodownedAt
(n int)
consumer_group_cooperative_test.go:245
↓ 1 callersMethodownedGenAt
ownedGenAt returns the generation the nth JoinGroup reported with its owned partitions.
consumer_group_cooperative_test.go:68
↓ 1 callersFunctionownedPartitions
ownedPartitions sorts the wire representation to keep subscriptions stable
consumer_group_members.go:110
↓ 1 callersFunctionparseCompression
(scheme string)
tools/kafka-producer-performance/main.go:160
↓ 1 callersMethodparseMessages
(msgSet *MessageSet)
consumer.go:827
↓ 1 callersFunctionparsePartitioner
(scheme string, partition int)
tools/kafka-producer-performance/main.go:176
↓ 1 callersMethodparseRecords
(batch *RecordBatch)
consumer.go:861
↓ 1 callersFunctionparseVersion
(version string)
tools/kafka-producer-performance/main.go:195
↓ 1 callersMethodpartialSize
partialSize reports the total on-wire size required to fetch the partial trailing batch fully. Returns 0 when not partial or when the size is unknown
records.go:189
↓ 1 callersFunctionpartitionAndAssert
(t *testing.T, partitioner Partitioner, numPartitions int32, testCase partitionerTestCase)
partitioner_test.go:38
↓ 1 callersFunctionpartitionIDs
(assignment [][]int32)
examples/alter_partition_reassignments/main.go:231
↓ 1 callersMethodpartitionMessage
(msg *ProducerMessage)
async_producer.go:723
↓ 1 callersMethodperformReassignments
Reassign all topic partitions that need reassignment until balanced.
balance_strategy.go:560
↓ 1 callersMethodplanCount
()
functional_consumer_group_java_interop_test.go:328
↓ 1 callersFunctionplanPartitions
(plan BalanceStrategyPlan, memberID, topic string)
balance_strategy_cooperative_sticky_test.go:160
↓ 1 callersMethodpreferredReadReplicaLease
()
consumer.go:675
↓ 1 callersFunctionprepareDockerTestEnvironment
(ctx context.Context, env *testEnvironment)
functional_test.go:154
↓ 1 callersFunctionprepareTestTopics
(ctx context.Context, env *testEnvironment)
functional_test.go:346
↓ 1 callersFunctionprintErrorAndExit
(code int, format string, values ...any)
tools/kafka-console-partitionconsumer/kafka-console-partitionconsumer.go:91
↓ 1 callersFunctionprintErrorAndExit
(code int, format string, values ...any)
tools/kafka-console-producer/kafka-console-producer.go:143
↓ 1 callersFunctionprintErrorAndExit
(code int, format string, values ...any)
tools/kafka-console-consumer/kafka-console-consumer.go:152
↓ 1 callersFunctionprintUsageErrorAndExit
(format string, values ...any)
tools/kafka-console-partitionconsumer/kafka-console-partitionconsumer.go:97
↓ 1 callersFunctionprintUsageErrorAndExit
(message string)
tools/kafka-console-producer/kafka-console-producer.go:149
↓ 1 callersFunctionprintUsageErrorAndExit
(format string, values ...any)
tools/kafka-console-consumer/kafka-console-consumer.go:158
↓ 1 callersMethodprocessPartitionMovement
Track the movement of a topic partition after assignment
balance_strategy.go:629
↓ 1 callersFunctionprodMsg2Str
(prodMsg *ProducerMessage)
functional_consumer_test.go:493
↓ 1 callersFunctionproduceFunctionalCooperativeMessages
(t *testing.T, prefix string, start, count int)
functional_consumer_group_cooperative_test.go:100
↓ 1 callersFunctionproduceKeyedWithJava
produceKeyedWithJava produces key:value messages via the Java console producer, which uses the DefaultPartitioner (murmur2) when a key is present.
functional_java_interop_test.go:311
↓ 1 callersFunctionproduceTestRecord
(producerProvider *producerProvider)
examples/txn_producer/main.go:115
↓ 1 callersFunctionproduceWithJava
(t *testing.T, topic string, codec CompressionCodec, messages []string)
functional_java_interop_test.go:35
↓ 1 callersFunctionproduceWithSarama
(t *testing.T, topic string, codec CompressionCodec, messages []string)
functional_java_interop_test.go:114
↓ 1 callersMethodputInt64
(in int64)
real_encoder.go:40
↓ 1 callersMethodputInt8
primitives
real_encoder.go:25
↓ 1 callersMethodputNullableInt32Array
(in []int32)
packet_encoder.go:36
↓ 1 callersMethodputVarint
(in int64)
packet_encoder.go:18
↓ 1 callersMethodputVarint
(in int64)
prep_encoder.go:40
↓ 1 callersMethodputVarint
(in int64)
real_encoder.go:45
↓ 1 callersMethodreadEvents
readEvents derives ownership from the Java rebalance callbacks
functional_consumer_group_java_interop_test.go:246
↓ 1 callersMethodreadToBytes
(r io.Reader)
mockbroker.go:200
↓ 1 callersMethodreassignPartitionToNewConsumer
Identify a new consumer for a topic partition and reassign it.
balance_strategy.go:611
↓ 1 callersFunctionrebalanceAndWaitForHeartbeat
rebalanceAndWaitForHeartbeat starts a rebalance and waits until a heartbeat has been told about it.
consumer_group_cooperative_test.go:461
↓ 1 callersMethodrebalanceHeartbeatCount
rebalanceHeartbeatCount returns how many heartbeats were told a rebalance is in progress.
consumer_group_cooperative_test.go:256
↓ 1 callersMethodreconcileAssignment
reconcileAssignment reports whether released claims require a follow-up join
consumer_group_cooperative.go:89
↓ 1 callersMethodrefreshTopics
(topics []string)
client.go:525
↓ 1 callersMethodregisterCounter
(name string)
broker.go:2160
↓ 1 callersMethodregisterMetrics
()
broker.go:2136
↓ 1 callersMethodrejoinCooperative
(ctx context.Context, topics []string, sess *consumerGroupSession)
consumer_group_cooperative.go:51
↓ 1 callersMethodrelease
(withCleanup bool)
consumer_group_session.go:346
↓ 1 callersMethodrelease
(producer sarama.AsyncProducer)
examples/txn_producer/main.go:212
↓ 1 callersMethodrelease
(topic string, partition int32, producer sarama.AsyncProducer)
examples/exactly_once/main.go:359
↓ 1 callersFunctionreleaseEncoder
(params ZstdEncoderParams, enc *zstd.Encoder)
zstd.go:70
↓ 1 callersFunctionreleaseLengthField
(m *lengthField)
length_field.go:24
↓ 1 callersMethodreleasePOM
releasePOM releases pom unless another POM has replaced it
offset_manager.go:565
↓ 1 callersMethodremoveMovementRecordOfPartition
(partition topicPartitionAssignment)
balance_strategy.go:1001
↓ 1 callersFunctionrequireGroupStable
requireGroupStable tolerates transient describe errors during a rebalance
functional_consumer_group_java_interop_test.go:457
↓ 1 callersFunctionrequireUntouched
requireUntouched verifies that a disjoint subscription was not revoked
functional_consumer_group_java_interop_test.go:449
↓ 1 callersMethodrequiredVersion
()
metadata_request.go:199
↓ 1 callersMethodrequiredVersion
()
join_group_request.go:246
↓ 1 callersMethodrequiredVersion
()
consumer_group_describe_request.go:73
↓ 1 callersMethodresolveCanonicalNames
(addrs []string)
client.go:1326
↓ 1 callersMethodresponseFeeder
()
consumer.go:765
↓ 1 callersMethodretryHandler
singleton effectively a "bridge" between the flushers and the dispatcher in order to avoid deadlock based on https://godoc.org/github.com/eapache/chan
async_producer.go:1657
↓ 1 callersMethodreturnSuccesses
(batch []*ProducerMessage)
async_producer.go:1808
↓ 1 callersMethodrevokeClaims
revokeClaims waits up to the rebalance timeout for handlers to return
consumer_group_cooperative.go:117
↓ 1 callersFunctionrunAsyncProducer
(topic string, partition, messageLoad, messageSize int, config *sarama.Config, brokers []string, throughput i
tools/kafka-producer-performance/main.go:318
↓ 1 callersFunctionrunJavaConsumerGroupMember
(t *testing.T, groupID, name, topic, assignor string)
functional_consumer_group_java_interop_test.go:161
↓ 1 callersFunctionrunSaramaInteropMember
(t *testing.T, groupID, name, topic string, primary BalanceStrategy, extra ...BalanceStrategy)
functional_consumer_group_java_interop_test.go:360
↓ 1 callersFunctionrunSyncProducer
(topic string, partition, messageLoad, messageSize, routines int, config *sarama.Config, brokers []string, th
tools/kafka-producer-performance/main.go:365
↓ 1 callersFunctionscanKafkaVersion
(s string, pattern *regexp.Regexp, format string, v [3]*uint)
utils.go:344
↓ 1 callersMethodsendAndReceiveApiVersions
(v int16)
broker.go:1503
↓ 1 callersMethodsendAndReceiveKerberos
()
broker.go:1650
↓ 1 callersMethodsendAndReceiveSASLOAuth
sendAndReceiveSASLOAuth performs the authentication flow as described by KIP-255 https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=7596
broker.go:1797
↓ 1 callersMethodsendAndReceiveSASLPlainAuthV0
In SASL Plain, Kafka expects the auth header to be in the following format Message format (from https://tools.ietf.org/html/rfc4616): message = [a
broker.go:1741
↓ 1 callersMethodsendAndReceiveSASLPlainAuthV1
Kafka 1.x.x onward added a SaslAuthenticate request/response message which wraps the SASL flow in the Kafka protocol, which allows for returning meani
broker.go:1785
↓ 1 callersMethodsendAndReceiveSASLSCRAMv0
()
broker.go:1821
↓ 1 callersMethodsendAndReceiveSASLSCRAMv1
(authSendReceiver func(authBytes []byte) (*SaslAuthenticateResponse, error), scramClient SCRAMClient)
broker.go:1883
↓ 1 callersMethodsendHeartbeat
(coordinator *Broker)
consumer_group_session.go:377
↓ 1 callersFunctionsendOffsetCommit
(coordinator *Broker, req *OffsetCommitRequest)
offset_manager.go:349
← previousnext →1,301–1,400 of 3,900, ranked by callers