GithubHelp home page GithubHelp logo

streaming_2_druid's Introduction

streaming_2_druid-基于spark-streaming框架的druid实时导入任务。

##基本思路

  • 通过spark-streaming 订阅kafka中的数据,通过对应的解析器抽取出特定的字段,得到对应的dstream
  • 将每个dstream 的RDD转换成DataFrame注册成临时表,使用Spark SQL结合业务逻辑对临时表进行业务处理后到达处理后的DataFame
  • 将得到的DataFrame通过druid的tranquility接口实时导入到druid中

streaming_2_druid's People

Contributors

wangpeibin713 avatar

Stargazers

 avatar Jin Yao avatar

Watchers

James Cloos avatar  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.