mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
edbb1e021f
commit
b231036f87
2 changed files with 0 additions and 4 deletions
|
@ -65,9 +65,6 @@ public final class DeadLetterQueueReader implements Closeable {
|
|||
currentReader = new RecordIOReader(segment);
|
||||
byte[] event = currentReader.seekToNextEventPosition(timestamp, (b) -> {
|
||||
try {
|
||||
if (b == null){
|
||||
return null;
|
||||
}
|
||||
return DLQEntry.deserialize(b).getEntryTime();
|
||||
} catch (IOException e) {
|
||||
return null;
|
||||
|
|
|
@ -263,7 +263,6 @@ public final class RecordIOReader implements Closeable {
|
|||
this.channel.position(bufferState.channelPosition);
|
||||
this.channelPosition = channel.position();
|
||||
this.currentBlockSizeReadFromChannel = bufferState.currentBlockSizeReadFromChannel;
|
||||
|
||||
}
|
||||
|
||||
final static class BufferState {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue