replicate

abstract fun replicate(replicate: Boolean): PublishBuilder

Specifies whether the message should be replicated across datacenters.

Return

The current instance of PublishBuilder for method chaining.

Parameters

replicate

Boolean indicating whether to replicate the message (true) or not (false). Default is true.