MCPcopy Create free account

hub / github.com/apache/pulsar-client-go / functions

Functions5,094 in github.com/apache/pulsar-client-go

↓ 2 callersFunctionNewMockHTTPClient
(serviceNameResolver ServiceNameResolver)
pulsar/internal/lookup_service_test.go:625
↓ 2 callersFunctionNewProtoSchemaWithValidation
NewProtoSchemaWithValidation creates a new ProtoSchema and error to indicate codec failure
pulsar/schema.go:196
↓ 2 callersMethodOnNegativeAcksSend
OnNegativeAcksSend This method will be called when a redelivery from a negative acknowledge occurs.
pulsar/consumer_interceptor.go:28
↓ 2 callersMethodOnSendAcknowledgement
OnSendAcknowledgement This method is called when the message sent to the broker has been acknowledged, or when sending the message fails.
pulsar/producer_interceptor.go:27
↓ 2 callersFunctionParseSchemaAutoUpdateCompatibilityStrategy
(str string)
pulsaradmin/pkg/utils/schema_strategy.go:37
↓ 2 callersMethodPeekMessages
PeekMessages peeks messages from a topic subscription
pulsaradmin/pkg/admin/subscription.go:111
↓ 2 callersMethodProtoReflect
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:1423
↓ 2 callersMethodPutUint16
(w io.Writer, byteOrder binary.ByteOrder, val uint16)
pulsar/primitiveSerDe.go:123
↓ 2 callersMethodPutUint64
(w io.Writer, byteOrder binary.ByteOrder, val uint64)
pulsar/primitiveSerDe.go:140
↓ 2 callersMethodReadBrokerMetadata
()
pulsar/internal/commands.go:130
↓ 2 callersMethodReadableBytes
()
pulsar/internal/buffer.go:163
↓ 2 callersMethodRemoveMaxConsumersPerSubscription
RemoveMaxConsumersPerSubscription removes max consumers per subscription for a topic
pulsaradmin/pkg/admin/topic.go:894
↓ 2 callersMethodRemoveMaxTopicsPerNamespace
RemoveMaxTopicsPerNamespace removes maxTopicsPerNamespace configuration for a namespace, defaulting to broker settings
pulsaradmin/pkg/admin/namespace.go:371
↓ 2 callersMethodRemovePersistence
RemovePersistence removes the persistence policies for a topic
pulsaradmin/pkg/admin/topic.go:562
↓ 2 callersMethodRemoveSubscriptionExpirationTime
RemoveSubscriptionExpirationTime removes subscription expiration time from a namespace, defaulting to broker settings
pulsaradmin/pkg/admin/namespace.go:738
↓ 2 callersMethodRemoveTopicAutoCreation
RemoveTopicAutoCreation removes topic auto-creation config for a namespace, defaulting to broker settings
pulsaradmin/pkg/admin/namespace.go:171
↓ 2 callersMethodRoleTokenValue
()
pulsar/auth/athenz_test.go:70
↓ 2 callersFunctionRunProfiling
(stop <-chan struct{})
perf/pulsar-perf-go.go:139
↓ 2 callersMethodSchemaVersion
SchemaVersion get the schema version of the message, if any
pulsar/message.go:136
↓ 2 callersMethodSendRequestNoWait
(req *pb.BaseCommand)
pulsar/internal/connection.go:81
↓ 2 callersMethodSetCompactionThreshold
SetCompactionThreshold sets the compaction threshold for a topic @param topic topicName struct @param threshold maximum number of backlog bytes befor
pulsaradmin/pkg/admin/topic.go:721
↓ 2 callersMethodSetEncryptionParam
SetEncryptionParam set encryption parameter in to the MessageMetadata
pulsar/crypto/message_metadata.go:36
↓ 2 callersMethodSetMaxConsumers
SetMaxConsumers sets max number of consumers for a topic @param topic topicName struct @param maxConsumers max number of consumer
pulsaradmin/pkg/admin/topic.go:466
↓ 2 callersMethodSetMaxConsumersPerSubscription
SetMaxConsumersPerSubscription sets max consumers per subscription for a topic
pulsaradmin/pkg/admin/topic.go:888
↓ 2 callersMethodSetMaxTopicsPerNamespace
SetMaxTopicsPerNamespace sets maxTopicsPerNamespace for a namespace. nolint: revive // It's ok here to use a built-in function name (max)
pulsaradmin/pkg/admin/namespace.go:357
↓ 2 callersMethodSetMaxUnackMessagesPerConsumer
SetMaxUnackMessagesPerConsumer sets max unacked messages policy on consumer for a topic @param topic topicName struct @param maxUnackedNum max unAcke
pulsaradmin/pkg/admin/topic.go:497
↓ 2 callersMethodSetMaxUnackMessagesPerSubscription
SetMaxUnackMessagesPerSubscription sets max unacked messages policy on subscription for a topic @param topic topicName struct @param maxUnackedNum ma
pulsaradmin/pkg/admin/topic.go:529
↓ 2 callersMethodSetOffloadDeleteLag
SetOffloadDeleteLag sets the offload deletion lag for a namespace
pulsaradmin/pkg/admin/namespace.go:240
↓ 2 callersMethodSetOffloadThresholdInSeconds
SetOffloadThresholdInSeconds sets the offloadThresholdInSeconds for a namespace
pulsaradmin/pkg/admin/namespace.go:265
↓ 2 callersMethodSetPersistence
SetPersistence sets the persistence policies for a topic
pulsaradmin/pkg/admin/topic.go:556
↓ 2 callersMethodSetRedirectedClusterURI
SetRedirectedClusterURI set the redirected cluster URI for lookups
pulsar/internal/connection.go:103
↓ 2 callersMethodSetRetention
SetRetention sets the retention policy for a topic
pulsaradmin/pkg/admin/topic.go:686
↓ 2 callersMethodSetSubscriptionExpirationTime
SetSubscriptionExpirationTime sets the subscription expiration time on a namespace
pulsaradmin/pkg/admin/namespace.go:727
↓ 2 callersMethodSetTopicAutoCreation
SetTopicAutoCreation sets topic auto-creation config for a namespace, overriding broker settings
pulsaradmin/pkg/admin/namespace.go:161
↓ 2 callersMethodString
()
pulsaradmin/pkg/utils/topic_name.go:101
↓ 2 callersMethodSubscription
Subscription get a subscription for the consumer
pulsar/consumer.go:330
↓ 2 callersMethodSubscription
()
pulsar/consumer_regex.go:118
↓ 2 callersMethodSubscription
()
pulsar/consumer_multitopic.go:117
↓ 2 callersMethodSubscription
()
pulsar/consumer_impl.go:494
↓ 2 callersMethodSubscription
()
pulsar/consumer_zero_queue.go:92
↓ 2 callersMethodTestCompatibilityWithPostSchemaPayloadWithContext
(ctx context.Context, topic string, schemaPayload utils.PostSchemaPayload)
pulsaradmin/pkg/admin/schema.go:293
↓ 2 callersMethodTopicPolicies
(isGlobal bool)
pulsaradmin/pkg/admin/topic_policies.go:139
↓ 2 callersMethodTryReserveMemory
(size int64)
pulsar/internal/memory_limit_controller.go:88
↓ 2 callersMethodUint8
(r io.Reader)
pulsar/primitiveSerDe.go:57
↓ 2 callersMethodUnregisterListener
(id uint64)
pulsar/internal/connection.go:84
↓ 2 callersMethodUpdate
Update updates number of partitions of a non-global partitioned topic It requires partitioned-topic to be already exist and number of new partitions m
pulsaradmin/pkg/admin/topic.go:132
↓ 2 callersMethodUpdateDynamicConfiguration
UpdateDynamicConfiguration updates dynamic configuration value in to Zk that triggers watch on brokers and all brokers can update {@link ServiceConfig
pulsaradmin/pkg/admin/brokers.go:61
↓ 2 callersMethodValue
()
pulsar/auth/athenz_test.go:65
↓ 2 callersMethodWithTransport
(tripper http.RoundTripper)
pulsar/auth/provider.go:50
↓ 2 callersMethodWritableBytes
()
pulsar/internal/buffer.go:167
↓ 2 callersMethodack
()
pulsar/impl_message.go:105
↓ 2 callersMethodackID
ackID acknowledges the consumption of a message and optionally waits for response from the broker.
pulsar/consumer_partition.go:597
↓ 2 callersMethodackIDCommon
ackIDCommon handles common logic for acknowledging messages with or without transactions. withTxn should be set to true when dealing with transactions
pulsar/consumer_partition.go:543
↓ 2 callersMethodackWithTxn
(cmid *chunkMessageID, txn Transaction)
pulsar/consumer_partition.go:2853
↓ 2 callersMethodaddIfAbsent
(uuid string, totalChunks int32, totalChunkMsgSize int)
pulsar/consumer_partition.go:2717
↓ 2 callersMethodaddPublicKeyCipher
(keyName string, keyReader KeyReader)
pulsar/crypto/default_message_crypto.go:94
↓ 2 callersFunctionaddRequestToBatch
(smm *pb.SingleMessageMetadata, p *partitionProducer, uncompressedPayload []byte, request *sendRequest, msg
pulsar/producer_partition.go:698
↓ 2 callersFunctionaddSingleMessageToBatch
(wb Buffer, smm *pb.SingleMessageMetadata, payload []byte)
pulsar/internal/commands.go:247
↓ 2 callersMethodblockIfQueueFull
()
pulsar/producer_partition.go:1707
↓ 2 callersFunctionbuildAndInjectChildSpan
(message pulsar.ConsumerMessage)
pulsar/internal/pulsartracing/consumer_interceptor.go:41
↓ 2 callersFunctionbuildAndInjectSpan
(message *pulsar.ProducerMessage, producer pulsar.Producer)
pulsar/internal/pulsartracing/producer_interceptor.go:41
↓ 2 callersMethodcheckAndCleanIdleConnections
(maxIdleTime time.Duration)
pulsar/internal/connection_pool.go:164
↓ 2 callersMethodcheckServerError
(err *pb.ServerError)
pulsar/internal/connection.go:644
↓ 2 callersFunctioncheckSuccessful
checkSuccessful checks for a valid response and parses an error
pulsar/internal/http_client.go:272
↓ 2 callersMethodcheckTrigger
(prevUsage int64, nextUsage int64)
pulsar/internal/memory_limit_controller.go:138
↓ 2 callersMethodclearPendingAcks
()
pulsar/ack_grouping_tracker.go:245
↓ 2 callersFunctioncompare
(val1, val2 float64)
pulsaradmin/pkg/utils/load_manage_report.go:136
↓ 2 callersMethodcompute
()
pulsar/internal/checksum.go:45
↓ 2 callersFunctionconsumerShouldNotReceiveMessage
(t *testing.T, consumer Consumer)
pulsar/transaction_test.go:450
↓ 2 callersFunctioncreateHTTPLookupClient
()
pulsar/schema_test.go:61
↓ 2 callersMethodcreateTextFromFiled
(w *multipart.Writer, value string)
pulsaradmin/pkg/admin/sources.go:178
↓ 2 callersMethodcreateTextFromFiled
(w *multipart.Writer, value string)
pulsaradmin/pkg/admin/sinks.go:179
↓ 2 callersFunctiondecodeJSONBody
decodeJSONBody is used to JSON decode a body
pulsaradmin/pkg/rest/client.go:534
↓ 2 callersMethoddelete
(ctx context.Context, topic string, force bool)
pulsaradmin/pkg/admin/schema.go:194
↓ 2 callersMethoddelete
(ctx context.Context, topic utils.TopicName, subName string, force bool)
pulsaradmin/pkg/admin/subscription.go:163
↓ 2 callersFunctiondeserializeMessageID
(data []byte)
pulsar/impl_message.go:203
↓ 2 callersMethoddoRequest
(r *httpRequest)
pulsar/internal/http_client.go:112
↓ 2 callersFunctionencodeJSONBody
encodeJSONBody is used to JSON encode a body
pulsaradmin/pkg/rest/client.go:525
↓ 2 callersMethodfailLeftRequestsWhenClose
()
pulsar/internal/connection.go:375
↓ 2 callersFunctionfile_hello_proto_rawDescGZIP
()
integration-tests/pb/hello.pb.go:201
↓ 2 callersFunctionfile_hi_proto_init
()
integration-tests/pb/hi.pb.go:132
↓ 2 callersMethodflushAndClean
()
pulsar/ack_grouping_tracker.go:38
↓ 2 callersMethodgenMetadata
(msg *ProducerMessage, uncompressedSize int, deliverAt time.Time)
pulsar/producer_partition.go:717
↓ 2 callersFunctiongenerateDataKey
()
pulsar/crypto/default_message_crypto.go:361
↓ 2 callersMethodget
(cmid *chunkMessageID)
pulsar/consumer_partition.go:2835
↓ 2 callersMethodgetClientVersion
()
pulsar/internal/connection.go:351
↓ 2 callersFunctiongetHashingFunction
(s HashingScheme)
pulsar/producer_impl.go:61
↓ 2 callersMethodgetKeyAndDecryptData
(msgMetadata MessageMetadataSupplier, payload []byte)
pulsar/crypto/default_message_crypto.go:272
↓ 2 callersMethodgetLastMessageIDAndMarkDeletePosition
()
pulsar/consumer_partition.go:697
↓ 2 callersMethodgetPartition
(msg *ProducerMessage)
pulsar/producer_impl.go:321
↓ 2 callersMethodgetProducer
(partition int)
pulsar/producer_impl.go:301
↓ 2 callersMethodgrabConn
()
pulsar/transaction_coordinator_client.go:86
↓ 2 callersMethodgreaterEqual
(other *messageID)
pulsar/impl_message.go:160
↓ 2 callersMethodhandleMessage
(msg Message)
pulsar/table_view_impl.go:246
↓ 2 callersFunctionhandleResp
(topic utils.TopicName, resp *http.Response)
pulsaradmin/pkg/admin/subscription.go:391
↓ 2 callersMethodhasMoreMessages
()
pulsar/consumer_partition.go:2575
↓ 2 callersFunctionhttpGet
(requestPath string, out interface{})
pulsar/helper_for_test.go:83
↓ 2 callersMethodinitCache
()
pulsaradmin/pkg/admin/auth/oauth2.go:124
↓ 2 callersMethodinternalAckIDCumulative
(msgID MessageID, withResponse bool)
pulsar/consumer_partition.go:899
↓ 2 callersMethodinternalCreatePartitionsProducers
()
pulsar/producer_impl.go:185
← previousnext →701–800 of 5,094, ranked by callers