Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Send TCP acknowledgement in NIFI

Highlighted

Send TCP acknowledgement in NIFI

New Contributor

We are using ListenTcp processor to get the message. After that, we need to construct and send an ACK back to the message sender in the same connection. Is there a way we can send acknowledgment message using the same connection? like a handshake? We cannot use PutTcp since the message sender doesn't have ip/port listening. Please suggest.

1 REPLY 1

Re: Send TCP acknowledgement in NIFI

What you are asking for is basically an application specific protocol on top of TCP, so you would need to implement a custom processor that understands your protocol and sends the acknowledgement back. A good example would be the ListenRELP processor which is very similar to ListenTCP/ListenSyslog, except it needs to acknowledge which RELP frame ids it has received.

Don't have an account?
Coming from Hortonworks? Activate your account here