MCPcopy Create free account

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

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

↓ 6 callersMethodgetCumulativeLedgerID
()
pulsar/ack_grouping_tracker_test.go:87
↓ 6 callersMethodgetProducers
()
pulsar/producer_impl.go:314
↓ 6 callersFunctiongetPulsarTestImage
()
pulsar/producer_test.go:2661
↓ 6 callersFunctiongetResultStr
(r Result)
pulsar/error.go:156
↓ 6 callersFunctionnewDataURL
(url string)
oauth2/data_url.go:38
↓ 6 callersFunctionnewGrabConnTestConsumer
--- Helpers newGrabConnTestConsumer builds a minimal partitionConsumer wired to the given spy connection and RPC client, suitable for testing grabConn
pulsar/consumer_partition_test.go:559
↓ 6 callersFunctionnewPureGoZStdProvider
(level Level)
pulsar/internal/compression/zstd_go.go:30
↓ 6 callersMethodnewTransaction
(op *newTxnOp)
pulsar/transaction_coordinator_client.go:205
↓ 6 callersFunctionregisterOpAndEndOp
(t *testing.T, tc *transactionCoordinatorClient, rp int, ep int, err error, commit bool)
pulsar/transaction_test.go:185
↓ 6 callersFunctionsendMessages
(t *testing.T, client Client, topic string, startIndex int, numMessages int, batching bool)
pulsar/consumer_test.go:5707
↓ 6 callersFunctiontoKeyValues
(metadata map[string]string)
pulsar/helper.go:68
↓ 6 callersFunctiontopicsDiff
topicDiff returns all topics in topics1 that are not in topics2
pulsar/consumer_regex.go:522
↓ 5 callersMethodAbort
Abort You can abort the transaction when you want to abort all the sending/acknowledging operations with the transaction.
pulsar/transaction.go:64
↓ 5 callersMethodAckIDWithResponse
(id MessageID)
pulsar/consumer_impl.go:44
↓ 5 callersMethodAckIDWithTxn
(msgID MessageID, txn Transaction)
pulsar/consumer_impl.go:45
↓ 5 callersMethodAddPublicKeyCipher
AddPublicKeyCipher encrypt data key using keyCrypto and cache
pulsar/crypto/default_message_crypto.go:78
↓ 5 callersFunctionConvertToStringMap
ConvertToStringMap convert a KeyValue []byte to string map
pulsar/internal/commands.go:385
↓ 5 callersMethodEncode
(data interface{})
pulsar/schema.go:341
↓ 5 callersMethodExchangeDeviceCode
(ctx context.Context, req DeviceCodeExchangeRequest)
oauth2/device_code_flow.go:49
↓ 5 callersMethodGetKey
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:1611
↓ 5 callersMethodGetLastMessageIDs
GetLastMessageIDs get all the last message id of the topics the consumer subscribed. The list of MessageID instances of all the topics that the consu
pulsar/consumer.go:353
↓ 5 callersMethodGetLeveledMetrics
(t string)
pulsar/internal/metrics.go:547
↓ 5 callersMethodGetPartitionedStats
GetPartitionedStats returns the stats for the partitioned topic All the rates are computed over a 1-minute window and are relative the last completed
pulsaradmin/pkg/admin/topic.go:304
↓ 5 callersMethodGetReplicationClusters
GetReplicationClusters returns the replication clusters of a topic
pulsaradmin/pkg/admin/topic.go:812
↓ 5 callersMethodGetVersion
()
pulsaradmin/pkg/utils/package_name.go:110
↓ 5 callersMethodGetWithContext
GetWithContext returns the configuration data for the specified cluster
pulsaradmin/pkg/admin/cluster.go:38
↓ 5 callersMethodGetWithOptionsWithContext
( ctx context.Context, endpoint string, obj interface{}, params map[string]string, decode bool, file io.W
pulsaradmin/pkg/rest/client.go:168
↓ 5 callersMethodMetadata
Metadata get key metadata
pulsar/crypto/encryption_key_Info.go:47
↓ 5 callersFunctionNewAuthenticationBasic
(username, password string)
pulsar/auth/basic.go:33
↓ 5 callersFunctionNewAuthenticationTLS
NewAuthenticationTLS Creates new Authentication provider with specified TLS certificate and private key
pulsar/client.go:61
↓ 5 callersFunctionNewEncKeyReader
(publicKeyPath, privateKeyPath string)
pulsar/consumer_test.go:4338
↓ 5 callersFunctionNewEncryptionKeyInfo
NewEncryptionKeyInfo create a new EncryptionKeyInfo
pulsar/crypto/encryption_key_Info.go:28
↓ 5 callersFunctionNewLz4Provider
NewLz4Provider return a interface of Provider.
pulsar/internal/compression/lz4.go:33
↓ 5 callersFunctionNewSemaphore
(maxPermits int32)
pulsar/internal/semaphore.go:55
↓ 5 callersFunctionNewZLibProvider
NewZLibProvider returns a Provider interface
pulsar/internal/compression/zlib.go:29
↓ 5 callersMethodNext
Next returns the delay to wait before next retry
pulsar/backoff/backoff.go:60
↓ 5 callersMethodPostWithObjWithContext
(ctx context.Context, endpoint string, in, obj interface{})
pulsaradmin/pkg/rest/client.go:382
↓ 5 callersMethodPostWithQueryParamsWithContext
( ctx context.Context, endpoint string, in interface{}, params map[string]string, )
pulsaradmin/pkg/rest/client.go:437
↓ 5 callersMethodRequestOnCnxNoWait
(cnx Connection, cmdType pb.BaseCommand_Type, message proto.Message)
pulsar/internal/rpc_client.go:73
↓ 5 callersMethodReserveMemory
(ctx context.Context, size int64)
pulsar/internal/memory_limit_controller.go:27
↓ 5 callersMethodSetSchemaCompatibilityStrategy
SetSchemaCompatibilityStrategy sets schema compatibility strategy for a topic
pulsaradmin/pkg/admin/topic.go:1068
↓ 5 callersFunctionTopicNameWithoutPartitionPart
(tn *TopicName)
pulsar/internal/topic_name.go:109
↓ 5 callersMethodVal
(c Closable)
pulsar/internal/client_handlers.go:46
↓ 5 callersMethodWritableSlice
()
pulsar/internal/buffer.go:54
↓ 5 callersFunctionWriteElements
(w io.Writer, elements ...interface{})
pulsar/primitiveSerDe.go:214
↓ 5 callersMethodWrittenBytes
WrittenBytes advance the writer index when data was written in a slice
pulsar/internal/buffer.go:57
↓ 5 callersMethodack
(ids []*pb.MessageIdData)
pulsar/ack_grouping_tracker_test.go:67
↓ 5 callersFunctionawaitCh
(ch chan int)
pulsar/internal/memory_limit_controller_test.go:228
↓ 5 callersFunctioncloneConsumers
(rc *regexConsumer)
pulsar/consumer_regex_test.go:444
↓ 5 callersMethodequal
(other *messageID)
pulsar/impl_message.go:147
↓ 5 callersMethodflush
()
pulsar/ack_grouping_tracker.go:36
↓ 5 callersMethodgetState
()
pulsar/internal/connection.go:1100
↓ 5 callersMethodinc
()
pulsar/consumer_partition.go:290
↓ 5 callersFunctionnewPosition
(msgID MessageID)
pulsar/ack_grouping_tracker.go:118
↓ 5 callersFunctionptr
(v T)
pulsar/negative_acks_tracker.go:205
↓ 5 callersFunctionreceiveMessages
(t *testing.T, consumer Consumer, numMessages int)
pulsar/consumer_test.go:5736
↓ 5 callersMethodregisterSendOrAckOp
()
pulsar/transaction_impl.go:151
↓ 5 callersMethodremove
(uuid string)
pulsar/consumer_partition.go:2742
↓ 5 callersFunctionrunWithClientNamespace
(fn func(*testing.T, Client, string))
pulsar/consumer_regex_test.go:132
↓ 5 callersMethodwriteCommand
(cmd *pb.BaseCommand)
pulsar/internal/connection.go:529
↓ 4 callersMethodAckCumulative
AckCumulative the reception of all the messages in the stream up to (and including) the provided message.
pulsar/consumer.go:385
↓ 4 callersMethodAckIDWithResponseCumulative
(msgID MessageID)
pulsar/consumer_impl.go:47
↓ 4 callersMethodAckWithTxn
AckWithTxn the consumption of a single message with a transaction
pulsar/consumer.go:381
↓ 4 callersMethodCapacity
Capacity returns the capacity of the buffer's underlying byte slice, that is, the total space allocated for the buffer's data.
pulsar/internal/buffer.go:42
↓ 4 callersMethodClose
Close the consumer and stop the broker to push more messages
pulsar/consumer.go:416
↓ 4 callersMethodConnectionClosed
ConnectionClosed close the TCP connection.
pulsar/internal/connection.go:100
↓ 4 callersFunctionConvertGetSchemaResponseToSchemaInfo
(tn *TopicName, response GetSchemaResponse)
pulsaradmin/pkg/utils/schema_util.go:57
↓ 4 callersFunctionConvertSchemaInfoToPostSchemaPayload
(schemaInfo SchemaInfo)
pulsaradmin/pkg/utils/schema_util.go:83
↓ 4 callersMethodCreateTableView
CreateTableView creates a table view instance. This method will block until the table view is created successfully.
pulsar/client.go:218
↓ 4 callersMethodDecrypt
Decrypt the payload using decrypted data key. Here data key is read from the message metadata and decrypted using private key.
pulsar/crypto/default_message_crypto.go:212
↓ 4 callersFunctionDeserializeMessageID
DeserializeMessageID reconstruct a MessageID object from its serialized representation
pulsar/message.go:182
↓ 4 callersMethodEncryptionParam
EncryptionParam read the ecryption parameter from the MessageMetadata
pulsar/crypto/message_metadata.go:33
↓ 4 callersMethodGenerateRoundRobinIndex
GenerateRoundRobinIndex generates a round-robin index.
pulsar/internal/connection_pool.go:41
↓ 4 callersMethodGetAddressList
()
pulsar/internal/service_name_resolver.go:35
↓ 4 callersMethodGetAutoSubscriptionCreation
GetAutoSubscriptionCreation returns auto subscription creation override for a topic. Returns nil if the auto subscription creation override is not con
pulsaradmin/pkg/admin/topic.go:1014
↓ 4 callersMethodGetBacklogQuotaMap
GetBacklogQuotaMap returns backlog quota map for a topic @param topic topicName struct @param applied when set to true, function will try to find pol
pulsaradmin/pkg/admin/topic.go:746
↓ 4 callersMethodGetBodyWithContext
(ctx context.Context, endpoint string, obj interface{})
pulsaradmin/pkg/rest/client.go:144
↓ 4 callersMethodGetBuffer
(initSize int)
pulsar/internal/buffer.go:29
↓ 4 callersMethodGetCompression
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:1948
↓ 4 callersMethodGetDeduplicationSnapshotInterval
GetDeduplicationSnapshotInterval returns deduplication snapshot interval for a topic. Returns -1 if not set
pulsaradmin/pkg/admin/topic.go:954
↓ 4 callersMethodGetDelayedDelivery
GetDelayedDelivery returns the delayed delivery policy for a topic. Returns nil if the delayed delivery policy is not configured at the topic level.
pulsaradmin/pkg/admin/topic.go:569
↓ 4 callersMethodGetDispatchRate
GetDispatchRate returns message dispatch rate for a topic. Returns nil if the dispatch rate is not configured at the topic level.
pulsaradmin/pkg/admin/topic.go:589
↓ 4 callersMethodGetMaxConsumers
GetMaxConsumers returns max number of consumers for a topic. Returns -1 if not set
pulsaradmin/pkg/admin/topic.go:455
↓ 4 callersMethodGetMaxProducers
GetMaxProducers Get max number of producers for a topic. Returns -1 if not set
pulsaradmin/pkg/admin/topic.go:425
↓ 4 callersMethodGetMaxSubscriptionsPerTopic
GetMaxSubscriptionsPerTopic returns max subscriptions per topic. Returns -1 if not set
pulsaradmin/pkg/admin/topic.go:918
↓ 4 callersMethodGetMaxUnackMessagesPerConsumer
GetMaxUnackMessagesPerConsumer returns max unacked messages policy on consumer for a topic. Returns -1 if not set
pulsaradmin/pkg/admin/topic.go:485
↓ 4 callersMethodGetMaxUnackMessagesPerSubscription
GetMaxUnackMessagesPerSubscription returns max unacked messages policy on subscription for a topic. Returns -1 if not set
pulsaradmin/pkg/admin/topic.go:517
↓ 4 callersMethodGetMessageId
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:4033
↓ 4 callersMethodGetMetadata
GetMetadata returns metadata of a partitioned topic
pulsaradmin/pkg/admin/topic.go:147
↓ 4 callersMethodGetNumChunksFromMsg
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:2067
↓ 4 callersMethodGetOffloadPolicies
GetOffloadPolicies returns offload policies for a topic. Returns nil if the offload policies are not configured at the topic level.
pulsaradmin/pkg/admin/topic.go:994
↓ 4 callersMethodGetPartitionKey
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:1934
↓ 4 callersMethodGetProducerId
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:3671
↓ 4 callersMethodGetProducerName
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:1899
↓ 4 callersMethodGetPublishRate
GetPublishRate returns message publish rate for a topic. Returns nil if the publish rate is not configured at the topic level.
pulsaradmin/pkg/admin/topic.go:609
↓ 4 callersMethodGetReplicateTo
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:1941
↓ 4 callersMethodGetReplicatorDispatchRate
GetReplicatorDispatchRate returns replicator dispatch rate for a topic. Returns nil if the replicator dispatch rate is not configured at the topic lev
pulsaradmin/pkg/admin/topic.go:974
↓ 4 callersMethodGetSchemaCompatibilityStrategyApplied
GetSchemaCompatibilityStrategyApplied returns schema compatibility strategy for a topic. @param topic topicName struct @param applied when set to tru
pulsaradmin/pkg/admin/topic.go:1050
↓ 4 callersMethodGetSchemaValidationEnforced
GetSchemaValidationEnforced returns schema validation enforced flag for a topic
pulsaradmin/pkg/admin/topic.go:936
↓ 4 callersMethodGetSubscribeRate
GetSubscribeRate returns subscribe rate configuration for a topic. Returns nil if the subscribe rate is not configured at the topic level.
pulsaradmin/pkg/admin/topic.go:843
← previousnext →301–400 of 5,094, ranked by callers