Giter VIP home page Giter VIP logo

kafka-examples's Introduction

kafka-examples

This repository contains examples of using the DataStax Apache KafkaTM Connector. Feel free to use and modify any of these for your own purposes. There is no warranty or implied official support, but hopefully the examples will be useful as a starting point to show various ways of using the DataStax Apache Kafka Connector. And if you see anything that could be improved or added, issue reports and pull requests are always welcome.

Documentation - https://docs.datastax.com/en/kafka/doc

Download - https://downloads.datastax.com/kafka/kafka-connect-dse.tar.gz

Slack - https://academy.datastax.com/slack #kafka-connector

Kafka Clients - Producer API

In the producers directory are examples that use the Kafka Clients Producer API and take the written records and persist them to DataStax Enterprise using the DataStax Apache Kafka Connector

producers/src/main/java/avro - Example using KafkaAvroSerializer / AvroConverter

producers/src/main/java/json - Example using JsonSerializer / JsonConverter + regular JSON record

producers/src/main/java/json/udt - Example using JsonSerializer / JsonConverter + mapping regular JSON to UDT in DSE

producers/src/main/java/json/single-topic-multi-table - Example using JsonSerializer / JsonConverter + mapping regular JSON topic to multiple tables in DSE

producers/src/main/java/primitive/string - Example using StringSerializer / StringConverter

producers/src/main/java/primitive/integer - Example using IntegerSerializer / IntegerConverter

Kafka Source Connectors

In the connectors directory are examples that use Kafka Source Connectors and take the written records and persist them to DataStax Enterprise using the DataStax Apache Kafka Connector

connectors/jdbc-source-connector - Example using JDBC Source Connector with and without schema in the JSON records

kafka-examples's People

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.