Send feedback Pub/Sub Lite API Stay organized with collections Save and categorize content based on your preferences.
Service: pubsublite.googleapis.com A regional service name, https://REGION_NAME -pubsublite.googleapis.com
, is needed to create RPC client stubs.
Methods AssignPartitions
Assign partitions for this client to handle for the specified subscription.
Methods Publish
Establishes a stream with the server for publishing messages.
Methods Subscribe
Establishes a stream with the server for receiving messages.
Methods ComputeHeadCursor
Compute the head cursor for the partition. ComputeMessageStats
Compute statistics about a range of messages in a given topic and partition. ComputeTimeCursor
Compute the corresponding cursor for a publish or event time in a topic partition.
Methods CancelOperation
Starts asynchronous cancellation on a long-running operation. DeleteOperation
Deletes a long-running operation. GetOperation
Gets the latest state of a long-running operation. ListOperations
Lists operations that match the specified filter in the request. WaitOperation
Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-17 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-17 UTC."],[],[]]