Re: Custom Listener is very slow

2018-07-30 Thread Bobby
Hi Mark, Thanks for the reply, upon closer inspection, i found out that the fault lies in my code, and based on the above concept, i managed to achieve what i wanted. True that i set 0 for yield duration, in order to get maximum thread works, since incoming input will be streamed non stop. Thank

Re: Custom Listener is very slow

2018-07-30 Thread Mark Payne
Hi Bobby, Your understanding is correct that @OnScheduled will be called when the user clicks Start (or upon restart of nifi if it was running when shutdown). The onTrigger method will be called continually. It's hard to say why it performs poorly with just a quick description of the

Custom Listener is very slow

2018-07-30 Thread Bobby
Hello, i am trying to create custom processor of listen tcp; My requirements are: The source system will create a connection and set a session; After a session established, a message will be sent then my processor need to decode the message, based on that decoded output, i need to create a