Github user koeninger commented on a diff in the pull request:
https://github.com/apache/spark/pull/13996#discussion_r69155792
--- Diff:
external/kafka-0-10/src/test/java/org/apache/spark/streaming/kafka010/JavaKafkaRDDSuite.java
---
@@ -96,14 +96,14 @@ public String call(ConsumerRecord<String, String> r) {
sc,
kafkaParams,
offsetRanges,
- PreferFixed.create(leaders)
+ LocationStrategy.PreferFixed(leaders)
--- End diff --
This is just a style thing, but all of these capitalized method names (even
for static methods) don't follow any style guide I've ever seen, either for
spark or scala.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]