{
TestRecord<String, String> record = new TestRecord<>("foo", value, T.plusSeconds(second));
log.info(
- "Sending left: {} at time {}",
- record.value(),
- LocalTime.ofInstant(record.getRecordTime(), ZoneId.systemDefault()));
+ "Sending LEFT at {}: {}",
+ LocalTime.ofInstant(record.getRecordTime(), ZoneId.systemDefault()),
+ record.value());
inLeft.pipeInput(record);
}
{
TestRecord<String, String> record = new TestRecord<>("foo", value, T.plusSeconds(second));
log.info(
- "Sending right: {} at time {}",
- record.value(),
- LocalTime.ofInstant(record.getRecordTime(), ZoneId.systemDefault()));
+ "Sending RIGHT at {}: {}",
+ LocalTime.ofInstant(record.getRecordTime(), ZoneId.systemDefault()),
+ record.value());
inRight.pipeInput(record);
}
.readRecordsToList()
.stream()
.peek(record -> log.info(
- "Received join-outcome: {} for time {}",
- record.value(),
- LocalTime.ofInstant(record.getRecordTime(), ZoneId.systemDefault())))
+ "Receiving join for {}: {}",
+ LocalTime.ofInstant(record.getRecordTime(), ZoneId.systemDefault()),
+ record.value()))
.map(record -> record.value());
}