You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Marke Builder <ma...@gmail.com> on 2018/11/11 09:45:10 UTC

Best practice to write data from a stream to non-relational, distributed database (hbase)

Hi,

what is the prefered way to wirte streaming data to hbase?
Rolling File Sink or Streaming File Sink?
How can I configure this (open the connection with conf, and the write
handling(key,data)?
What do I have to consider about the partitions? I prefer a write pro
partition.

Thanks!
Marke

Re: Best practice to write data from a stream to non-relational, distributed database (hbase)

Posted by "Tzu-Li (Gordon) Tai" <tz...@apache.org>.
Hi,

Have you taken a look yet at this [1]? That is an example of writing a stream to HBase.

Cheers,
Gordon

[1] https://github.com/apache/flink/blob/master/flink-connectors/flink-hbase/src/test/java/org/apache/flink/addons/hbase/example/HBaseWriteStreamExample.java


On 11 November 2018 at 5:45:27 PM, Marke Builder (marke.builder@gmail.com) wrote:

Hi,

what is the prefered way to wirte streaming data to hbase?
Rolling File Sink or Streaming File Sink?
How can I configure this (open the connection with conf, and the write handling(key,data)?
What do I have to consider about the partitions? I prefer a write pro partition. 

Thanks! 
Marke