Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/pulsar-client-go
/ functions
Functions
5,094 in github.com/apache/pulsar-client-go
⨍
Functions
5,094
◇
Types & classes
637
↓ 2 callers
Function
NewMockHTTPClient
(serviceNameResolver ServiceNameResolver)
pulsar/internal/lookup_service_test.go:625
↓ 2 callers
Function
NewProtoSchemaWithValidation
NewProtoSchemaWithValidation creates a new ProtoSchema and error to indicate codec failure
pulsar/schema.go:196
↓ 2 callers
Method
OnNegativeAcksSend
OnNegativeAcksSend This method will be called when a redelivery from a negative acknowledge occurs.
pulsar/consumer_interceptor.go:28
↓ 2 callers
Method
OnSendAcknowledgement
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 callers
Function
ParseSchemaAutoUpdateCompatibilityStrategy
(str string)
pulsaradmin/pkg/utils/schema_strategy.go:37
↓ 2 callers
Method
PeekMessages
PeekMessages peeks messages from a topic subscription
pulsaradmin/pkg/admin/subscription.go:111
↓ 2 callers
Method
ProtoReflect
()
pulsar/internal/pulsar_proto/PulsarApi.pb.go:1423
↓ 2 callers
Method
PutUint16
(w io.Writer, byteOrder binary.ByteOrder, val uint16)
pulsar/primitiveSerDe.go:123
↓ 2 callers
Method
PutUint64
(w io.Writer, byteOrder binary.ByteOrder, val uint64)
pulsar/primitiveSerDe.go:140
↓ 2 callers
Method
ReadBrokerMetadata
()
pulsar/internal/commands.go:130
↓ 2 callers
Method
ReadableBytes
()
pulsar/internal/buffer.go:163
↓ 2 callers
Method
RemoveMaxConsumersPerSubscription
RemoveMaxConsumersPerSubscription removes max consumers per subscription for a topic
pulsaradmin/pkg/admin/topic.go:894
↓ 2 callers
Method
RemoveMaxTopicsPerNamespace
RemoveMaxTopicsPerNamespace removes maxTopicsPerNamespace configuration for a namespace, defaulting to broker settings
pulsaradmin/pkg/admin/namespace.go:371
↓ 2 callers
Method
RemovePersistence
RemovePersistence removes the persistence policies for a topic
pulsaradmin/pkg/admin/topic.go:562
↓ 2 callers
Method
RemoveSubscriptionExpirationTime
RemoveSubscriptionExpirationTime removes subscription expiration time from a namespace, defaulting to broker settings
pulsaradmin/pkg/admin/namespace.go:738
↓ 2 callers
Method
RemoveTopicAutoCreation
RemoveTopicAutoCreation removes topic auto-creation config for a namespace, defaulting to broker settings
pulsaradmin/pkg/admin/namespace.go:171
↓ 2 callers
Method
RoleTokenValue
()
pulsar/auth/athenz_test.go:70
↓ 2 callers
Function
RunProfiling
(stop <-chan struct{})
perf/pulsar-perf-go.go:139
↓ 2 callers
Method
SchemaVersion
SchemaVersion get the schema version of the message, if any
pulsar/message.go:136
↓ 2 callers
Method
SendRequestNoWait
(req *pb.BaseCommand)
pulsar/internal/connection.go:81
↓ 2 callers
Method
SetCompactionThreshold
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 callers
Method
SetEncryptionParam
SetEncryptionParam set encryption parameter in to the MessageMetadata
pulsar/crypto/message_metadata.go:36
↓ 2 callers
Method
SetMaxConsumers
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 callers
Method
SetMaxConsumersPerSubscription
SetMaxConsumersPerSubscription sets max consumers per subscription for a topic
pulsaradmin/pkg/admin/topic.go:888
↓ 2 callers
Method
SetMaxTopicsPerNamespace
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 callers
Method
SetMaxUnackMessagesPerConsumer
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 callers
Method
SetMaxUnackMessagesPerSubscription
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 callers
Method
SetOffloadDeleteLag
SetOffloadDeleteLag sets the offload deletion lag for a namespace
pulsaradmin/pkg/admin/namespace.go:240
↓ 2 callers
Method
SetOffloadThresholdInSeconds
SetOffloadThresholdInSeconds sets the offloadThresholdInSeconds for a namespace
pulsaradmin/pkg/admin/namespace.go:265
↓ 2 callers
Method
SetPersistence
SetPersistence sets the persistence policies for a topic
pulsaradmin/pkg/admin/topic.go:556
↓ 2 callers
Method
SetRedirectedClusterURI
SetRedirectedClusterURI set the redirected cluster URI for lookups
pulsar/internal/connection.go:103
↓ 2 callers
Method
SetRetention
SetRetention sets the retention policy for a topic
pulsaradmin/pkg/admin/topic.go:686
↓ 2 callers
Method
SetSubscriptionExpirationTime
SetSubscriptionExpirationTime sets the subscription expiration time on a namespace
pulsaradmin/pkg/admin/namespace.go:727
↓ 2 callers
Method
SetTopicAutoCreation
SetTopicAutoCreation sets topic auto-creation config for a namespace, overriding broker settings
pulsaradmin/pkg/admin/namespace.go:161
↓ 2 callers
Method
String
()
pulsaradmin/pkg/utils/topic_name.go:101
↓ 2 callers
Method
Subscription
Subscription get a subscription for the consumer
pulsar/consumer.go:330
↓ 2 callers
Method
Subscription
()
pulsar/consumer_regex.go:118
↓ 2 callers
Method
Subscription
()
pulsar/consumer_multitopic.go:117
↓ 2 callers
Method
Subscription
()
pulsar/consumer_impl.go:494
↓ 2 callers
Method
Subscription
()
pulsar/consumer_zero_queue.go:92
↓ 2 callers
Method
TestCompatibilityWithPostSchemaPayloadWithContext
(ctx context.Context, topic string, schemaPayload utils.PostSchemaPayload)
pulsaradmin/pkg/admin/schema.go:293
↓ 2 callers
Method
TopicPolicies
(isGlobal bool)
pulsaradmin/pkg/admin/topic_policies.go:139
↓ 2 callers
Method
TryReserveMemory
(size int64)
pulsar/internal/memory_limit_controller.go:88
↓ 2 callers
Method
Uint8
(r io.Reader)
pulsar/primitiveSerDe.go:57
↓ 2 callers
Method
UnregisterListener
(id uint64)
pulsar/internal/connection.go:84
↓ 2 callers
Method
Update
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 callers
Method
UpdateDynamicConfiguration
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 callers
Method
Value
()
pulsar/auth/athenz_test.go:65
↓ 2 callers
Method
WithTransport
(tripper http.RoundTripper)
pulsar/auth/provider.go:50
↓ 2 callers
Method
WritableBytes
()
pulsar/internal/buffer.go:167
↓ 2 callers
Method
ack
()
pulsar/impl_message.go:105
↓ 2 callers
Method
ackID
ackID acknowledges the consumption of a message and optionally waits for response from the broker.
pulsar/consumer_partition.go:597
↓ 2 callers
Method
ackIDCommon
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 callers
Method
ackWithTxn
(cmid *chunkMessageID, txn Transaction)
pulsar/consumer_partition.go:2853
↓ 2 callers
Method
addIfAbsent
(uuid string, totalChunks int32, totalChunkMsgSize int)
pulsar/consumer_partition.go:2717
↓ 2 callers
Method
addPublicKeyCipher
(keyName string, keyReader KeyReader)
pulsar/crypto/default_message_crypto.go:94
↓ 2 callers
Function
addRequestToBatch
(smm *pb.SingleMessageMetadata, p *partitionProducer, uncompressedPayload []byte, request *sendRequest, msg
pulsar/producer_partition.go:698
↓ 2 callers
Function
addSingleMessageToBatch
(wb Buffer, smm *pb.SingleMessageMetadata, payload []byte)
pulsar/internal/commands.go:247
↓ 2 callers
Method
blockIfQueueFull
()
pulsar/producer_partition.go:1707
↓ 2 callers
Function
buildAndInjectChildSpan
(message pulsar.ConsumerMessage)
pulsar/internal/pulsartracing/consumer_interceptor.go:41
↓ 2 callers
Function
buildAndInjectSpan
(message *pulsar.ProducerMessage, producer pulsar.Producer)
pulsar/internal/pulsartracing/producer_interceptor.go:41
↓ 2 callers
Method
checkAndCleanIdleConnections
(maxIdleTime time.Duration)
pulsar/internal/connection_pool.go:164
↓ 2 callers
Method
checkServerError
(err *pb.ServerError)
pulsar/internal/connection.go:644
↓ 2 callers
Function
checkSuccessful
checkSuccessful checks for a valid response and parses an error
pulsar/internal/http_client.go:272
↓ 2 callers
Method
checkTrigger
(prevUsage int64, nextUsage int64)
pulsar/internal/memory_limit_controller.go:138
↓ 2 callers
Method
clearPendingAcks
()
pulsar/ack_grouping_tracker.go:245
↓ 2 callers
Function
compare
(val1, val2 float64)
pulsaradmin/pkg/utils/load_manage_report.go:136
↓ 2 callers
Method
compute
()
pulsar/internal/checksum.go:45
↓ 2 callers
Function
consumerShouldNotReceiveMessage
(t *testing.T, consumer Consumer)
pulsar/transaction_test.go:450
↓ 2 callers
Function
createHTTPLookupClient
()
pulsar/schema_test.go:61
↓ 2 callers
Method
createTextFromFiled
(w *multipart.Writer, value string)
pulsaradmin/pkg/admin/sources.go:178
↓ 2 callers
Method
createTextFromFiled
(w *multipart.Writer, value string)
pulsaradmin/pkg/admin/sinks.go:179
↓ 2 callers
Function
decodeJSONBody
decodeJSONBody is used to JSON decode a body
pulsaradmin/pkg/rest/client.go:534
↓ 2 callers
Method
delete
(ctx context.Context, topic string, force bool)
pulsaradmin/pkg/admin/schema.go:194
↓ 2 callers
Method
delete
(ctx context.Context, topic utils.TopicName, subName string, force bool)
pulsaradmin/pkg/admin/subscription.go:163
↓ 2 callers
Function
deserializeMessageID
(data []byte)
pulsar/impl_message.go:203
↓ 2 callers
Method
doRequest
(r *httpRequest)
pulsar/internal/http_client.go:112
↓ 2 callers
Function
encodeJSONBody
encodeJSONBody is used to JSON encode a body
pulsaradmin/pkg/rest/client.go:525
↓ 2 callers
Method
failLeftRequestsWhenClose
()
pulsar/internal/connection.go:375
↓ 2 callers
Function
file_hello_proto_rawDescGZIP
()
integration-tests/pb/hello.pb.go:201
↓ 2 callers
Function
file_hi_proto_init
()
integration-tests/pb/hi.pb.go:132
↓ 2 callers
Method
flushAndClean
()
pulsar/ack_grouping_tracker.go:38
↓ 2 callers
Method
genMetadata
(msg *ProducerMessage, uncompressedSize int, deliverAt time.Time)
pulsar/producer_partition.go:717
↓ 2 callers
Function
generateDataKey
()
pulsar/crypto/default_message_crypto.go:361
↓ 2 callers
Method
get
(cmid *chunkMessageID)
pulsar/consumer_partition.go:2835
↓ 2 callers
Method
getClientVersion
()
pulsar/internal/connection.go:351
↓ 2 callers
Function
getHashingFunction
(s HashingScheme)
pulsar/producer_impl.go:61
↓ 2 callers
Method
getKeyAndDecryptData
(msgMetadata MessageMetadataSupplier, payload []byte)
pulsar/crypto/default_message_crypto.go:272
↓ 2 callers
Method
getLastMessageIDAndMarkDeletePosition
()
pulsar/consumer_partition.go:697
↓ 2 callers
Method
getPartition
(msg *ProducerMessage)
pulsar/producer_impl.go:321
↓ 2 callers
Method
getProducer
(partition int)
pulsar/producer_impl.go:301
↓ 2 callers
Method
grabConn
()
pulsar/transaction_coordinator_client.go:86
↓ 2 callers
Method
greaterEqual
(other *messageID)
pulsar/impl_message.go:160
↓ 2 callers
Method
handleMessage
(msg Message)
pulsar/table_view_impl.go:246
↓ 2 callers
Function
handleResp
(topic utils.TopicName, resp *http.Response)
pulsaradmin/pkg/admin/subscription.go:391
↓ 2 callers
Method
hasMoreMessages
()
pulsar/consumer_partition.go:2575
↓ 2 callers
Function
httpGet
(requestPath string, out interface{})
pulsar/helper_for_test.go:83
↓ 2 callers
Method
initCache
()
pulsaradmin/pkg/admin/auth/oauth2.go:124
↓ 2 callers
Method
internalAckIDCumulative
(msgID MessageID, withResponse bool)
pulsar/consumer_partition.go:899
↓ 2 callers
Method
internalCreatePartitionsProducers
()
pulsar/producer_impl.go:185
← previous
next →
701–800 of 5,094, ranked by callers