[ 
https://issues.apache.org/jira/browse/FLINK-10245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16609201#comment-16609201
 ] 

Hequn Cheng commented on FLINK-10245:
-------------------------------------

You are right, we can add a scheduler to flush data.
To deduplicate data, you can keep a memory buffer. When it's time to flush, we 
can use 
[batch()|https://github.com/apache/hbase/blob/master/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java#L441]
 api to write a list of Mutations(Put or Delete) into hbase. 
What do you think?

> Add DataStream HBase Sink
> -------------------------
>
>                 Key: FLINK-10245
>                 URL: https://issues.apache.org/jira/browse/FLINK-10245
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Streaming Connectors
>            Reporter: Shimin Yang
>            Assignee: Shimin Yang
>            Priority: Major
>              Labels: pull-request-available
>
> Design documentation: 
> [https://docs.google.com/document/d/1of0cYd73CtKGPt-UL3WVFTTBsVEre-TNRzoAt5u2PdQ/edit?usp=sharing]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to