When you execute the following scenario the application is always in RUNNING state
2)start app, app connects to kafka and starts processing
3)kill kafka(stop docker container)
4)the application doesn't give any indication that it's no longer connected(Stream State is still RUNNING, and the uncaught exception handler isn't invoked)
It would be useful if the Stream State had a DISCONNECTED status.
See this for a discussion from the google user forum. This is a link to a related issue.