当前位置:网站首页>四、业务数据解析
四、业务数据解析
2022-08-08 09:51:00 【TUJC】
一、项目背景
1、背景需求
通过业务库实时解析数据,实现订单的实时解析。
四张mysql数据库业务表,司机表,乘客表,订单表以及司管方表,
通过maxwell实时的解析mysql的binlog数据,将数据发送到kafka,
然后sparkSteaing进行消费保存数据到hbase
通过解析kafka当中的binlog数据,将所有的表数据保存到对应的Hbase表当中去,我们需要考虑到Hbase表的预分区的操作,提前创建hbase的对应的表,并考虑我们的rowkey的设计,实现数据的均匀的分区,避免Hbase数据的倾斜;
(1)maxwell实时的解析mysql的binlog数据,发送到kafka的配置
(2)hbase的建表预分区的操作,phoenix来映射hbase的数据
(3)sparkSteaing消费kafka数据,保存数据到hbase
(4)
2、数据源描述
1)hbase建表预分区
1)rowkey加密然后截取12位,前面拼上四位数
边栏推荐
- 代码检查工具
- A small test of basic grammar, Go lang1.18 introductory refining tutorial, from Bai Ding to Hongru, basic grammar of go lang and the use of variables EP02
- Code implementation of various kinds of attention
- 【office】word
- LVS负载均衡群集及NAT模式群集
- 买股票用同花顺安全吗?资金会不会被转走?
- [Image Classification] 2021-CoAtNet NeurlPS
- 软件测试的分类
- 各种attention的代码实现
- 移动端/嵌入式-CV模型-2017:MobelNets-v1
猜你喜欢
随机推荐
Android Studio关于MainActivity中的“import kotlinx.android.synthetic.main.activity_main.*”出现错误提示
数据可视化:随时间变化的效果图
Go 匿名字段与实现重写方法
Redis 定长队列的探索和实践
各位大佬想问下, flinkcdc采集oracle我看了下延迟大概两分钟左右,想问下有啥解决方法吗
Kotlin Compose MiUI13.0.4 版本 Livedata不生效
小散量化炒股记|打包Py可执行文件,双击就能选出全市场稳步上扬的股票
Categorized input and output, Go lang1.18 introductory refining tutorial, from Bai Ding to Hongru, go lang basic data types and input and output EP03
PHP 手机号脱敏,正则表达式/简易版
Pinia(一)初体验快速安装与上手
.json()的使用
"Inversion of Control" and "Dependency Inversion", can't you tell the difference?
Is it safe to buy stocks with a straight flush?Will the funds be transferred?
VPP source address NAT
买股票用同花顺安全吗?资金会不会被转走?
【Collection】3. Wallpaper collection
数据库不推荐使用外键的9个理由!
To make people's consumption safer, more assured and more satisfied
What is intrinsic safety?
LeetCode:第305场周赛【总结】