if (!verifyGetEventsRequest(accountID, stream, startTime, endTime, limit, responder)) {
return;
}
StreamConfig streamConfig = streamAdmin.getConfig(stream);
startTime = Math.max(startTime, System.currentTimeMillis() - streamConfig.getTTL());
// Create the stream event reader
FileReader<StreamEventOffset, Iterable<StreamFileOffset>> reader = createReader(streamConfig, startTime);
try {
ReadFilter readFilter = createReadFilter(startTime, endTime);