RetentionConfigResponse class
The settings for a topic's message retention.
Constructors
-
RetentionConfigResponse({required Input<
String> perPartitionBytes, required Input<String> period}) -
Creates a new RetentionConfigResponse.
perPartitionBytesThe 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 ofperiod.periodHow long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is belowper_partition_bytes.const -
RetentionConfigResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
period
→ Input<
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.final -
perPartitionBytes
→ Input<
String> -
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.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited