Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Events in couchbase

3 replies [Last post]
  • Login or register to post comments
Fri, 11/16/2012 - 01:01
srinivas_s
Offline
Joined: 11/16/2012
Groups: None

I am looking for a feature where I can listen to events on the bucket possibly document added/ document changed kind of events. Has anyone been able to do this using couchbase

Top
  • Login or register to post comments
Fri, 11/16/2012 - 12:22
mikew
Offline
Joined: 03/14/2011
Groups:

You can use tap streams in order to get notifications on all key value changes. The Java SDK has a tap implementation that you can look at. Please take a look at the tap client and let me know if you have any implementation questions.

Also in the future we want to add server side hooks that will be called each time a specific scenario takes place.

Top
  • Login or register to post comments
Wed, 02/27/2013 - 13:54
swapmat
Offline
Joined: 02/27/2013
Groups: None

Is the tap implementation available in C SDK? I can't seem to find one.

Top
  • Login or register to post comments
Thu, 02/28/2013 - 08:50
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello,

The TAP protocol is not available in the C/C++ library.

Depending of the type of information you need you can use the REST API of the XDCR to receive all changes from Couchbase (after they have been saved on disk)

You can look at this implementation in C# : (not the same but will give you an idea)
http://blog.couchbase.com/xdcr-aspnet-and-nancy

Node: This is what we us to push document to Elasticsearch too.

Regards

__________________

Tug
@tgrall

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker