I am trying to create a flow in Apache Nifi - Situation is like this 1- Consume message from kafka (DONE) 2- transform to a valid request body (DONE) 3- Preserve the transformed message 4- Generate a oauth2 token (it is a post api ) 5- Invoke a post api with transformed json as request body and send token in header
I have tried few ways like putting transformed json in cache and getting it after token generation but the problem is I am not able to pass token to fetchdistributedcache processor . I tried putting json file on my server but getfile doesn't take any input so not able to trigger it after getting token .