Re: [PR] NIFI-12854: Add S3 user metadata via flowfile attributes [nifi]

2024-03-14 Thread via GitHub
gforeman02 commented on PR #8477: URL: https://github.com/apache/nifi/pull/8477#issuecomment-1998298309 @markap14 i created a custom s3 nar with the following mod: ``` final Map userMetadata = new HashMap<>(); for (final Entry entry : context.getProperties().entrySet()) { if

Re: [PR] NIFI-12854: Add S3 user metadata via flowfile attributes [nifi]

2024-03-07 Thread via GitHub
gforeman02 commented on PR #8477: URL: https://github.com/apache/nifi/pull/8477#issuecomment-198352 @markap14 one other approach could be to have a special dynamic property that the processor uses to read key/value pairs from the dynamic property value. Maybe something like a key

Re: [PR] NIFI-12854: Add S3 user metadata via flowfile attributes [nifi]

2024-03-06 Thread via GitHub
gforeman02 commented on PR #8477: URL: https://github.com/apache/nifi/pull/8477#issuecomment-1981644942 Hello @markap14 , thanks for posting. Yes, the existing method (dynamic properties) requires knowing what the user metadata keys will be in advance. My client has a scenario where one

Re: [PR] NIFI-12854: Add S3 user metadata via flowfile attributes [nifi]

2024-03-06 Thread via GitHub
markap14 commented on PR #8477: URL: https://github.com/apache/nifi/pull/8477#issuecomment-1981584269 Hey @gforeman02 thanks for putting this forward. I'm not sure that I agree that it's a good idea to add this, though. In general, we should not support multiple different ways to do the