GitHub user jaikiran opened a pull request: https://github.com/apache/kafka/pull/138
Log the real exception which triggered a reconnect The commit here improves the logging in SimpleConsumer to log the real reason why a reconnect was attempted. Relates to https://issues.apache.org/jira/browse/KAFKA-2221. The same patch was submitted a while back but wasn't merged because SimpleConsumer was considered deprecated and users' aren't expected to use it. However, more and more users in the user mailing list are running into this log message but have no way to understand what the root cause is. So IMO, this change still adds value to such users who are using SimpleConsumer. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jaikiran/kafka kafka-2221 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/138.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #138 ---- commit 4fb024931761d253ae110cfa69377508de4a1f61 Author: Jaikiran Pai <jaikiran....@gmail.com> Date: 2015-08-14T16:58:57Z Log the real exception which triggered a reconnect ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---