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

Shimin Yang commented on FLINK-10245:
-------------------------------------

Hi [~yuanoOo], I think the Increment operation should in the bussiness logic 
not the Sink. If we retrieve a value from HBase and then increment by one, then 
it will violate the consistency during recovery. For the pv senario, I suggest 
you can use the count in flink API and write to HBase in an overwrite fashion.

> 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