Class AsyncMulticastEventStreamPublisher<K,​V>

  • All Implemented Interfaces:
    EventStreamPublisher<K,​V>, Flow.Publisher<KV<K,​V>>

    public class AsyncMulticastEventStreamPublisher<K,​V>
    extends Object
    implements EventStreamPublisher<K,​V>
    The AsyncMulticastEventStreamPublisher is an implementation of Reactive Streams Flow.Publisher which executes asynchronously, using an internal single-thread Executor. Records are produced from a given EventStream in a "multicast" configuration to its Flow.Subscriber. Note: A subscriber will start receiving events from the head of the event-stream buffer, as soon as it perform a valid request demand. The publisher will continue to poll the event-stream buffer as long as at-least one subscriber is requesting more records, i.e even if other subscriptions are applying back-pressure.
    Since:
    0.8.0