[GitHub] flink pull request #2654: [hotfix] [kafka] Fix RackAwareMode instantiation i...

2016-10-26 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/flink/pull/2654


---
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.
---


[GitHub] flink pull request #2654: [hotfix] [kafka] Fix RackAwareMode instantiation i...

2016-10-18 Thread tzulitai
GitHub user tzulitai opened a pull request:

https://github.com/apache/flink/pull/2654

[hotfix] [kafka] Fix RackAwareMode instantiation in Kafka 0.10 test

The IDE is complaining that `new kafka.admin.RackAwareMode.Enforced$()` has 
private access.
Looking at Kafka's own tests 
[[1](https://github.com/apache/kafka/blob/41e676d29587042994a72baa5000a8861a075c8c/streams/src/test/java/org/apache/kafka/streams/integration/utils/KafkaEmbedded.java)],
 `kafka.admin.RackAwareMode.Enforced$.MODULE$` seems to be the correct way to 
instantiate a `RackAwareMode`.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/tzulitai/flink fix-kafka-rackawaremode

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/flink/pull/2654.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 #2654


commit 5336712a5103e29c025470f5137605534de6372d
Author: Tzu-Li (Gordon) Tai 
Date:   2016-10-18T08:16:36Z

[hotfix] [kafka] Fix RackAwareMode instantiation in Kafka 0.10 tests




---
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.
---