After a connection is established with javakdb; when there is no messages sent for sometime, I see that the connection is dropped as there is a error when trying to send some message again. Is there any default timeout? Can this be changed?
Neither kdb+ or it's Java interface implement any default closing of sockets.
You can set up connection open/closing logging handlers in kdb+ to help debug:
* https://code.kx.com/q/ref/dotz/#zpc-close
* https://code.kx.com/q/ref/dotz/#zpo-open
Thank You. This really helps in debugging.