GithubHelp home page GithubHelp logo

fqyy365t / realtimeanalysis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lhq-123/realtimeanalysis

0.0 0.0 0.0 1.88 MB

基于Flink+Redis的实时数据分析

JavaScript 1.75% Java 52.94% CSS 9.36% Makefile 0.04% HTML 17.22% Vue 18.68%

realtimeanalysis's Introduction

RealTimeAnalysis

基于Flink+Redis的实时数据分析

启动前端

去到HTML对应的路径下
npm run dev

启动后端

启动WebApplication.java

启动Flink

1.保证集群中zookeeper、Kafka正常启动着
2.启动CreateKafkaMsg.java
3.启动StartFlinkKafkaServer.java

代码结构:

├─HTML                                 #前端页面
│  ├─node_modules                      #前端所需要的包
│  ├─src
│  └─static
├─logs                                 #后端运行日志
├─RealTimeProcessing                   #流处理程序
│  ├─src
│  │  ├─main
│  │  │  ├─java
│  │  │  │  └─com
│  │  │  │      └─alex
│  │  │  │          ├─bean              #订单实体类
│  │  │  │          ├─mock              #数据模拟器并发送到kafka
│  │  │  │          ├─service           #Flink公共算子
│  │  │  │          ├─sink              #数据处理完sink到Redis
│  │  │  │          ├─source            #读取kafka的数据
│  │  │  │          └─task              #Flink消费逻辑
│  │  │  └─resources
│  │  └─test
│  │      └─java
└─Web                                   
    ├─src
    │  ├─main
    │  │  ├─java
    │  │  │  └─com
    │  │  │      └─alex
    │  │  │          └─web
    │  │  │              ├─bean
    │  │  │              ├─config
    │  │  │              ├─controller
    │  │  │              ├─exception
    │  │  │              ├─service
    │  │  │              └─util
    |  |  |              └─WebApplication #后端主程序     
    │  │  └─resources

后端:

Snipaste_2022-12-27_21-52-39

前端:

Snipaste_2022-12-27_21-52-54

模拟数据程序:

Snipaste_2022-12-27_21-52-28

Flink程序:

Snipaste_2022-12-27_21-52-17

实时大屏:

Snipaste_2022-12-28_18-25-41

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.