TAP Stream
Tue, 02/01/2011 - 09:32
I'd like to replicate the contents of a membase cluster into another remote membase cluster. I believe the best way fo getting them in sync is by using a TAP stream, but I don't know where to start.
Can somebody point me towards relevant documentation, HowTo, examples, etc?
Thanks,
Iker.
Hey Iker, depending on what you're trying to do, TAP may be the right option. You can find some documentation on the protocol itself here: http://wiki.membase.org/display/membase/TAP+Protocol and this includes an example script which is located at /opt/membase/bin/ep_engine/management/tap.py but only works against the default bucket for testing.
We also have a Java client under development available here: https://github.com/mikewied/jtap as well as a Ruby client: https://github.com/bfolkens/Membase-TAP-Ruby
Secondly, you may also want to look at our mbrestore script (/opt/membase/bin/ep_engine/management/mbrestore) which can read from Membase database files and replay the information into any cluster or even another bucket of the same cluster.
Let me know if that helps get you started.
Perry
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!