MessageBufferConfig
Parameters
The set of channel types whose NewMessageEvents should be routed through the bounded buffer. Channel types not in this set continue to use the unbuffered path. When this set is empty (the default), buffering is disabled entirely and the per-event channel-type check is skipped.
The maximum number of NewMessageEvents that can be queued in the buffer while the consumer is busy. Once exceeded, overflow decides which event to drop. Defaults to Int.MAX_VALUE, which effectively disables overflow.
The strategy applied when the buffer is full:
MessageBufferOverflow.DROP_OLDEST (default): the oldest queued event is evicted to make room for the new one. Useful for live channels where freshness matters more than completeness.
MessageBufferOverflow.DROP_LATEST: the newest event is discarded and the queued events are kept.