Support Questions

Find answers, ask questions, and share your expertise

Notify processor throws "channel unregistered before processing completed" error

avatar
Master Collaborator

Hello Experts,

I am using Wait - notify processors for my flow, once in a while I am seeing this error in Notify processor.

java.lang.RuntimeException: Unable to communicate with cache when processing.
The screen shot attached. 

hegdemahendra_1-1698984931911.png

Any idea what is the reason and how to resolve this ?

Thanks in advance.

Mahendra

 

1 ACCEPTED SOLUTION

avatar
Master Collaborator

Found the issue, DisrtibtedMapCacheServer was configured with default 1 mb to handle in each cache request.
But I was trying to pass a attribute value to pass to wait processor from Notify which was 1.5 mb.
After increasing the cache server config from 1mb to 10 mb it worked

View solution in original post

2 REPLIES 2

avatar
Master Collaborator

Found the issue, DisrtibtedMapCacheServer was configured with default 1 mb to handle in each cache request.
But I was trying to pass a attribute value to pass to wait processor from Notify which was 1.5 mb.
After increasing the cache server config from 1mb to 10 mb it worked

avatar
Explorer

Hi @hegdemahendra I am also facing same issue  With FetchDistributedMapCache.
How can i check the size of the flowfile we are reading, for me also it is set to 1Mb
but the data we are saving in cache should not be 1Mb as we are barely saving 100characters in the flowfile payload.
How can we check the data size we are trying to get from cache?

Thanks
Akash