Giter Site home page Giter Site logo

flink-userportrait-main's Introduction

框架搭建环境

- 编译器:IDEA 2019.1
- Maven:3.6.0
- JDK:1.8.0_191
- 系统:Win 10

数据库

MySQL

- 版本:mysql-installer-community-8.0.15.0.msi
- 账户名:root
- 密码:jianghongyu
- 端口:3306
- 数据库名:jhy_portrait
- 数据库表结构:见flink-user-portrait-main项目根目录/dbfile/mysql/

MongoDB

- 版本:mongodb-linux-x86_64-4.0.9
- 可视化工具Robomongo:robo3t-1.3.1 Windows版

大数据组件

- Hadoop:hadoop-2.8.5.tar.gz
- HBase:hbase-1.4.9.tar.gz
- ZK:zookeeper-3.4.14.tar.gz
- Flink:
- Kafka:kafka_2.11-2.2.0.tgz
- Flume:apache-flume-1.9.0-bin.tar.gz

前端组件

- Vue.js
- Node.js
- 

其他软件

- Git客户端:Git-2.21.0 for Windows
- Navicat:Navicat 12 for MySQL Windows版
- Postman
- 

开发框架

  • Spring Boot 2.0(2.0.4、2.0.3、2.0.2均涉及)
1. 新增特性
2. 代码重构
3. 配置变更
http://spring.io
https://github.com/spring-projects/spring-boot/wiki可查看发布日志
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Configuration-Changelog查看配置的改变

flink-userportrait-main组件结构及[端口]

  • portrait-analy-service [无]
[Flink画像分析模块]
  • portrait-common [无]
[提取的公共项目]
含用户行为及日志结构定义、配置文件读取等等。
  • portrait-register-center [8761]
[注册中心模块]
  • portrait-info-in-service [8762]
[数据收集服务]
  • portrait-search-info [8763]
[接口查询服务]
  • portrait-view-service [8764]
[前端查询服务]
前端查询服务调用接口查询服务获取数据。
  • dbfile
数据库相关文件、脚本等。

前端查询服务模块调用接口查询服务模块,获取数据后与vuejs项目对接,vuejs通过http方式请求前端查询接口。

flink-userportrait-main启动顺序

项目源码使用模块编程,client端注册到了eureka服务端,所以启动项目应该也要启动eureka的服务端。

  1. 安装portrait-common
  2. 启动portrait-register-center
  3. 启动portrait-info-in-service
  4. 启动portrait-search-info
  5. 启动portrait-view-service
  6. portrait-analy-service做画像分析

测试

  1. 注册中心测试http://localhost:8761

  2. 数据收集测试

    1)

    2)

flink-userportrait-main's People

Contributors

gingerredjade avatar

Watchers

 avatar

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.