Interface Topic.DefinitionStages.WithDefaultMessageTTL
-
- All Known Subinterfaces:
Topic.Definition,Topic.DefinitionStages.Blank,Topic.DefinitionStages.WithCreate
- Enclosing interface:
- Topic.DefinitionStages
public static interface Topic.DefinitionStages.WithDefaultMessageTTLThe stage of the topic definition allowing to define default TTL for messages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Topic.DefinitionStages.WithCreatewithDefaultMessageTTL(Duration ttl)Specifies the duration after which the message expires.
-
-
-
Method Detail
-
withDefaultMessageTTL
Topic.DefinitionStages.WithCreate withDefaultMessageTTL(Duration ttl)
Specifies the duration after which the message expires. Note: unless it is explicitly overridden the default ttl is infinite (TimeSpan.Max).- Parameters:
ttl- time to live duration- Returns:
- the next stage of topic definition
-
-