Failure to close streaming api connection


#1

What happens when a client fails to properly close a streaming api connection? For instance, if a JVM on a linux machine is brought down with “kill -9”. How long does it take for your server to notice that the client is gone so that the DPU clock stops ticking?


#2

As long as the Java process which holds the open connection with DataSift was closed; Our streaming node will notice this within a matter of seconds, and stop billing you. 

You should try to aviod shutting down your connection this way, and instead use the stop() methods included in our Official Supported Client Libraries