Title
#users-public
c

cl

11/10/2022, 5:45 PM
Hi, In ILP java client API, how can I check socket is closed before I flush data? I would like to know how many records in memory before I flush data? Is there an API for me to use?
Pei

Pei

11/18/2022, 1:44 PM
Hi 🙂 I remember you asked a similar question before. I think for now ILP does’t give feedback on that and could disconnect on errors. Could you give me more context on why you’d need this and in which scenarios?
1:46 PM
Like, do you need to know which record cause disconnection? Or you want to make sure that messages are safe & connected instead of lost?