Git Product home page Git Product logo

exmld's People

Contributors

elbrujohalcon avatar maco avatar marcelog avatar raz-adroll avatar zerth avatar

Stargazers

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

exmld's Issues

Add examples and documentation

Add documentation and examples for:

  1. The interaction with erlmld
  2. The interaction with the caller code
  3. Checkpointing
  4. Basic setup (flow creation and important options, supervision trees, etc)

There is some great doc scattered throughout the sources. These should be exposed in the form of a comprehensive wiki or README so a dev can see upfront what this is all about.

Add unit tests

We currently lack unit tests, so let's start by adding them.

Ideally we wouldn't need to run erlmld and can mock/stub it (but DON'T use meck). Create some unit tests and some integration tests exercising both the code that handles what comes in/out from erlmld and what comes in/out of the user code.

Setting AWS endpoints for Kinesis consumer

It doesn't appear to be possible to set the endpoint the library points to for the aws services such as Kinesis and DynamoDb. Instead it appears that we are hard coded to point at the real aws service endpoint. It would be useful for local development to be able to set the endpoint ourselves. This way we aren't creating resources in our production aws cloud environment when running the example. We could supply the endpoint into the producer configuration map e.g:

    # a kinesis stream processor:
    kinesis_producer = %{
      kinesis_endpoint: "http://localhost:4567",
      dynamodb_endpoint: "http://localhost:8000",
      app_suffix: :k,
      kcl_appname: "erlang-processor-kinesis-test",
      stream_name: stream_name,
      stream_region: stream_region,
      stream_type: :kinesis,
    }

Setup CI with Travis or similar

It would be great to have a CI automatically build the project, run unit tests, publish coverage with something like coveralls, etc.

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.