Job Templates
A Job Template (or simply Template) combines Building Blocks into one configuration file for your jobs. It:
Provides instructions to the services that execute your job.
Ensures your app and data engines are connected correctly.
By default, ByteNite generates a job template when you start building a new app. This allows you to focus on developing your app without needing to configure the other components upfront.
However, since your app may expect specific data types or formats, you can create and customize a job template to link your app to the appropriate partitioning and assembling engines.
Job Template file
Example:
How to create a job template
You can either:
Define the fields manually as shown in the example, or
Generate a blank template using the ByteNite CLI:
Key notes
If you prefer to manage templates separately, you can move your template out of the app folder and use the CLI to manage it independently.
Your template includes a user-defined id
and an optional description
. Use the app
, partitioner
, and assembler
fields to specify which components should be used in jobs built from this template:
Last updated
Was this helpful?