Giter VIP home page Giter VIP logo

avro's Introduction

Avro

This repository contains everything for an AVRO sandbox that goes along with the talk titled:

Adding Avro to your Kafka streams to meet your messaging needs

Slides to the presentation are available at Slide Share

Purpose

This repo contains everything that is needed to play around with Avro.

There is a producer that writes to a topic using an Avro schema and at least one consumer of that topic.

The schema can be changed to test out how those changes affect the entire eco-system.

Requirements

  • Docker
  • Confluent Platform
    • Technically you don't need this (you can build it yourself) - this is just much simpler
  • This repo cloned locally

To Follow Along

  • Download the Confluent Platform and extract it
  • Go to cp-all-in-one directory of the Confluent Platform
  • Run docker-compose up -d --build
    • Make sure to follow instructions to up your Docker memory to at least 10 GB
    • If you want to stop everything simply run docker-compose down in that directory (or manually stop all docker instances)
  • Go to http://localhost:9021/ and create a topic named config_user_rules
    • First time running the build command it may take several minutes for the interface to come up
    • If interface doesn't come up (or acts strangely) make sure that you've increased your Docker memory
  • Use the config-manager (See What's in this repo? section) to publish to that topic

What's in this repo

Each directory should have its own README.md file talking about and showing how to run each service.

Most directories will be an example that can be run as a Docker container. Run these with the --network host argument and you will not have to worry about connecting things.

Important: These containers are run with the assumption that you have downloaded the Confluent Platform and are running the cp-all-in-one.

  • cli-consumer - Kafka Command Line Interface (Go)
  • config-manager - producer to the Kafka stream
  • java-consumer - Java Consumer Example

avro's People

Contributors

dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.