Github user rmetzger commented on a diff in the pull request:

    https://github.com/apache/bahir-flink/pull/17#discussion_r128921534
  
    --- Diff: flink-connector-kudu/README.md ---
    @@ -0,0 +1,75 @@
    +# Flink Kudu Connector
    +This connector provides a source and sink to [Apache 
Kudu](http://kudu.apache.org/)™
    +To use this connector, add the following dependency to your project:
    +
    +```
    +<dependency>
    +  <groupId>es.accenture</groupId>
    +  <artifactId>flink-kudu-connector</artifactId>
    +  <version>1.0</version>
    +</dependency>
    +```
    +
    +
    +Data flows patterns:
    +* Batch
    +  * Kudu -> DataSet\<RowSerializable\> -> Kudu
    +  * Kudu -> DataSet\<RowSerializable\> -> other source
    +  * Other source -> DataSet\<RowSerializable\> -> other source
    +* Stream
    +  * Other source -> DataStream \<RowSerializable\> -> Kudu
    +
    +
    +```java
    +
    +/* Batch mode - DataSet API -*/
    +
    +DataSet<RowSerializable> input = KuduInputBuilder.build(TABLE_SOURCE, 
KUDU_MASTER)
    +               
    +// DataSet operations --> .map(), .filter(), reduce(), etc.
    +//result = input.map(...)
    +
    +result.output(new KuduOutputFormat(KUDU_MASTER, TABLE_SINK, columnNames, 
KuduOutputFormat.CREATE));
    +
    +KuduInputBuilder.env.execute();
    --- End diff --
    
    Why do you recommend accessing the execution environment from the 
`KuduInputBuilder`? 


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

Reply via email to