Giter VIP home page Giter VIP logo

freestyle-kafka's People

Contributors

47degfreestyle avatar adrianrafo avatar franciscodr avatar juanpedromoreno avatar raulraja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freestyle-kafka's Issues

[SPIKE] Research Kafka Stream API

Before creating new issues about Kafka Stream API, we should research a bit what functionalities this API provides and how we could integrate it in freestyle.

Once we know the magnitude of the work involved in this area, we'll be able to create more accurate issues.

Config PoC

This goal of this ticket is reading the configuration of both Kafka producer and consumer by using freestyle-config.

Processor annotation

We want to have a new set of annotations for Kafka processors. It means that annotating a @free trait or abstract class adding the @processor annotation, we will have 2 more available to label our methods:

@publisher: will generate code to allow publishing messages to a specific topic
@subscriber: will start consuming messages.

Example:

  object processor {

    @free
    @processor
    trait FreesKafkaProcessor {

      @publisher("topic") def objectDispatcher(): FS[Unit]
      @subscriber[String, String]("topic") def objectFetcher(): FS[Unit]
    }
  }

Consumer PoC

We want to implement an algebra based on FreeStyle that provides the most common operations that we can do with a Kafka consumer. We'll use the Kafka Java client for this purpose.

Serialization PoC

We are interested in providing a mechanism to serialize/deserialize data stored in Kafka queue. The idea is creating serializer/deserializer for the primitive types and providing generic derivation for ADT.

Producer PoC

We want to implement an algebra based on FreeStyle that provides the most common operations that we can do with a Kafka producer. We'll use the Kafka Java client for this purpose.

The methods that provides Kafka producer can be checked in Javadoc page

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.