- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Issue in developing custom processor on top of listS3
- Labels:
-
Apache NiFi
Created ‎09-17-2022 10:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to develop a custom processor following answers regarding the same. (Ex: https://community.cloudera.com/t5/Community-Articles/Build-Custom-Nifi-Processor/ta-p/244734). My use-case is that I need to add some additional functionality to ListS3 processor. I followed the maven command and successfully generated MyProcessor.java.
Could anybody please help me with steps on how I use ListS3 code and edit on top of it. Do I need to clone entire nifi repo or nifi-aws-bundle? If yes, how to integrate nifi-aws-bundle and my nifi-customProcessor-bundle? Tried few solutions recommended but these error still remains -
- Cannot resolve symbol 'amazonaws'
- Cannot resolve symbol 'list'
- Cannot resolve symbol 'AbstractS3Processor'
- Cannot resolve symbol 'getLogger'
- Incompatible types. Found: 'org.apache.nifi.processors.customProcessor.CustomProcessor.ListedS3VersionSummaryTracker', required: 'ListedEntityTracker<ListableEntityWrapper<S3VersionSummary>>'
.
.
and many similar errors.
Thank you for looking into this problem in advance!
Created ‎01-04-2023 11:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1.first try this import org.apache.nifi.processors.aws.s3.*;
2.check if you are having dependency for this nifi.aws.-abstract-processors
3. check version of dependency(nifi.aws.-abstract-processors).
