Hello,
i am implementing posting data in my java application and to work on it i was looking at the post examples for ETA ValueAdd/ETA API on RTSDK github, for example
https://github.com/Refinitiv/Real-Time-SDK/blob/master/Java/Eta/Applications/Examples/src/main/java/com/refinitiv/eta/valueadd/examples/consumer/PostHandler.java
In those example on the sendOnstreamPostMsg/sendOffstreamPostMsg call, a TransportBuffer is obtained:
TransportBuffer msgBuf = chnl.getBuffer(TRANSPORT_BUFFER_SIZE_MSG_POST, false, errorInfo);
This is passed to the encode* calls which will encode the messages and then the message is sent with
chnl.submit(msgBuf, submitOptions, errorInfo)
In all those situations, i don't see anywhere calls to ReactorChannel.releaseBuffer in case of errors/unused buffers.
The documentation (ETA Java ValueAdd Developers Guide) in 6.7.2(.2) about writing data shows multiple times to call releaseBuffers in case the submit() doesn't go well or the buffer is unused.
I am missing something from the examples or this is an error?