LiteTopicRetentionConfig class
Constructors
-
LiteTopicRetentionConfig({required Input<
String> perPartitionBytes, Input<String?> ? period}) -
Creates a new LiteTopicRetentionConfig.
perPartitionBytesThe provisioned storage, in bytes, per partition. If the number of bytes storedperiodHow long a published message is retained. If unset, messages will be retained asconst -
LiteTopicRetentionConfig.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 perPartitionBytes. A
duration in seconds with up to nine fractional digits, terminated by 's'.
Example: "3.5s".
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