diff --git a/samples/doris-demo/README.md b/samples/doris-demo/README.md new file mode 100644 index 00000000000000..4f67e2ac86a673 --- /dev/null +++ b/samples/doris-demo/README.md @@ -0,0 +1,40 @@ + + +In order to help developers quickly use and master Doris, this project provides a large number of code examples of Doris related scenarios. + +# flink-demo + +Mainly to provide sample codes for the integration of doris and flink, and examples of the use of Flink-doris-connector + +# spark-demo + +Mainly to provide sample codes for the integration of doris and spark, and examples of the use of Spark-doris-connector + +# stream-load-demo + +Provide usage examples of Doris stream load, including file and memory data import, using Java Http client method + +# spring-jdbc-demo + +Provides the use of Spring to integrate Doris, and provides external data access interfaces + +# docs + +Instructions for each example diff --git a/samples/doris-demo/flink-demo/pom.xml b/samples/doris-demo/flink-demo/pom.xml new file mode 100644 index 00000000000000..74e1a829e04aea --- /dev/null +++ b/samples/doris-demo/flink-demo/pom.xml @@ -0,0 +1,49 @@ + + + + 4.0.0 + + org.example + flink-demo + 1.0-SNAPSHOT + + flink-demo + + http://www.example.com + + + 2.11.12 + 2.11 + 1.8 + 1.11.0 + compile + + + + + junit + junit + 4.11 + test + + + + diff --git a/samples/doris-demo/pom.xml b/samples/doris-demo/pom.xml new file mode 100644 index 00000000000000..5c6501e85d4234 --- /dev/null +++ b/samples/doris-demo/pom.xml @@ -0,0 +1,44 @@ + + + + 4.0.0 + + org.apache + doris-demo + pom + 1.0-SNAPSHOT + + flink-demo + spark-demo + stream-load-demo + spring-jdbc-demo + + + doris-demo + http://www.example.com + + + UTF-8 + 1.8 + 1.8 + + + diff --git a/samples/doris-demo/spark-demo/pom.xml b/samples/doris-demo/spark-demo/pom.xml new file mode 100644 index 00000000000000..6190b1292d5c9e --- /dev/null +++ b/samples/doris-demo/spark-demo/pom.xml @@ -0,0 +1,37 @@ + + + + + doris-demo + org.apache + 1.0-SNAPSHOT + + 4.0.0 + + spark-demo + + + 8 + 8 + + + diff --git a/samples/doris-demo/spring-jdbc-demo/pom.xml b/samples/doris-demo/spring-jdbc-demo/pom.xml new file mode 100644 index 00000000000000..2622a807338f05 --- /dev/null +++ b/samples/doris-demo/spring-jdbc-demo/pom.xml @@ -0,0 +1,47 @@ + + + + 4.0.0 + + org.apache + spring-jdbc-demo + 1.0-SNAPSHOT + + spring-jdbc-demo + + http://www.example.com + + + 8 + 8 + + + + + junit + junit + 4.11 + test + + + + + diff --git a/samples/doris-demo/stream-load-demo/pom.xml b/samples/doris-demo/stream-load-demo/pom.xml new file mode 100644 index 00000000000000..2ac4e3adfa93d9 --- /dev/null +++ b/samples/doris-demo/stream-load-demo/pom.xml @@ -0,0 +1,49 @@ + + + + + doris-demo + org.apache + 1.0-SNAPSHOT + + 4.0.0 + + stream-load-demo + + stream-load-demo + + http://www.example.com + + + 8 + 8 + + + + + junit + junit + 4.11 + test + + + +