What is the best way to publish all changes to RabbitMQ?
Hi @igreenfi,
I recommend you to take a look at our kafka connector and from there publish into rabbitmq. This is probably the safest and supported way to get notifications.
under the hood couchbase has a replication protocol which is called DCP. We are currently working on consumers like this one: https://github.com/couchbaselabs/java-dcp-client which can you use to in turn publish changes to RabbitMQ … note that this interface is currently not supported (only through kafka/spark and so on, the higher level packages) but will be in the future.
If you don’t have super high perf requirements you might also get away with periodic polling of docs on the server and loading them up in RabbitMQ. What is your exact use case?
1 Like