Member since
04-20-2018
3
Posts
0
Kudos Received
0
Solutions
01-23-2025
05:36 AM
Hello, I want to upgrade the NiFi version for my 3 nodes from 1.22.0 to 1.28.1. my question is: can i do the upgrade directly without going through intermediate versions? are there any recommendations? thank you for your feedback in advance
... View more
Labels:
- Labels:
-
Apache NiFi
02-27-2023
05:51 AM
So I'm working with a batch JSON file with the following value : [
{
"eventType": "UPDATE",
"eventTime": "2021-12-14T12:34:56.789012Z",
"country": "ES",
"resourceType": "Party"
},
{
"eventType": "UPDATE",
"eventTime": "2021-12-14T12:34:56.789012Z",
"country": "ES",
"resourceType": "Party"
},
{
"eventType": "UPDATE",
"eventTime": "2021-12-14T12:34:56.789012Z",
"country": "FR",
"resourceType": "Party"
},
{
"eventType": "UPDATE",
"eventTime": "2021-12-14T12:34:56.789012Z",
"country": "FR",
"resourceType": "Party"
}
]
So I'm working with a batch JSON file with the following value :
[
{
"eventType": "UPDATE",
"eventTime": "2021-12-14T12:34:56.789012Z",
"country": "ES",
"resourceType": "Party"
},
{
"eventType": "UPDATE",
"eventTime": "2021-12-14T12:34:56.789012Z",
"country": "ES",
"resourceType": "Party"
},
{
"eventType": "UPDATE",
"eventTime": "2021-12-14T12:34:56.789012Z",
"country": "FR",
"resourceType": "Party"
},
{
"eventType": "UPDATE",
"eventTime": "2021-12-14T12:34:56.789012Z",
"country": "FR",
"resourceType": "Party"
}
] I'm able to extract attributes from JSON by using EvaluateJsonPath processor. UpdateAttribute is the processor where i want to extract the attributes. Please find below snapshot of UpdateAttribute processor when value of "country="ES" I want get json file like this: [
{
"eventType": "UPDATE",
"eventTime": "2021-12-14T12:34:56.789012Z",
"country": "ES",
"resourceType": "Party"
},
{
"eventType": "UPDATE",
"eventTime": "2021-12-14T12:34:56.789012Z",
"country": "ES",
"resourceType": "Party"
}
]
... View more
Labels:
- Labels:
-
Apache NiFi