Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.pubsublite/v1.Topic
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new topic.
Create Topic Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Topic(name: string, args: TopicArgs, opts?: CustomResourceOptions);
@overload
def Topic(resource_name: str,
args: TopicArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Topic(resource_name: str,
opts: Optional[ResourceOptions] = None,
topic_id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
partition_config: Optional[PartitionConfigArgs] = None,
project: Optional[str] = None,
reservation_config: Optional[ReservationConfigArgs] = None,
retention_config: Optional[RetentionConfigArgs] = None)
func NewTopic(ctx *Context, name string, args TopicArgs, opts ...ResourceOption) (*Topic, error)
public Topic(string name, TopicArgs args, CustomResourceOptions? opts = null)
type: google-native:pubsublite/v1:Topic
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TopicArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TopicArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TopicArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TopicArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TopicArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampletopicResourceResourceFromPubsublitev1 = new GoogleNative.Pubsublite.V1.Topic("exampletopicResourceResourceFromPubsublitev1", new()
{
TopicId = "string",
Location = "string",
Name = "string",
PartitionConfig = new GoogleNative.Pubsublite.V1.Inputs.PartitionConfigArgs
{
Capacity = new GoogleNative.Pubsublite.V1.Inputs.CapacityArgs
{
PublishMibPerSec = 0,
SubscribeMibPerSec = 0,
},
Count = "string",
},
Project = "string",
ReservationConfig = new GoogleNative.Pubsublite.V1.Inputs.ReservationConfigArgs
{
ThroughputReservation = "string",
},
RetentionConfig = new GoogleNative.Pubsublite.V1.Inputs.RetentionConfigArgs
{
PerPartitionBytes = "string",
Period = "string",
},
});
example, err := pubsublite.NewTopic(ctx, "exampletopicResourceResourceFromPubsublitev1", &pubsublite.TopicArgs{
TopicId: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
PartitionConfig: &pubsublite.PartitionConfigArgs{
Capacity: &pubsublite.CapacityArgs{
PublishMibPerSec: pulumi.Int(0),
SubscribeMibPerSec: pulumi.Int(0),
},
Count: pulumi.String("string"),
},
Project: pulumi.String("string"),
ReservationConfig: &pubsublite.ReservationConfigArgs{
ThroughputReservation: pulumi.String("string"),
},
RetentionConfig: &pubsublite.RetentionConfigArgs{
PerPartitionBytes: pulumi.String("string"),
Period: pulumi.String("string"),
},
})
var exampletopicResourceResourceFromPubsublitev1 = new Topic("exampletopicResourceResourceFromPubsublitev1", TopicArgs.builder()
.topicId("string")
.location("string")
.name("string")
.partitionConfig(PartitionConfigArgs.builder()
.capacity(CapacityArgs.builder()
.publishMibPerSec(0)
.subscribeMibPerSec(0)
.build())
.count("string")
.build())
.project("string")
.reservationConfig(ReservationConfigArgs.builder()
.throughputReservation("string")
.build())
.retentionConfig(RetentionConfigArgs.builder()
.perPartitionBytes("string")
.period("string")
.build())
.build());
exampletopic_resource_resource_from_pubsublitev1 = google_native.pubsublite.v1.Topic("exampletopicResourceResourceFromPubsublitev1",
topic_id="string",
location="string",
name="string",
partition_config={
"capacity": {
"publish_mib_per_sec": 0,
"subscribe_mib_per_sec": 0,
},
"count": "string",
},
project="string",
reservation_config={
"throughput_reservation": "string",
},
retention_config={
"per_partition_bytes": "string",
"period": "string",
})
const exampletopicResourceResourceFromPubsublitev1 = new google_native.pubsublite.v1.Topic("exampletopicResourceResourceFromPubsublitev1", {
topicId: "string",
location: "string",
name: "string",
partitionConfig: {
capacity: {
publishMibPerSec: 0,
subscribeMibPerSec: 0,
},
count: "string",
},
project: "string",
reservationConfig: {
throughputReservation: "string",
},
retentionConfig: {
perPartitionBytes: "string",
period: "string",
},
});
type: google-native:pubsublite/v1:Topic
properties:
location: string
name: string
partitionConfig:
capacity:
publishMibPerSec: 0
subscribeMibPerSec: 0
count: string
project: string
reservationConfig:
throughputReservation: string
retentionConfig:
perPartitionBytes: string
period: string
topicId: string
Topic Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Topic resource accepts the following input properties:
- Topic
Id string - Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like:
my-topic-name
. - Location string
- Name string
- The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
- Partition
Config Pulumi.Google Native. Pubsublite. V1. Inputs. Partition Config - The settings for this topic's partitions.
- Project string
- Reservation
Config Pulumi.Google Native. Pubsublite. V1. Inputs. Reservation Config - The settings for this topic's Reservation usage.
- Retention
Config Pulumi.Google Native. Pubsublite. V1. Inputs. Retention Config - The settings for this topic's message retention.
- Topic
Id string - Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like:
my-topic-name
. - Location string
- Name string
- The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
- Partition
Config PartitionConfig Args - The settings for this topic's partitions.
- Project string
- Reservation
Config ReservationConfig Args - The settings for this topic's Reservation usage.
- Retention
Config RetentionConfig Args - The settings for this topic's message retention.
- topic
Id String - Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like:
my-topic-name
. - location String
- name String
- The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
- partition
Config PartitionConfig - The settings for this topic's partitions.
- project String
- reservation
Config ReservationConfig - The settings for this topic's Reservation usage.
- retention
Config RetentionConfig - The settings for this topic's message retention.
- topic
Id string - Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like:
my-topic-name
. - location string
- name string
- The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
- partition
Config PartitionConfig - The settings for this topic's partitions.
- project string
- reservation
Config ReservationConfig - The settings for this topic's Reservation usage.
- retention
Config RetentionConfig - The settings for this topic's message retention.
- topic_
id str - Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like:
my-topic-name
. - location str
- name str
- The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
- partition_
config PartitionConfig Args - The settings for this topic's partitions.
- project str
- reservation_
config ReservationConfig Args - The settings for this topic's Reservation usage.
- retention_
config RetentionConfig Args - The settings for this topic's message retention.
- topic
Id String - Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like:
my-topic-name
. - location String
- name String
- The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
- partition
Config Property Map - The settings for this topic's partitions.
- project String
- reservation
Config Property Map - The settings for this topic's Reservation usage.
- retention
Config Property Map - The settings for this topic's message retention.
Outputs
All input properties are implicitly available as output properties. Additionally, the Topic resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
Capacity, CapacityArgs
- Publish
Mib intPer Sec - Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
- Subscribe
Mib intPer Sec - Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
- Publish
Mib intPer Sec - Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
- Subscribe
Mib intPer Sec - Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
- publish
Mib IntegerPer Sec - Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
- subscribe
Mib IntegerPer Sec - Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
- publish
Mib numberPer Sec - Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
- subscribe
Mib numberPer Sec - Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
- publish_
mib_ intper_ sec - Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
- subscribe_
mib_ intper_ sec - Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
- publish
Mib NumberPer Sec - Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
- subscribe
Mib NumberPer Sec - Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
CapacityResponse, CapacityResponseArgs
- Publish
Mib intPer Sec - Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
- Subscribe
Mib intPer Sec - Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
- Publish
Mib intPer Sec - Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
- Subscribe
Mib intPer Sec - Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
- publish
Mib IntegerPer Sec - Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
- subscribe
Mib IntegerPer Sec - Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
- publish
Mib numberPer Sec - Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
- subscribe
Mib numberPer Sec - Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
- publish_
mib_ intper_ sec - Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
- subscribe_
mib_ intper_ sec - Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
- publish
Mib NumberPer Sec - Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
- subscribe
Mib NumberPer Sec - Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
PartitionConfig, PartitionConfigArgs
- Capacity
Pulumi.
Google Native. Pubsublite. V1. Inputs. Capacity - The capacity configuration.
- Count string
- 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 int
- 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 withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
- Capacity Capacity
- The capacity configuration.
- Count string
- 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 int
- 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 withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
- capacity Capacity
- The capacity configuration.
- count String
- 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 Integer
- 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 withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
- capacity Capacity
- The capacity configuration.
- count string
- 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 number
- 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 withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
- capacity Capacity
- The capacity configuration.
- count str
- 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 int
- 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 withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
- capacity Property Map
- The capacity configuration.
- count String
- 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 Number
- 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 withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
PartitionConfigResponse, PartitionConfigResponseArgs
- Capacity
Pulumi.
Google Native. Pubsublite. V1. Inputs. Capacity Response - The capacity configuration.
- Count string
- 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 int
- 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 withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
- Capacity
Capacity
Response - The capacity configuration.
- Count string
- 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 int
- 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 withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
- capacity
Capacity
Response - The capacity configuration.
- count String
- 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 Integer
- 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 withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
- capacity
Capacity
Response - The capacity configuration.
- count string
- 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 number
- 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 withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
- capacity
Capacity
Response - The capacity configuration.
- count str
- 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 int
- 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 withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
- capacity Property Map
- The capacity configuration.
- count String
- 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 Number
- 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 withscale
of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
ReservationConfig, ReservationConfigArgs
- Throughput
Reservation string - The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- Throughput
Reservation string - The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- throughput
Reservation String - The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- throughput
Reservation string - The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- throughput_
reservation str - The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- throughput
Reservation String - The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
ReservationConfigResponse, ReservationConfigResponseArgs
- Throughput
Reservation string - The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- Throughput
Reservation string - The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- throughput
Reservation String - The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- throughput
Reservation string - The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- throughput_
reservation str - The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- throughput
Reservation String - The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
RetentionConfig, RetentionConfigArgs
- Per
Partition stringBytes - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of
period
. - Period string
- How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below
per_partition_bytes
.
- Per
Partition stringBytes - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of
period
. - Period string
- How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below
per_partition_bytes
.
- per
Partition StringBytes - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of
period
. - period String
- How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below
per_partition_bytes
.
- per
Partition stringBytes - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of
period
. - period string
- How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below
per_partition_bytes
.
- per_
partition_ strbytes - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of
period
. - period str
- How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below
per_partition_bytes
.
- per
Partition StringBytes - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of
period
. - period String
- How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below
per_partition_bytes
.
RetentionConfigResponse, RetentionConfigResponseArgs
- Per
Partition stringBytes - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of
period
. - Period string
- How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below
per_partition_bytes
.
- Per
Partition stringBytes - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of
period
. - Period string
- How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below
per_partition_bytes
.
- per
Partition StringBytes - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of
period
. - period String
- How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below
per_partition_bytes
.
- per
Partition stringBytes - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of
period
. - period string
- How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below
per_partition_bytes
.
- per_
partition_ strbytes - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of
period
. - period str
- How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below
per_partition_bytes
.
- per
Partition StringBytes - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of
period
. - period String
- How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below
per_partition_bytes
.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.