Skip to main content
hegdemahendra
Gold ⭐️⭐️
Nov 3, 2023 4:19 AM UTC
Solved

Notify processor throws "channel unregistered before processing completed" error

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

 

hegdemahendra
Gold ⭐️⭐️
Nov 3, 2023 7:17 AM UTC

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

2 replies

hegdemahendra
hegdemahendraAuthorAnswer
Gold ⭐️⭐️
Nov 3, 2023 7:17 AM UTC

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

Translate
akash007
Silver ⭐️⭐️
Dec 18, 2024 8:41 AM UTC

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

Translate