Class FileTransport

  • public class FileTransport
    extends Transport
    Appends Openlineage events to a file specified. Events are separated by a newline character, while all the existing newline characters within event json are removed. FileTransport was introduced for the purpose of integration tests.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void emit​(OpenLineage.RunEvent runEvent)  
      void emit​(java.lang.String eventAsJson)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileTransport

        public FileTransport​(@NonNull
                             @NonNull FileConfig fileConfig)