storm-contrib icon indicating copy to clipboard operation
storm-contrib copied to clipboard

Treat NoRouteToHostException as a failed fetch

Open gianm opened this issue 11 years ago • 0 comments

It's possible to get NoRouteToHostExceptions as well as ConnectExceptions when attempting to connect to the kafka broker. I don't think any others are possible, at least based on the docs at http://docs.oracle.com/javase/6/docs/api/java/net/SocketException.html (BindException and PortUnreachableException shouldn't be possible for TCP connects).

gianm avatar Jun 04 '13 21:06 gianm