Skip to main content

topics_partitions

Creates, updates, deletes, gets or lists a topics_partitions resource.

Overview

Nametopics_partitions
TypeResource
Idgoogle.pubsublite.topics_partitions

Fields

NameDatatypeDescription
partitionCountstringThe number of partitions in the topic.

Methods

NameAccessible byRequired ParamsDescription
admin_projects_locations_topics_get_partitionsSELECTlocationsId, projectsId, topicsIdReturns the partition information for the requested topic.

SELECT examples

Returns the partition information for the requested topic.

SELECT
partitionCount
FROM google.pubsublite.topics_partitions
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND topicsId = '{{ topicsId }}';