Repository: kylin
Updated Branches:
  refs/heads/document 8786589d3 -> bc5c01e52


update streaming doc for kafka lib


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/bc5c01e5
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/bc5c01e5
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/bc5c01e5

Branch: refs/heads/document
Commit: bc5c01e5233befb136216815b6c4167292508a82
Parents: 8786589
Author: shaofengshi <shaofeng...@apache.org>
Authored: Tue Aug 9 18:54:45 2016 +0800
Committer: shaofengshi <shaofeng...@apache.org>
Committed: Tue Aug 9 18:54:45 2016 +0800

----------------------------------------------------------------------
 website/_docs15/tutorial/cube_streaming.md | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/bc5c01e5/website/_docs15/tutorial/cube_streaming.md
----------------------------------------------------------------------
diff --git a/website/_docs15/tutorial/cube_streaming.md 
b/website/_docs15/tutorial/cube_streaming.md
index 821c7f5..7cd277e 100644
--- a/website/_docs15/tutorial/cube_streaming.md
+++ b/website/_docs15/tutorial/cube_streaming.md
@@ -29,6 +29,8 @@ cd $KYLINN_HOME
 ./bin/kylin.sh org.apache.kylin.source.kafka.util.KafkaSampleProducer --topic 
kylin_demo --broker sandbox:6667 —delay 0
 {% endhighlight %}
 
+Note: you may encounter "java.lang.NoClassDefFoundError: 
kafka/producer/ProducerConfig" error here; the reason is Kylin doesn't embed 
kafka jar any more since v1.5.3; You need copy the kafka client jar file to 
$KYLIN_HOME/lib folder and then re-run this command.
+
 It will send 1 record to Kafka every 2 second, with "delay" be 0, the 
"order_time" will be the same as the timestamp that the message be created. 
Please don't press CTRL+C before finishing this tutorial, otherwise the 
streaming will be stopped.
 
 Thirdly, you can check the sample message with kafka-console-consumer.sh, with 
another shell session:

Reply via email to