public IShardReader Create(IAmazonKinesis client) { var recordProcessor = _recordProcessorFactory.Create(); return(new RawMeasurementsKinesisShardReader(client, _checkpointRepository, _heartbeatService, _processedMeasurementStreamWriter, recordProcessor, _logger)); }