.glob(sourceFile.getFileName().toString()) .build((filename, line) -> { String[] split = line.split(",");
BatchSource<Map.Entry<Integer, Product>> products = Sources.filesBuilder(resourcesPath) .sharedFileSystem(true) .glob("products.txt") .build((file, line) -> { Map.Entry<Integer, String> split = splitLine(line); .glob("brokers.txt") .build((file, line) -> { Map.Entry<Integer, String> split = splitLine(line);