GitHub user gheo21 opened a pull request: https://github.com/apache/flink/pull/2397
[FLINK-4439] Validate 'bootstrap.servers' config in flink kafka consu⦠Hello everybody, I would like to contribute a small improvement to Flink. Lately, I was using the FlinkKafkaConsumer08 to write a streaming topology in flink. Somehow I mistakenly configured the 'boostrap.servers' for the kafka config with invalid hosts. The message that flink provided was not clearly stating what the problem was. Hence, my improvement consists of a validation of the servers provided in 'boostrap.servers'. If none of the configured servers are valid then we should fail-fast and a validation exception should be thrown. If at lease one server is valid then we don't throw any exception. See for more info: https://issues.apache.org/jira/browse/FLINK-4439 You can merge this pull request into a Git repository by running: $ git pull https://github.com/gheo21/flink flink-4439-kafka-consumer-conf-validation Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2397.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 #2397 ---- commit 81bfe72f0de2e21941143cd92c3d031962e6bdc7 Author: George <neo21_ze...@yahoo.com> Date: 2016-08-21T14:08:02Z [FLINK-4439] Validate 'bootstrap.servers' config in flink kafka consumer 0.8 ---- --- 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. ---