private int?GetLastCheckpoint(string stateStream)
        {
            var state = _eventStoreConnection.GetLastEvent <IrresponsibleGamblerAlarmPublisherCheckpoint>(stateStream);

            return(state != null ? state.LastEventProcessed : (int?)null);
        }