Giter Club home page Giter Club logo

aerospike-connect-outbound-sdk's Introduction

Aerospike Connect Outbound SDK

An outbound SDK for creating custom transformers for streaming connectors.

Aerospike Connect outbound transformer provides a plugin system in Aerospike outbound connectors to transform incoming XDR change notification records dispatched to the outbound destination with custom code.

Three transformers can be configured in any combination in the outbound connectors to apply to the incoming Aerospike change notification records dispatched by XDR:

  • Routing transformer: Route the record to the outbound destination.
  • Record transformer: Transform the contents of the Aerospike record. Transformations include:
    • Add bin
    • Delete bin
    • Change bin value
    • Change key
    • Change metadata (generation, last update time, expiry)
  • Format transformer: Transform the Aerospike record into a custom format written to the outbound destination.

The transformers are plugged in by specifying the Java class path of the custom transformer class in the outbound config YAML file. An optional params map can be specified which will be passed to the constructor of the custom transformer class.

For detailed documentation see Aerospike connector docs

Usage

Add a dependency to this repo in your project. The plugin should be compiled with the same/compatible Java version running the outbound connector.

See the build files in the examples folder for further details.

NOTE It is recommended to shade all the custom plugin dependencies to avoid class path conflicts with the outbound connectors.

Maven

<dependency>
    <groupId>com.aerospike</groupId>
    <artifactId>aerospike-connect-outbound-sdk</artifactId>
    <version>1.0.0</version>
    <scope>provided</scope>
</dependency>

Gradle

Kotlin DSL

dependencies {
    compileOnly("com.aerospike:aerospike-connect-outbound-sdk:1.0.0")
}

Groovy

dependencies {
    compileOnly "com.aerospike:aerospike-connect-outbound-sdk:1.0.0"
}

Examples

See gradle and maven examples folder.

aerospike-connect-outbound-sdk's People

Contributors

abhilashmandaliya avatar arrowplum avatar ashishshinde avatar tejassp 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.