Пример #1
0
        public void AcknowledgeEvent(long eventOffset)
        {
            var projectionMeta = new ProjectionMetadata(
                _projectionId,
                eventOffset + 1);

            _projectionMetadataRepository.UpdateEventOffset(projectionMeta);
        }
Пример #2
0
        public void AcknowledgeEvent()
        {
            _eventOffset++;

            var projectionMeta = new ProjectionMetadata(
                _projectionId,
                _eventOffset);

            _projectionMetadataRepository.UpdateEventOffset(projectionMeta);
        }