Member since
02-01-2022
270
Posts
96
Kudos Received
59
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2096 | 06-12-2024 06:43 AM | |
3082 | 04-12-2024 06:05 AM | |
2124 | 12-07-2023 04:50 AM | |
1263 | 12-05-2023 06:22 AM | |
2175 | 11-28-2023 10:54 AM |
01-11-2024
05:48 AM
1 Kudo
@EbieCAS First, i would recommend NOT using that older hortonworks docker. Check out this article with more recent method to run nifi in docker from apache nifi community: https://community.cloudera.com/t5/Community-Articles/NiFi-cluster-sandbox-on-Docker/ta-p/346271 Second, jump into the community search bar above, search for "nifi docker" and have a look at quite a few posts with various solutions. There is a lot to learn here with examples and feedback from some of our best community members. Third, be mindful of docker basics for networking, port forwarding, etc as you approach connecting the nifi flow to external MSSQL. Last but not least, once you have progress on your flow, and/or if you have more issues or specific questions make a new post for those. Be sure to include details about your flow, what you have tried, what works, what does not, etc. Take screen shots so configurations, details on errors, etc.
... View more
01-09-2024
09:43 AM
2 Kudos
This is awesome!
... View more
01-03-2024
06:50 AM
@enam I cant see the entire configuration of the second InvokeHTTP so I am not sure if you are passing those new attributes into the HTTP URL. If you are not doing that, I think the solution you are looking for is to have the AttributesToJson set Destination to FlowFile Content. Then when you post that to invokeHttp, those values are seen as the post content.
... View more
12-13-2023
05:46 AM
1 Kudo
@edim2525 I have never had a concern to replicate kafka with nifi keeping exact order. Perhaps others can respond with more details in a nifi context. That said, my customers are using Streams Replication Manager (SRM) for heavy duty kafka replications. https://docs.cloudera.com/cdf-datahub/7.2.16/howto-streams-replication-manager.html https://docs.cloudera.com/runtime/7.2.16/srm-overview/topics/srm-replication-overview.html There are several different form factors of SRM across private and public cloud but the doc links above should give you a good idea of what it is.
... View more
12-11-2023
07:52 AM
@SAMSAL Thank you. For future reference. If you ever need to figure out what the request is, simply use NIFI UI to do the action you want while monitoring your Developer Tools. This will expose the full request/response on any given UI action. I have filed a JIRA for this. https://issues.apache.org/jira/browse/NIFI-12503
... View more
12-07-2023
04:50 AM
1 Kudo
@Fayza Nice work. If you can, you should try to remove ReplaceText. You should be able to get the payload exactly how you want it in text input box for GenerateFlowFile.
... View more
12-06-2023
05:42 AM
You need to send a flowfile to InvokeHttp that has the content you want. Make this flow to test: GenerateFlowfile (body of flowfile is the JSON payload), route to InvokeHttp. Your post headers are added to InvokeHttp in similar manner as to how you did "Body Content".
... View more
12-06-2023
05:15 AM
@Fayza Without seeing any error it is impossible for us to solve a specific problem. That said, I have some suggestions. 1. Always make sure you have a working api call. For example: Use Postman. You need to 100% know the call is working, auth, headers, proper format, proper payload, etc. This also makes sure the receiving end is open (networking, firewall, etc). 2. Test invokteHTTP without routing fail,retry,no-retry back to the processor. I use an output port for everything other than response. In testing, you need to know what happened. Inspect flowfile attributes inside of fail,retry, no-retry, to get more details. When i know my flow works, i may auto terminate, or re-route failure back to processor again, but NOT during testing/creation of the flow. 3. Last but not least, make sure that nifi host(s) are able to reach the endpoint. I suspect this is the issue you are bumping into. If you get invokeHttp talking to the endpoint, you should be seeing more details as to what if any errors are in the mutation payload.
... View more
12-05-2023
06:22 AM
1 Kudo
@neters Correct, this button should only restart the required services, NOT the entire cluster. The next screen should present more details before a final button to kick it off.
... View more
12-01-2023
06:05 AM
@I_Mesh01 This error is stating that your topic schema and flink schema do not match. I cant see much above related to the shape of the data or the schema, but this is what you should be looking at. Conflict in data/column types, missing data, etc, will result in the deserialization errors.
... View more