Свойство | Тип | Описание | |
---|---|---|---|
_log | ILog |
Метод | Описание | |
---|---|---|
DefaultEventStream ( IStandardStreamingEventBus eventBus, string topic ) : System | ||
Dispose ( ) : void | ||
Publish ( object evt ) : void |
Метод | Описание | |
---|---|---|
FlushStreamBuffer ( ) : void |
When processing a stream of an unknown size, it becomes a challenge to know when you have dealt with the last object in that stream. This class utilizes the Dispose() method to indicate that stream processing has completed. This is necessary in order to mark the last message with the isLast header flag set to true. The trick here is to ensure that the streamBuffer is not entirely empty when dispose gets called.
|
public DefaultEventStream ( IStandardStreamingEventBus eventBus, string topic ) : System | ||
eventBus | IStandardStreamingEventBus | |
topic | string | |
Результат | System |