This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .DS_Store | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from org.apache.commons.io import IOUtils | |
| from java.nio.charset import StandardCharsets | |
| from org.apache.nifi.processor.io import StreamCallback | |
| import os, sys, imp, traceback, time | |
| parser_path = '/scripts/parsers/' | |
| class PyStreamCallback(StreamCallback): | |
| def __init__(self, result): | |
| self.result = result |