Company
Date Published
Author
Sergey Avseyev, SDK Engineer, Couchbase
Word count
431
Language
English
Hacker News points
None

Summary

The new Couchbase Kafka connector enables direct streaming of events from Couchbase Server (version 3.0 or later) to Kafka, though it remains under development with an invitation for users to report any encountered issues. The project, inspired by a previous connector from PayPal, can be accessed on GitHub, with developer previews available from Couchbase's Maven repository and future general availability artifacts expected on Maven Central. Users can utilize a straightforward setup involving a filter class to pass only MutationMessage instances and an encoder class to convert document values into byte arrays, effectively establishing a Couchbase-Kafka bridge. The provided example demonstrates how to configure and run the connector using the specified Couchbase and Kafka server addresses, with instructions for setting up these servers via provisioning scripts.