Пример #1
0
 private void Given()
 {
     _projection   = "projection";
     _partitionAt  = CheckpointTag.FromPosition(100, 50);
     _partition    = "partition";
     _namesBuilder = ProjectionNamesBuilder.CreateForTest(_projection);
     _re           = new ResultEmitter(_namesBuilder);
 }
 public void setup()
 {
     Given();
     _namingBuilder = ProjectionNamesBuilder.CreateForTest("projection");
     _config        = new ProjectionConfig(null, _checkpointHandledThreshold, _checkpointUnhandledBytesThreshold,
                                           _pendingEventsThreshold, _maxWriteBatchLength, _emitEventEnabled,
                                           _checkpointsEnabled, _createTempStreams, _stopOnEof);
     _resultEmitter = new ResultEmitter(_namingBuilder);
     When();
 }