Scheduled API

This API helps to schedule the processor group at any particular time.

Step 1: Open the specified request & add the details

API Endpoint: <domain_name>/api/spec/schedule

HTTP Method: POST

Step 3:

Click on the send button for the request and if the request is successful the user should see a response message. The schedule time will be updated in the processor group.

The schedule api helps to run the processor group in Nifi at a scheduled time. The schedule time can be updated by changing the cron expression for scheduled_at property in the request body.

Processor Group state Change API:

This API helps to change the state of a processor group in Nifi. It will provide the functionality to start the processor group or stop the processor group.

Step 1: Create a specified request in postman and add the details.

Step 3: Click on the send button for the request and if the request is successful the user should see a response message.

In the above example as you can see the processor group onestep_dataingestion_aws is changed to running state. Note:

1. This API is only used to change the state of a processor group. If you want to change the schedule time you will have to use the Schedule API.

2. It is suggested to stop the processor groups once the data is ingested for all the programs using the above API

Last updated