View Source GoogleApi.PubSubLite.V1.Model.PartitionConfig (google_api_pub_sub_lite v0.10.0)
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. 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 -
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 toscale
times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.PubSubLite.V1.Model.PartitionConfig{ capacity: GoogleApi.PubSubLite.V1.Model.Capacity.t() | nil, count: String.t() | nil, scale: integer() | nil }