Giter VIP home page Giter VIP logo

iron-maven's Introduction

Installation

Prerequisites

  • maven
  • JDK 21
  • Flink 1.19.0 (download from here)
  1. Install maven deps:

  2. Extract Flink archive into the project root:

Build

make build

Launch Nodes

Run in separate terminal seshions/processes:

make node1
make node2

Launch Mock Event Generators

make events1 events2

Centralized Flink Cluster

Not relevant for the project, keeping the docs for reference.

Build with:

mvn clean package

Start Flink cluster from the folder with Flink files:

./bin/start-cluster.sh

Submit the built JAR to the cluster:

${path_to_flink_folder}/bin/flink run target/my-app-1.0-SNAPSHOT.jar

iron-maven's People

Contributors

kristina-pianykh avatar

iron-maven's Issues

Set up logging

Option 1: write logs in per-node basis and use jq for querying
Can you run jq over multiple files?

Option 2: send logs to a log aggregator (Loki?). Can dashboard for data transmission

Set up a listener on nodes for communicating with the coordinator

A separate server to accept control messages from the coordinator.

Functionality:

  • both incoming and outcoming communication (receiving instructions and reporting available to commit)
  • report healthy on the request for a switch (how to monitor for overload on the flink engine?)
  • trigger buffering events of the partitioning input from t_0 until t_1 (separate data stream, same sink but triggered on demand?)
  • flush the buffer to a new target

Implementation

  • Send control message just like any other event. Create a super class from which AtomicEvent would inherit that would have a field with a type of a message (control or regular)
  • filter the inputEventStream to branch it into the regular event stream and control stream based on the message type
  • Apply Windowing based on t_0 and t_1?
  • Define custom trigger?
  • Reuse the SocketSink
  • Define a custom time trigger for the event stream on t_1
  • Override clear() method to clear state (all partial matches) on the trigger from (6) from the event stream on t_1

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.