[ 
https://issues.apache.org/jira/browse/KYLIN-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178059#comment-16178059
 ] 

Billy Liu edited comment on KYLIN-2775 at 9/24/17 2:33 AM:
-----------------------------------------------------------

Commit at 
https://github.com/apache/kylin/commit/5c3b40be166d837d15df677ee23b9a56f974b799

The sample.sh will generate the following sample objects into learn_kylin 
project:
Table: DEFAULT.KYLIN_STREAMING_TABLE
Model: kylin_streaming_model
Cube: kylin_streaming_cube

The sample-streaming.sh script will generate Kafka Topic: kylin_streaming_topic.
It will also send random 100 messages to this topic per second. 

This script will assume the Kafka broker is located at localhost:9092

To use this sample:
1. Setup Kafka broker at localhost:9092, if other location, the related sample 
script should be updated also.
2. Export KAFKA_HOME first, and start Kylin.
3. User needs execute sample.sh first and check if the table/model/cube has 
loaded into Kylin.
4. Run sample-streaming.sh to send messages into Kafka Topic.
5. Trigger Cube build on kylin_streaming_cube. 



was (Author: yimingliu):
Commit at 
https://github.com/apache/kylin/commit/5c3b40be166d837d15df677ee23b9a56f974b799

The sample.sh will generate the following sample objects into learn_kylin 
project:
Table: DEFAULT.KYLIN_STREAMING_TABLE
Model: kylin_streaming_model
Cube: kylin_streaming_cube

The sample-streaming.sh script will generate Kafka Topic: kylin_streaming_topic.
It will also send random 100 messages to this topic per second. 

This script will assume the Kafka broker is located at localhost:9092

> Streaming Cube Sample
> ---------------------
>
>                 Key: KYLIN-2775
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2775
>             Project: Kylin
>          Issue Type: New Feature
>          Components: General
>            Reporter: Billy Liu
>            Assignee: Billy Liu
>             Fix For: v2.2.0
>
>
> The sample.sh will generate sample table/model/cube for Hive-based data 
> source. There is no easy way to generate sample table/model/cube for 
> Kafka-based streaming cube. 
> In this issue, the easy to use streaming sample will be provided. 
> Will suppose user has Kafka installed already. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to