GitHub user jiazhai opened a pull request:

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

    [FLINK-3979] documentation - add missed import classes in 
run_example_quickstart

    The classes that need to be imported  for this part of code
    ```
    result
        .map(new MapFunction<Tuple2<String,Long>, String>() {
            @Override
            public String map(Tuple2<String, Long> tuple) {
                return tuple.toString();
            }
        })
        .addSink(new FlinkKafkaProducer08<>("localhost:9092", "wiki-result", 
new SimpleStringSchema()));
    ```
    
    is 
    
    ```
    import org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducer08;
    import org.apache.flink.streaming.util.serialization.SimpleStringSchema;
    import org.apache.flink.api.common.functions.MapFunction;
    ```


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

    $ git pull https://github.com/jiazhai/flink f3979

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

    https://github.com/apache/flink/pull/2038.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 #2038
    
----
commit 84de7466757c86e968eb9ddce8ba7865821e9091
Author: Zhai Jia <[email protected]>
Date:   2016-05-26T15:24:40Z

    [FLINK-3979] add import for code

----


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

Reply via email to