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

TingWuHuang commented on FLINK-20460:
-------------------------------------

Hi,Jark Wu,Thanks for your suggestion. We only support HBase 2.2 in our work. 
We add a HBaseRowDataAsyncLookupFunction class extends 
AsyncTableFunction<RowData> Support async lookup for HBase connector in the 
flink-connector-hbase-2.2 module.
Detailed scheme:
1.Add lookup.isAsync option to check if async mode is enabled.
2.Use HBase Async Client to lookup data
3.We can use guava cache like JdbcRowDataLookupFunction to have a memory cache.
4.If we want to get cache usage, we can also add a hitRate metric.

> Support async lookup for HBase connector
> ----------------------------------------
>
>                 Key: FLINK-20460
>                 URL: https://issues.apache.org/jira/browse/FLINK-20460
>             Project: Flink
>          Issue Type: New Feature
>          Components: Connectors / HBase, Table SQL / Ecosystem
>            Reporter: Jark Wu
>            Priority: Major
>
> Currenlty, {{HBaseRowDataLookupFunction}} implements {{TableFunction}} which 
> is a sync operation. Would be better to have an {{AsyncTableFunction}} 
> implementation which has better performance. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to