You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Rohit Jain <ro...@esgyn.com> on 2017/02/15 13:47:04 UTC

Publish / Subscribe with HBase

Hi folks,

Is there a way to hang a scan read against an HBase table that does not complete until the next row arrives (is inserted into the table) instead of returning end of data?  There would be an accompanying time out so that the app can take a breather if nothing has arrived for a while and then perhaps re-drive the scan.   Essentially this is a pub/sub scenario where you publish to an HBase table via a put and subscribe to it using a waited scan. 

Rohit

Re: Publish / Subscribe with HBase

Posted by Ted Yu <yu...@gmail.com>.
There is no such functionality in scan currently. 

> On Feb 15, 2017, at 5:47 AM, Rohit Jain <ro...@esgyn.com> wrote:
> 
> Hi folks,
> 
> Is there a way to hang a scan read against an HBase table that does not complete until the next row arrives (is inserted into the table) instead of returning end of data?  There would be an accompanying time out so that the app can take a breather if nothing has arrived for a while and then perhaps re-drive the scan.   Essentially this is a pub/sub scenario where you publish to an HBase table via a put and subscribe to it using a waited scan. 
> 
> Rohit