|↳||com.atlassian.bitbucket.topic.TopicSettings<T extends java.io.Serializable>|
creating a Topic. Allows the topic creator to
control the message queue size and the message deduplication policy.
|TopicSettings.Builder<T extends Serializable>|
If the rate at which messages are published on the topic (temporarily) exceeds the rate at which the messages are consumed, pending messages will be stored on the topic's message queue.
If the rate at which messages are published on the topic (temporarily) exceeds the rate at which the messages are consumed, pending messages will be stored on the topic's message queue. This setting controls how many messages can be stored on the queue. When the queue is full, messages will be dropped (and errors logged).
QUEUE_SIZE_DEFAULTindicates that the default queue size will be used.
messages that haven't been dispatched yet should be
deduplicated. Enabling this prevents the message queue from filling up with identical messages. The deduplication
only applies to pending messages and does not take into account any messages that have been dispatched to the
TopicListener in the past. Enabling this option is not appropriate for
that care about
timestamp on the message, since deduplication only retains
the oldest (identical) message in the queue. Deduplication is performed by using the
equals method on the