Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
NIFI enabling an output port using the REST API
Labels:
- Labels:
-
Apache NiFi
-
NiFi Registry
New Contributor
Created 11-24-2022 07:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On the nifi rest api doc its says that you can use the endpoint '/output-ports/{id}/run-status' with a put to run, stop or disable an output port
I would like to enable an output port, is it possible ?
1 REPLY 1
Expert Contributor
Created 11-25-2022 07:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ripo ,
I've tried it out in my own environment and it does not seem like ports have an 'ENABLED' state. If a port is DISABLED, you can only update it to be STOPPED. from a STOPPED state, you can either switch the port to RUNNING or back to DISABLED.
