/demo

Primary LanguageScalaApache License 2.0Apache-2.0

StarRocks Demo

license

This project provides a bunch of code examples in relevant occasions, to help developers master the development process.

banner1

0. misc demo

MiscDemo folder involves miscellaneous code implementation in several different languages such as golang, java, nodejs, php, python and so forth.

1. spark demo

sparkStreaming2StarRocks

spark streaming -> stream load -> StarRocks 

sparkConnector2StarRocks

StarRocks -> spark-connector -> etl -> stream load ->  StarRocks

sparkLoad2StarRocks

Hive  -----> spark load -> spark etl ->   broker load  ->  StarRocks 

sparkGenParquet

Generate Parquet Data

bitmapDict

Hive  -----> spark load (bitmap dict for userPortait)  ->  StarRocks 

2. flink demo

flinkConnector_Bean2StarRocks

bean --->   flink-connector --->  StarRocks 

flinkConnector_Json2StarRocks

json   -->   flink-connector --->  StarRocks

flinkConnector_Sql2StarRocks

flinkSql --> flink-connector -->  StarRocks 

License

StarRocks/demo is under the Apache 2.0 license. See the LICENSE file for details.