Member since
10-26-2017
16
Posts
2
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1016 | 11-20-2017 09:27 AM |
01-20-2018
07:45 AM
@Anil Puvvada Could you show the whole solution pls, im pretty new in nifi, and I need this json to xml tranformation too. I dont really understood what I have to setup in execute string now. thanks
... View more
01-20-2018
07:42 AM
Maybe this is already a solution https://community.hortonworks.com/questions/101298/apache-nifi-json-to-xml-or-xml-translation.html But could someone explain me how to set up this exactly with input json string from flowfile and output xml should be than again a flowfile.
... View more
01-20-2018
07:40 AM
Hi folks, I want to transform the result of the QueryCassandra Processor (which is in Avro or Json) in to xml format. Is there any way to do this, it would be best when there is a generic way, so I wouldnt need to set a explicit shema or sth. for different querys. Something like this just into the opposite direction https://community.hortonworks.com/articles/29474/nifi-converting-xml-to-json.html I hope someone can help me. Thx
... View more
Labels:
11-22-2017
11:36 AM
Is this step by step guide legit for using OpenId Connect? https://bryanbende.com/development/2017/10/03/apache-nifi-openid-connect
... View more
11-22-2017
11:26 AM
Im trieng to perform a behavior in Nifi. Okay so I need to configure LDAP, Kerberos, or OpenID Connect. Can u give me a suggestion which one I should use? I dont really know about LDAP, Kerberos, or OpenID Connect. Because of that I didnt understood the things described in https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#security-configuration
... View more
11-20-2017
09:40 AM
Hi, where and how exactly can i set a username and password in Nifi? I want to use them in Rest Api calls, like in this tutorial https://community.hortonworks.com/articles/87160/creating-nifi-template-via-rest-api.html At this nifi page is something written about setting username and password, but I dont understand it 😕 https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#security-configuration I hope someone can help me.
... View more
Labels:
11-20-2017
09:27 AM
Okay, I found something https://github.com/hermannpencole/nifi-swagger-client
... View more
11-13-2017
12:05 PM
Hi folks, is already a Nifi Api rest client existing, maybe in java or sth else? thx
... View more
Labels:
11-07-2017
06:26 PM
I tried this solution, but it didnt worked for me. But thanks anyway
... View more
11-07-2017
06:25 PM
1 Kudo
@Shu thank you, I used the 2nd method and it worked like charme 🙂 Your Answers are really nice detailed and easy to follow.
... View more
11-07-2017
02:39 PM
My goal is to save these values in cassandra, so i could make a cql statement like: insert into tableA (id, name) values ('${id}', '${name}')
... View more
11-07-2017
02:13 PM
Hi @Shu thx for your help. My next question is how can I get the values from "id" and "name" (in your example) to work with them as attribute, like I did before with EvaluateJsonPath. Is it possible to transform the "last_line" attribute into a flowfile, so I could work with it in EvaluateJsonPath? Or do you have another solution?
... View more
11-07-2017
10:33 AM
Hi folks, I have a dataflow, where I convert a textfile with csv structure into a Json record. After the file is converted Im actually splitting the output flowfile at $.* And after that Im using the evaluateJsonPath processor to get any attributes to work with them. So the dataflow looks like this: getFile -> UpdateAttribute(adding avro shema name) -> ConvertRecord -> SplitJson -> EvaluateJsonPath ->.... So my problem is: I just want exactly the last entry in this csv file or respectively the last json record to work with. I searched already in google and I found as solution approaches to use the ${record.count} attribute (by convertRecord) or ${fragment.count} (by SplitJson) attribute to get the index of the last line/record. But I dont know how/where to use these attributes get just the last entry of my text file/json record. Maybe I need to route this with RouteOnAttribute processor but I dont know how the property have to look like. I hope my Question/Problem is clear and you can handle my broken english. Thx
... View more
Labels:
11-04-2017
01:42 PM
1 Kudo
thx for the answer, it worked perfectly.
... View more
11-04-2017
08:46 AM
Hi, how can I get from a String like this "20170115" a date format, that I can put in a cassandra collumn with date format? I tried in updateAttribute processor this ${column.2:toDate("yyyy/MM/dd", "GMT")} but it didnt worked. column.2 is a csv column with values like "20170115". thx for help
... View more
Labels:
10-26-2017
06:10 PM
Hi, after this example was published, how can i consume this data from movies topic and insert the data into a cassandra table? And it is maybe possible to create the needed cassandra table also directly in nifi? Pls could you give me a solution nearly detailed like this guide, Im absolutly newly trieng nifi.
... View more