Exemple #1
0
            protected override void Tumbling(TumbledSet tumbled)
            {
                var events = tumbled.Data.ToArray();

                _logger.LogTrace($"Processing {events.Length} events from {tumbled.EntryTime} to {tumbled.ExitTime}");
                _eventStream.Process(events.AsEnumerable(), x => x.Watermark = tumbled.ExitTime);
            }