I am trying to get the Feed ID from a processor inside the NiFi template implementation created by Kylo.
In other words, how can I know that feed ID the current processors reside in?
Tried using the GetFeedMetadata processor but it returns only the first feed details and not the current feed the processors belong to.
${feedJson:jsonPath('$.id')}
returns the first feed data not the current feed
Kylo has a 'Initialize Feed Parameters' update attribute processor, this puts a feed and category attribute. You can then call the /feedmgr/feeds/by-name/ API to get the Feed details. Note that the feed name needed for this API is category.feedName, not simply the feed name. The documentation is not very clear on that.