Show / Hide Table of Contents

Class PartitionConfig

The settings for a topic's partitions.

Inheritance
object
PartitionConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PubsubLite.v1.Data
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class PartitionConfig : IDirectResponseSchema

Properties

Capacity

The capacity configuration.

Declaration
[JsonProperty("capacity")]
public virtual Capacity Capacity { get; set; }
Property Value
Type Description
Capacity

Count

The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity

Declaration
[JsonProperty("count")]
public virtual long? Count { get; set; }
Property Value
Type Description
long?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Scale

DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to scale times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with scale of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Declaration
[JsonProperty("scale")]
public virtual int? Scale { get; set; }
Property Value
Type Description
int?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX