Giter VIP home page Giter VIP logo

flink-platform-backend's Introduction

flink-platform-web

This project is a job scheduling framework with center less structure, easy to scale up. We can customize the workflow DAG and schedule it.

preview.mov

Overview

  1. Quick Start
  2. Configuration Details
  3. Architecture Design

arch

  • WebUI: Frontend files are in a separate project written in vue, please visit flink-platform-frontend.
  • Platform Instance: The instance for manage, configuration and scheduling workflow, easy to scale.
  • HDFS: Used to store resource files, such as jar, udf, etc.
  • Mysql: Holds all info about jobs, users, resources, schedules, etc. To keep the system simple, I plan to use mysql to guarantee fault-tolerance.

Task Support

  • Flink sql/jar, deployment mode: YARN-Per-Job(tested), Other(untested).

  • Shell (tested).

  • SQL(ClickHouse/Mysql/Hive/TiDB tested).

  • Condition(tested, support: AND, OR).

  • Dependent(tested).

  • More: I don't have enough time to develop multi type task support, but implementing a new task type is easy, sometimes you can do it yourself or tell me your needs.

Metadata

Table Name Description
t_alert Alert configuration
t_catalog_info Flink catalog configuration for FlinkSQL, modify in the future
t_job Job info
t_job_flow Job flow info, workflow definition
t_job_flow_run Job flow execution instance
t_job_run Job execution instance
t_resource Resources info, such as: jar, file, etc.
t_user login user info
t_user_session login user session info.
t_worker Worker node instance info.
t_datasource Store datasource info, such as: clickhouse, mysql, etc.

Refer to: create table statements

Build and Run

# clone the project
git clone [email protected]:itinycheng/flink-platform-backend.git

# enter the project directory
cd flink-platform-backend

# compile
./mvnw clean package -DskipTests

# start within docker
docker-compose up -d --build
#!/bin/sh

# hadoop conf dir of the cluster where the job running on
export HADOOP_CONF_DIR=/data0/app/dw_hadoop/yarn-conf

# start project
nohup java -Xms4g -Xmx4g -jar -Dspring.profiles.active=dev flink-platform-web-0.0.1.jar >/dev/null 2>&1 &

License

Apache-2.0 license.

flink-platform-backend's People

Contributors

amoming avatar dependabot[bot] avatar itinycheng avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

flink-platform-backend's Issues

打包报错

maven版本3.6.3
jdk1.8
后端项目打包报错
image

如何启动?

这个项目好像无法启动
有没有部署文档
一定要依赖 hadoop 么?
有没有详细的部署文档?

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.