Member since
01-10-2022
3
Posts
1
Kudos Received
0
Solutions
01-14-2022
12:04 AM
I have the following json file in which an image is encoded in the photo field: I use standard processors to work with a JSON file and try to write this file to PostgreSQL using an ExecuteSQL processor (photo in bytea format). When writing directly, it gives an error that the char format was expected. How to write the encoded image to the database correctly using apache nifi?
... View more
01-10-2022
07:06 AM
1 Kudo
I need to send a file in jpeg format and a json string in post-request. Screenshots below By sending this request, I get an incorrect data display and an incorrect type in NiFi (This works even if the application/json or image/jpeg type is explicitly specified). Below you can see the name of the mime.type attribute for two flow files. In theory, application/json and image/jpeg should have been written here. and And the contents of the JSON file are displayed as follows: Is there any way to make sure that the file type is displayed correctly, and we can see the contents in json file?
... View more