Member since
07-30-2019
3472
Posts
1642
Kudos Received
1020
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 251 | 06-03-2026 06:06 PM | |
| 529 | 05-06-2026 09:16 AM | |
| 1033 | 05-04-2026 05:20 AM | |
| 585 | 05-01-2026 10:15 AM | |
| 701 | 03-23-2026 05:44 AM |
08-08-2024
01:11 PM
1 Kudo
@yagoaparecidoti NiFi templates have been deprecated in Apache NiFi. NiFi flow definitions are the replacement. The ability to create and import templates no longer exists as of Apache NiFi 2.x releases. NiFi templates as well as NiFi flow definitions exist in the Apache NiFi 1.x releases. The first question is what do you mean by "full template"? One of the best ways to navigate the rest-api calls needed to accomplish any task is through the use of the developer tools available in your browser. Open the developer tools and execute the steps via the NiFi UI to accomplish your use case. With each step you can capture the rest-api requests that are being made. Developer tools will even allow you right click on request and select "copy as curl". This will allow you to see the rest-api endpoint and the added headers and raw-data that may go with the request. The browser will add numerous additional headers that are not needed. @vaishaakb Has provided some other community articles that are a good resources. Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped. Thank you, Matt
... View more
08-06-2024
05:58 AM
@DeepakDonde Please share more details on your "headless" NiFi setup. NiFi version and configuration. Or are you using MiNiFi?
... View more
08-06-2024
05:33 AM
@CDC- I encourage you to start a new community question rather then adding to an existing question with an accepted answer. Your query is really unrelated to this question. Something appears to be happening to your content prior to even reaching the PutDataBaseRecord processor. I say this because the exception shared indicates the processor is looking for the content in an "archived" content claim. Content claims are only moved to archive once the claimant count is zero (meaning no actively queued FlowFiles are still referencing content on that claim). Any content claims moved to archive are subject to removal/deletion by the background archive clean-up thread. So not surprised the content is missing. The real question here is what is the lineage of this FlowFile and at what point upstream from your putDatabaseRecord processor did the problem develop. Please start a new community question and provide as much detail as possible. Thanks, Matt
... View more
08-06-2024
05:18 AM
1 Kudo
@akash007 The ConsumeJMS processor configuration has an option to select a StandardRestrictedSSLContextService which would be configured with the keystore and/or truststore needed to facilitate your TLS connection with a secured JMS endpoint. For one-way TLS, You'll only need to configure the Truststore properties. If mutual TLS is needed, you'll need to configure both the keystore and truststore properties. Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped. Thank you, Matt
... View more
08-05-2024
09:00 AM
@DeepakDonde I may not be completely clear on what you have tried above. I am not sure what you mean by "completely new process group". The rest-api endpoints used in both commands above are the same except each has a unique process group UUID: 1e373804-0191-1000-e950-856de82e267d <-- worked 01911000-3804-1e37-10a0-827d946513c6 <-- did not work The second throws an exception that implies the process-group with that UUID does not exist. That uuid needs to be the uuid of the process group in which you are uploading your flow definition. A flow definition will consist of a Process Group (PG) that normally contains components. I am guessing that the UUID you shared that did not work is some random uuid you created? When you flow definition is uploaded to the NiFi UI, its PG and components are assigned UUIDs. You can upload the same flow definition multiple times and each time all components get new UUIDs. NiFi Flow Definitions can only be created by right clicking on a Process Group and selecting "Download flow Definition" from the displayed context menu or via the equivalent rest-api endpoint. That flow definition is stored as a json file which can later be uploaded to the canvas of the same NiFi or to another NiFi. A flow definition is uploaded only by specifying the process group you want upload the flow definition to and the x and y coordinates at which the flow definition's Process Group will be placed. It is not possible to upload a flow definition without this valid information. Even a freshly installed NIFi will generate a root process group on first startup. When you access the UI of a new NiFi install, the blank canvas you are presented with is the root process group and has an assigned UUID (uuid is shown in the "operate" panel in left side of the canvas). Form that root process group you can add many levels of chid process groups and can upload a flow definition to the root process group or any child process group level. Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped. Thank you, Matt
... View more
08-02-2024
08:33 AM
1 Kudo
@Adyant001 The JsonQueryElasticSearch processor does not store state. If the processor has no inbound connection, it will be scheduled to execute its code using the configured properties and scheduling configured. So upon every execution it is going to make the same same query to ElasticSearch. This processor can also be triggered by an inbound FlowFile. So you would have some upstream dataflow to build a query in to its content and that FlowFile is fed to the JsonQueryElasticSearch processor to fetch that specific result. The processor would then not execute again until it received another inbound FlowFile to trigger the execution. Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped. Thank you, Matt
... View more
08-02-2024
06:44 AM
@kleyson Apache NiFi provides a simple to use UI that facilitates flow based programming through the used of hundreds of available components. NiFi's primary function is the ability to ingest unstructured data from a large variety of sources, transform, route , and push that data to a variety of destinations. While NiFi certainly has numerous HTTP processor components (ListenHTTP, HandleHTTPRequest, HandleHTTPResponse) that can be added to the canvas to support HTTP based connections into a dataflow, NiFi is so much more then just that. There are many many ways to ingest data in to NiFi and many many ways to manipulate, modify, generate, split, merge, write, send, etc. the data once it is inside NiFi. The NiFi documentation includes details on all the included components available in the download. Apache NiFi 1.x documentation: https://nifi.apache.org/docs/nifi-docs/ Apache NiFi 2.x documentation: https://nifi.apache.org/documentation/v2/ There are additional add-on NiFi nars that can add even more components. Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped. Thank you, Matt
... View more
08-01-2024
02:10 PM
@Dave0x1 Add Encrypt and Decrypt PGP Processors and Services The EncryptContentGPG processor functions in accordance with the openGPG specification defined in RFC 4880. The specification has changed since then refreshed specification for OpenPGP , which have resulted in changes in the latest Apache NiFi 2.0 milestone releases: Remove Compression from EncryptContentPGP and SignContentPGP Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped. Thank you, Matt
... View more
08-01-2024
06:25 AM
1 Kudo
@Tiger_Name The encrypt-config toolkit was deprecated and removed in the Apache NiFi 2.0.0 release. https://issues.apache.org/jira/browse/NIFI-13414 It was refactored in 2.0.0-M1 (milestone 1) before it was deprecated and removed completely: https://issues.apache.org/jira/browse/NIFI-12243 Your exception sounds like something was not set correctly with regards to the master key in the bootstrap.conf. I'd double check to make sure you set that value correctly. Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped. Thank you, Matt
... View more
08-01-2024
06:04 AM
@Althotta NiFi node disconnections are rarely the result of some underlying issue in NiFi code. Node disconnection are more commonly the result of resource consumption or configurations not being optimal in a NiFi deployment. This particular post if two years old. You should create a new post and provide details around your node disconnection issue and the specific Apache NiFi version you are running to get better assistance. The NiFi cluster UI is a good place to start. The "view details" icon to the far left for each node will provide you with node events which will include disconnect events along with reason. Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped. Thank you, Matt
... View more