Author: lidong Date: Tue Aug 9 10:56:34 2016 New Revision: 1755596 URL: http://svn.apache.org/viewvc?rev=1755596&view=rev Log: update streaming doc for kafka lib
Modified: kylin/site/docs15/tutorial/cube_streaming.html kylin/site/feed.xml Modified: kylin/site/docs15/tutorial/cube_streaming.html URL: http://svn.apache.org/viewvc/kylin/site/docs15/tutorial/cube_streaming.html?rev=1755596&r1=1755595&r2=1755596&view=diff ============================================================================== --- kylin/site/docs15/tutorial/cube_streaming.html (original) +++ kylin/site/docs15/tutorial/cube_streaming.html Tue Aug 9 10:56:34 2016 @@ -2040,6 +2040,8 @@ Created topic "kylin_demo".</code></pre> cd $KYLINN_HOME ./bin/kylin.sh org.apache.kylin.source.kafka.util.KafkaSampleProducer --topic kylin_demo --broker sandbox:6667 âdelay 0</code></pre></div> +<p>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.</p> + <p>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.</p> <p>Thirdly, you can check the sample message with kafka-console-consumer.sh, with another shell session:</p> Modified: kylin/site/feed.xml URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1755596&r1=1755595&r2=1755596&view=diff ============================================================================== --- kylin/site/feed.xml (original) +++ kylin/site/feed.xml Tue Aug 9 10:56:34 2016 @@ -19,8 +19,8 @@ <description>Apache Kylin Home</description> <link>http://kylin.apache.org/</link> <atom:link href="http://kylin.apache.org/feed.xml" rel="self" type="application/rss+xml"/> - <pubDate>Tue, 09 Aug 2016 06:59:13 -0700</pubDate> - <lastBuildDate>Tue, 09 Aug 2016 06:59:13 -0700</lastBuildDate> + <pubDate>Tue, 09 Aug 2016 11:53:24 -0700</pubDate> + <lastBuildDate>Tue, 09 Aug 2016 11:53:24 -0700</lastBuildDate> <generator>Jekyll v2.5.3</generator> <item>