MCPcopy Create free account

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

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

↓ 3 callersMethodGetPublishTime
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:1913
↓ 3 callersMethodGetRedeliveryCount
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:3944
↓ 3 callersMethodGetReplicatedFrom
GetReplicatedFrom returns the name of the cluster, from which the message is replicated.
pulsar/message.go:130
↓ 3 callersMethodGetSchemaInfo
()
pulsar/schema.go:87
↓ 3 callersMethodGetSchemaVersion
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:1997
↓ 3 callersMethodGetTopic
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:6610
↓ 3 callersMethodGetTotalChunkMsgSize
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:2074
↓ 3 callersMethodGetTxnID
GetTxnID Get the identified ID of the transaction.
pulsar/transaction.go:68
↓ 3 callersMethodGetUncompressedSize
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:1955
↓ 3 callersMethodIsMaxBackoffReached
IsMaxBackoffReached evaluates if the max number of retries is reached
pulsar/backoff/backoff.go:77
↓ 3 callersMethodMakeRequestWithContext
MakeRequestWithContext can make a simple request and handle the response by yourself
pulsaradmin/pkg/rest/client.go:99
↓ 3 callersMethodMessageReceived
(response *pb.CommandMessage, headersAndPayload Buffer)
pulsar/internal/connection.go:95
↓ 3 callersMethodNackMsg
(msg Message)
pulsar/consumer_impl.go:49
↓ 3 callersFunctionNewAuthenticationBasic
NewAuthenticationBasic Creates Basic Authentication provider
pulsar/client.go:83
↓ 3 callersFunctionNewAuthenticationOAuth2WithParams
( issuerEndpoint, clientID, audience string, privateKey string, transport http.RoundTripper)
pulsaradmin/pkg/admin/auth/oauth2.go:88
↓ 3 callersFunctionNewAuthenticationTokenFromFile
NewAuthenticationTokenFromFile Creates new Authentication provider with specified auth token from a file
pulsar/client.go:56
↓ 3 callersFunctionNewAuthenticationTokenFromFile
NewAuthenticationTokenFromFile return a interface of a Provider with a string token file path.
pulsaradmin/pkg/admin/auth/token.go:56
↓ 3 callersFunctionNewAutoSubscriptionCreationOverride
()
pulsaradmin/pkg/utils/auto_subscription_creation.go:24
↓ 3 callersFunctionNewAvroSchemaWithValidation
NewAvroSchemaWithValidation creates a new AvroSchema and error to indicate codec failure
pulsar/schema.go:323
↓ 3 callersFunctionNewClientCredentialsProviderFromKeyFile
(keyFile string)
oauth2/client_credentials_provider.go:44
↓ 3 callersFunctionNewClientHandlers
()
pulsar/internal/client_handlers.go:28
↓ 3 callersFunctionNewDefaultTransport
(config *config.Config)
pulsaradmin/pkg/admin/auth/transport.go:44
↓ 3 callersFunctionNewHTTPLookupService
NewHTTPLookupService init a http based lookup service struct and return an object of LookupService.
pulsar/internal/lookup_service.go:449
↓ 3 callersFunctionNewJSONSchemaWithValidation
NewJSONSchemaWithValidation creates a new JSONSchema and error to indicate codec failure
pulsar/schema.go:146
↓ 3 callersFunctionNewLoggerWithLogrus
NewLoggerWithLogrus creates a new logger which wraps the given logrus.Logger
pulsar/log/wrapper_logrus.go:32
↓ 3 callersFunctionNewNoopProvider
NewNoopProvider returns a Provider interface that does not compress the data
pulsar/internal/compression/noop.go:27
↓ 3 callersFunctionNewProtoNativeSchemaWithMessage
(message proto.Message, properties map[string]string)
pulsar/schema.go:233
↓ 3 callersFunctionNewSinglePartitionRouter
()
pulsar/single_partition_router.go:22
↓ 3 callersFunctionNewZStdProvider
(level Level)
pulsar/internal/compression/zstd.go:27
↓ 3 callersMethodNext
Next returns the delay to wait before next retry
pulsar/backoff/backoff.go:29
↓ 3 callersMethodNumPartitions
NumPartitions returns the number of partitions for a particular topic.
pulsar/producer.go:76
↓ 3 callersMethodOnConsumerClose
(consumer Consumer, err error)
pulsar/consumer_interceptor.go:37
↓ 3 callersMethodPrivateKey
PrivateKey read private key from the given path
pulsar/crypto/default_crypto_Key_reader.go:41
↓ 3 callersMethodPublicKey
PublicKey read public key from the given path
pulsar/crypto/default_crypto_Key_reader.go:36
↓ 3 callersMethodPublishTime
PublishTime returns the publish time of this message. The publish time is the timestamp that a client publish the message.
pulsar/message.go:105
↓ 3 callersMethodPutUint8
(w io.Writer, val uint8)
pulsar/primitiveSerDe.go:115
↓ 3 callersMethodPutWithCustomMediaTypeWithContext
( ctx context.Context, endpoint string, in, obj interface{}, params map[string]string, mediaType MediaTy
pulsaradmin/pkg/rest/client.go:258
↓ 3 callersMethodReadableSlice
ReadableSlice returns a new view of the readable items in the queue
pulsar/internal/blocking_queue.go:52
↓ 3 callersMethodReconsumeLaterWithCustomProperties
ReconsumeLaterWithCustomProperties mark a message for redelivery after custom delay with custom properties
pulsar/consumer.go:395
↓ 3 callersMethodRegisterTrigger
(trigger func())
pulsar/internal/memory_limit_controller.go:34
↓ 3 callersMethodRemoveRetention
RemoveRetention removes the retention configuration on a topic
pulsaradmin/pkg/admin/topic.go:680
↓ 3 callersMethodRequestToAnyBroker
Send a request and block until the result is available
pulsar/internal/rpc_client.go:62
↓ 3 callersMethodResizeIfNeeded
(spaceNeeded uint32)
pulsar/internal/buffer.go:234
↓ 3 callersMethodRetain
Retain increases the reference count
pulsar/internal/buffer.go:80
↓ 3 callersMethodSendRequest
(requestID uint64, req *pb.BaseCommand, callback func(*pb.BaseCommand, error))
pulsar/internal/connection.go:80
↓ 3 callersMethodSetMaxProducers
SetMaxProducers sets max number of producers for a topic @param topic topicName struct @param maxProducers max number of producer
pulsaradmin/pkg/admin/topic.go:436
↓ 3 callersMethodSetReleaseCallback
SetReleaseCallback sets a callback function that will be called when the buffer is returned to a pool.
pulsar/internal/buffer.go:87
↓ 3 callersMethodString
()
pulsar/impl_message.go:196
↓ 3 callersMethodUint16
(r io.Reader, byteOrder binary.ByteOrder)
pulsar/primitiveSerDe.go:68
↓ 3 callersMethodUnload
Unload a topic
pulsaradmin/pkg/admin/topic.go:375
↓ 3 callersMethodUpdateProperties
UpdateProperties updates the properties of a topic
pulsaradmin/pkg/admin/topic.go:89
↓ 3 callersMethodUpsertEncryptionKey
UpsertEncryptionKey add new or update existing EncryptionKeys in to the MessageMetadata
pulsar/crypto/message_metadata.go:30
↓ 3 callersMethodWritableBytes
()
pulsar/internal/buffer.go:38
↓ 3 callersMethodWritableSlice
()
pulsar/internal/buffer.go:202
↓ 3 callersMethodWriteData
(ctx context.Context, data Buffer)
pulsar/internal/connection.go:82
↓ 3 callersMethodack
(cmid *chunkMessageID)
pulsar/consumer_partition.go:2849
↓ 3 callersFunctionackIDListFromMultiTopics
(log log.Logger, msgIDs []MessageID, findConsumer func(MessageID) (acker, error))
pulsar/consumer_multitopic.go:215
↓ 3 callersFunctionaddMessageCryptoIfMissing
(client *client, options *ConsumerOptions, topics interface{})
pulsar/consumer_impl.go:913
↓ 3 callersMethodaddPublishPartitionToTxn
(op *addPublishPartitionOp)
pulsar/transaction_coordinator_client.go:236
↓ 3 callersMethodaddSubscriptionToTxn
(op *addSubscriptionOp)
pulsar/transaction_coordinator_client.go:267
↓ 3 callersFunctionallConsume
(consumers []Consumer)
pulsar/consumer_test.go:747
↓ 3 callersFunctionanonymousNamespacePolicy
()
pulsar/client_impl_test.go:610
↓ 3 callersMethodbroadcast
broadcast wakes all goroutines waiting on c. It is not required for the caller to hold c.L during the call.
pulsar/internal/channel_cond.go:65
↓ 3 callersMethodclearQueueAndGetNextMessage
()
pulsar/consumer_partition.go:2353
↓ 3 callersFunctionconvertToMessageID
(id *pb.MessageIdData)
pulsar/consumer_partition.go:2618
↓ 3 callersFunctioncreateSharedConsumer
(t *testing.T, client Client, topic string, enableBatchIndexAck bool)
pulsar/consumer_test.go:5694
↓ 3 callersFunctioncreateTopic
(topic string)
pulsar/helper_for_test.go:146
↓ 3 callersFunctioncreateTxn
(tc *transactionCoordinatorClient, t *testing.T)
pulsar/transaction_test.go:202
↓ 3 callersMethoddeletePendingProducers
(producerID uint64)
pulsar/internal/connection.go:909
↓ 3 callersMethoddeletePendingRequest
(requestID uint64)
pulsar/internal/connection.go:797
↓ 3 callersMethoddequeue
()
pulsar/internal/blocking_queue.go:187
↓ 3 callersMethoddiscard
(pc *partitionConsumer)
pulsar/consumer_partition.go:2684
↓ 3 callersMethodendSendOrAckOp
(err error)
pulsar/transaction_impl.go:167
↓ 3 callersMethodfailPendingMessages
(err error)
pulsar/producer_partition.go:1508
↓ 3 callersMethodflushIndividual
(pendingAcks map[position]*bitset.BitSet)
pulsar/ack_grouping_tracker.go:279
↓ 3 callersFunctiongetAckCount
(registry *prometheus.Registry)
pulsar/consumer_test.go:5594
↓ 3 callersMethodgetConsumerCount
()
pulsar/consumer_test.go:710
↓ 3 callersMethodgetProducerState
()
pulsar/producer_partition.go:1580
↓ 3 callersMethodgrabCnx
(assignedBrokerURL string)
pulsar/producer_partition.go:269
↓ 3 callersFunctionhttpDo
(method string, requestPath string, in interface{}, out interface{})
pulsar/helper_for_test.go:87
↓ 3 callersMethodinternalSingleSend
( mm *pb.MessageMetadata, compressedPayload []byte, sr *sendRequest, maxMessageSize uint32, )
pulsar/producer_partition.go:803
↓ 3 callersMethodisEntryIDValid
()
pulsar/impl_message.go:131
↓ 3 callersFunctionmessageIDCompare
(lhs MessageID, rhs MessageID)
pulsar/message.go:201
↓ 3 callersFunctionmockOAuthServer
mockOAuthServer will mock a oauth service for the tests
pulsar/auth/oauth2_test.go:38
↓ 3 callersFunctionmockOAuthServerWithToken
mockOAuthServerWithToken will mock a oauth service for the tests with a custom token.
pulsar/auth/oauth2_test.go:43
↓ 3 callersFunctionmockOAuthServerWithToken
mockOAuthServerWithToken will mock a oauth service for the tests with a custom token.
pulsaradmin/pkg/admin/auth/oauth2_test.go:39
↓ 3 callersFunctionmustTopicName
(t *testing.T, topic string)
pulsaradmin/pkg/admin/topic_policies_test.go:56
↓ 3 callersFunctionnewBatchContainer
newBatchContainer init a batchContainer
pulsar/internal/batch_builder.go:111
↓ 3 callersFunctionnewCGoZStdProvider
(level Level)
pulsar/internal/compression/zstd.go:31
↓ 3 callersMethodnewExchangeCodeRequest
newExchangeCodeRequest builds a new AuthTokenRequest wrapped in an http.Request
oauth2/authorization_tokenretriever.go:120
↓ 3 callersFunctionnewGrabConnTestConsumerNoConn
newGrabConnTestConsumerNoConn is like newGrabConnTestConsumer but does NOT pre-set _setConn, simulating the real first-call path where conn is nil. On
pulsar/consumer_partition_test.go:598
↓ 3 callersFunctionnewInternalConsumer
(client *client, options ConsumerOptions, topic string, messageCh chan ConsumerMessage, dlq *dlqRouter, rlq *
pulsar/consumer_impl.go:270
↓ 3 callersFunctionnewNackMockedConsumer
(nackBackoffPolicy NackBackoffPolicy)
pulsar/negative_acks_tracker_test.go:40
↓ 3 callersMethodnewRefreshTokenRequest
newRefreshTokenRequest builds a new RefreshTokenRequest wrapped in an http.Request
oauth2/authorization_tokenretriever.go:171
↓ 3 callersFunctionnewRegexConsumer
(c *client, opts ConsumerOptions, tn *internal.TopicName, pattern *regexp.Regexp, msgCh chan ConsumerMessage,
pulsar/consumer_regex.go:65
↓ 3 callersFunctionnewTopicPolicyTestClient
(t *testing.T, handler http.HandlerFunc)
pulsaradmin/pkg/admin/topic_policies_test.go:42
↓ 3 callersFunctionnewTransaction
(id TxnID, tcClient *transactionCoordinatorClient, timeout time.Duration)
pulsar/transaction_impl.go:64
↓ 3 callersFunctionparseURI
(uri string)
pulsar/auth/athenz.go:211
↓ 3 callersFunctionptr
(n int)
pulsaradmin/pkg/admin/namespace_test.go:32
↓ 3 callersFunctionselectServiceURL
(tlsEnabled bool, brokerServiceURL, brokerServiceURLTLS string)
pulsar/internal/lookup_service.go:461
← previousnext →501–600 of 5,094, ranked by callers