How can I read from a Volatile Layer using a Batch pipeline ?
public IntermediateData compileInFn(Pair<Key, Meta> in, LogContext logContext) {
String partitionID = in.getKey().partition().toString();
try {
if (!partitionID.isEmpty()) {
// Retrieve the partition.
Payload payload = retriever.getPayload(in.getKey(), in.getValue(), logContext);
}
}
} catch (Exception e) {
}
return new IntermediateData(in.getKey(), testResults);
}