p
etlflow
package etlflow
Type Members
-
trait
JobApp extends ZIOAppDefault with ApplicationLogger
This is the entry point for a EtlFlow Job application (See below sample).
This is the entry point for a EtlFlow Job application (See below sample).
import etlflow._ import etlflow.task._ import zio._ object MyJobApp extends JobApp { def executeTask(): Unit = logger.info(s"Hello EtlFlow Task") val task1: GenericTask[Unit] = GenericTask( name = "Task_1", function = executeTask() ) def job(args: Chunk[String]): RIO[audit.AuditEnv, Unit] = task1.execute }