Socket (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/java/net/Socket.html#sendUrgentData(int)
sendUrgentData
public void sendUrgentData(int data) throws IOException
Send one byte of urgent data on the socket. The byte to be sent is the lowest eight bits of the data parameter. The urgent byte is sent after any preceding writes to the socket OutputStream and before any future writes to the OutputStream.
- Parameters:
data
- The byte of data to send- Throws:
IOException
- if there is an error sending the data.- Since:
- 1.4
http://kafka.apache.org/protocol#The_Messages_OffsetCommit