Folder Struture

On Demand Druid Exhaust Job Service folder structure is designed to organize the different modules and files. It follows a modular approach, facilitating easy management and development of the service.

The structure is as follows

.
β”œβ”€β”€ main    
β”‚Β   └──  exhaust
β”‚Β    Β Β  β”œβ”€β”€ OnDemandBaseExhaustJob.scala
β”‚Β    Β Β  └── OnDemandDruidExhaustJob.scala
└── TestΒ    
    └── exhaust
      Β  └── TestOnDemandDruidExhaustJob.scala

main.exhaust

This main directory houses our On Demand Druid Exhaust data-product. The OnDemandDruidExhaustJob.scala file contains main method which internally triggers other functions. OnDemandBaseExhaustJob.scala file contains generic functions such as execution, data transformation, storage in blob storage, and retrieval of file paths.

test.exhaust

In the exhaust folder we have the main test case file called TestOnDemandDruidExhaustJob.scala that is used to test our data-product.

Source code

Last updated