Created 07-21-2016 05:44 AM
Can NiFi store current session state variables when being exposed as a web service using HandleHttpRequest-HandleHttpResponse?
Does the State Manager store state application or session wise?
Created 07-21-2016 04:00 PM
You don't really have a session store in NiFi. However, it would be perfectly possible to create a session store using Cookies and the DistributedMapCacheService and associated processors. You would need to do this by having a flow that creates a session id and adds the Set-Cookie header to the response using dynamic properties on the HandleResponse processor. Use the contents from this as a key to then change and lookup session contents.
Created 07-21-2016 04:00 PM
You don't really have a session store in NiFi. However, it would be perfectly possible to create a session store using Cookies and the DistributedMapCacheService and associated processors. You would need to do this by having a flow that creates a session id and adds the Set-Cookie header to the response using dynamic properties on the HandleResponse processor. Use the contents from this as a key to then change and lookup session contents.