![](https://img-blog.csdnimg.cn/20200319124525907.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
druid
apache druid
get it now
有志者事竟成
展开
-
druid查询源码追踪
待整理和完善。。。org.apache.druid.cli.Main --> CliBroker getModules()–> BrokerQueryResource.getQueryTargets()–> 1.List ServerViewUtil.getTargetLocations(BrokerServerView,datasource,interval,…) 获取segmentLocation, 2.ResourceIOReaderWriter.ok()读取segment原创 2020-12-09 16:45:11 · 541 阅读 · 0 评论 -
druid kafka摄取任务预聚合逻辑源码追踪
1.梳理druid预聚合逻辑摄取预聚合主逻辑:KafkaRecordSupplier.poll() --> IncrementalPublishingKafkaIndexTaskRunner.getRecords() --> SeekableStreamIndexTaskRunner.getRecords()--> StreamAppenderatorDriver.add(record) --> BaseAppenderatorDriver.append() --> ..原创 2020-12-09 16:40:06 · 517 阅读 · 0 评论 -
github提交代码命令(向开源社区提交代码)
#若没有添加远程地址,则添加,取名如upgradegit remote add upgrade https://github.com/apache/druid.git拉取远程最新代码upgrade代码git fetch upgrade#查看修改文件状态信息git status添加修改且准备提交的文件git add filename1 filename2提交并注释git commit -m “upgrade”和并远程代码到本地mastergit merge upgrade/master原创 2020-10-17 11:57:37 · 582 阅读 · 0 评论