Git Product home page Git Product logo

couchbasekafka's Introduction

couchbasekafka

Couchbase Agent to push messages to Kafka

TO RUN

  • mvn clean package assembly:single
  • java -jar cbkafka-1.0-jar-with-dependencies.jar

#config.properties

  • Contains settings for TAP API and Adapter
  • cb.cbserver=http://IP:8091/pools - Couchbase server
  • cb.streamname=cookiestream - TAP specific settings.
  • cb.startdate=1413500947028
  • cb.fulldump=true -FULL dump of data from beginning. Doesnt use STREAM name and startdate if fulldump=true

//Used to determine if Transformation required for the message.

  • enableTransformation=true - If you would like to do preprocessing of data

//Custom class used for transformation.

  • CBMessageConverter=com.paypal.cookie.utils.CBCookieMessageConverterImpl #Custom class for preprocessing

//Paypal -filtering message based on key - Used by preprocessing class

  • keyprefixfilter=cs_pp_
  • analyticskeyprefixfilter=cs_ca_
  • cs_pp_.topicname=cookie.general
  • cs_ca_.topicname=cookie.analytics

//Used to switch on/off monitoring

  • monitoringEnabled=true
  • sherlockThreshold=200000

#kafkaconfig.properties

  • to configure settings specific to Kafka producer
  • metadata.broker.list - #Kafka brokers
  • partitioner.class - Topic partition logic.
  • request.required.acks- 0, means that the producer never waits for an acknowledgement
  • cookie.topic #Topic to publish messages to
  • producer.type=async/sync //---settings used if async
  • queue.time
  • queue.size
  • batch.size

couchbasekafka's People

Contributors

ssudhakaran avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.