you can stop the processor using rest api.
Example:
i GetFile (ID: 9204b68d-0159-1000-7d8f-720592b2a2dd) .
URL- RestAPI:
http://<host>:<port>/nifi-api/processors/9204b68d-0159-1000-7d8f-720592b2a2dd
json PUT Request, .
{
"status": {
"runStatus": "STOPPED"
},
"component": {
"state": "STOPPED",
"id": "9204b68d-0159-1000-7d8f-720592b2a2dd"
},
"id": "9204b68d-0159-1000-7d8f-720592b2a2dd",
"revision": {
"version": 10,
"clientId": "ab010dd6-0159-1000-615b-f095502a7ceb"
}
}
- , RestAPI.
. .
, .