pub/sub: C++/C client library
Wed, 02/27/2013 - 11:27
Hello,
Can someone please point to C++/C pub/sub client library/examples and mechanisms supported by Couchbase ?
I read that using TAP interface could be one approach. Any other suggestions/pointers is appreciated.
Thank you,
Sam
Fri, 03/01/2013 - 09:26
I need to create a C++/C client listener - pub/sub on a particular key/value data change.
It would be good if the pub/sub has filters for event type and data filters so that listener is not flooded and receives updates only on interested objects. Looking at above URL, not clear if this is possible in Couchbase.
Hello,
TAP is not exposed in the C/C++ client library.
Which kind of operation you want to subscribe to?
You may try to use the XDCR API to achieve this, your cluster will send your information using REST (but as you can guess it won't be real time)
This http://blog.couchbase.com/xdcr-aspnet-and-nancy is an example of a push to a .Net application.
Regards
Tug
@tgrall