Member since
06-14-2023
95
Posts
33
Kudos Received
8
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3838 | 12-29-2023 09:36 AM | |
5612 | 12-28-2023 01:01 PM | |
1102 | 12-27-2023 12:14 PM | |
557 | 12-08-2023 12:47 PM | |
1744 | 11-21-2023 10:56 PM |
11-04-2024
06:51 PM
1 Kudo
The Groovy processor takes the incoming FlowFile and does stuff with it and writes a new FlowFile with the repsonse. What I tried was a JSON upload but will try "multipart/form-data" if I get a chance and see how that looks.
... View more
11-02-2024
06:26 PM
2 Kudos
You can achieve the same with a JOLT shift and this spec: {
"*": "&",
"meHostName": {
"*;*": {
"$(0,1)": "case",
"$(0,2)": "devicename"
}
}
}
... View more
11-02-2024
05:27 PM
1 Kudo
Kinda neat...didn't know RabbitMQ had introduced "stream" queues...I've always used Kafka for streaming in the past. However, reading up on it I don't think NiFi has the native Java library/processors to use RabbitMQ streams. However, the version of the amqp-client that ships with NiFi should be able to support connecting to a streams queue if set up correctly meaning it might be possible to create a custom Groovy processor. https://www.rabbitmq.com/docs/streams
... View more
11-02-2024
04:59 PM
1 Kudo
I've done something similar where I use a custom Groovy processor to handle the file uploaded and posted to the HandleHTTPRequest does something with the data and provides a JSON response to HandleHTTPResponse
... View more
07-22-2024
03:14 PM
Looks like custom might not needed since file and path allows for RegEx which means you could define multiple:
... View more
07-22-2024
03:10 PM
If I get time, I might see how the current SFTP processor works. From the sounds of it you'd want a processor that can do several file patterns/paths per SFTP host to avoid having hundreds of flows.
... View more
07-22-2024
12:44 PM
You could implement this using Groovy script which is forward and backward compatible. I've taken code written in NiFi 1.X and works just fine in 2.X
... View more
04-09-2024
02:02 PM
1 Kudo
Looks like NiFi is might be using GitHub - redis/jedis: Redis Java client under the covers so if it can run the commands you asked about, you might be able to build a custom Groovy processor to run them.
... View more
04-09-2024
01:48 PM
1 Kudo
What headers do you set inside of Postman?
... View more