.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    TopicOverloadPolicy Enum

    Namespace: Hazelcast.Models
    Assembly: Hazelcast.Net.dll

    Defines the overload policy for a topic when there is no place to store a message.

    public enum TopicOverloadPolicy

    Fields

    Block

    The caller will wait till there space in the ring buffer.

    DiscardNewest

    The message that was to be published is discarded.

    DiscardOldest

    A message that has not expired can be overwritten. No matter the retention period set, the overwrite will just overwrite the item. The policy can cause problem for slow consumers since they were promised a certain time window to process the messages. But it will benefit producers and fast consumers since they are able to continue. This policy sacrifices the slow producer in favor of fast producers/consumers.

    Error

    The publish call immediately fails.

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.