GoogleApi.PubSubLite.V1.Model.PartitionConfig (google_api_pub_sub_lite v0.3.0) View Source

The settings for a topic's partitions.

Attributes

  • capacity (type: GoogleApi.PubSubLite.V1.Model.Capacity.t, default: nil) - The capacity configuration.
  • count (type: String.t, default: nil) - The number of partitions in the topic. Must be at least 1.
  • scale (type: integer(), default: nil) - 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].

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.PubSubLite.V1.Model.PartitionConfig{
  capacity: GoogleApi.PubSubLite.V1.Model.Capacity.t(),
  count: String.t(),
  scale: integer()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.