You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2015/04/17 07:19:59 UTC

svn commit: r947978 - in /websites/production/camel/content: cache/main.pageCache kafka.html

Author: buildbot
Date: Fri Apr 17 05:19:59 2015
New Revision: 947978

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/kafka.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/kafka.html
==============================================================================
--- websites/production/camel/content/kafka.html (original)
+++ websites/production/camel/content/kafka.html Fri Apr 17 05:19:59 2015
@@ -85,7 +85,7 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="Kafka-KafkaComponent">Kafka Component</h2><p><strong>Available as of Camel 2.13</strong></p><p>The <strong>kafka:</strong> component is used for communicating with <a shape="rect" class="external-link" href="http://kafka.apache.org/">Apache Kafka</a>&#160;message broker.</p><p><span style="line-height: 1.4285715;">Maven users will need to add the following dependency to their </span><code style="line-height: 1.4285715;">pom.xml</code><span style="line-height: 1.4285715;"> for this component:</span></p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="wiki-content maincontent"><h2 id="Kafka-KafkaComponent">Kafka Component</h2><p><strong>Available as of Camel 2.13</strong></p><p>The <strong>kafka:</strong> component is used for communicating with <a shape="rect" class="external-link" href="http://kafka.apache.org/">Apache Kafka</a>&#160;message broker.</p><p><span style="line-height: 1.4285715;">Maven users will need to add the following dependency to their </span><code style="line-height: 1.4285715;">pom.xml</code><span style="line-height: 1.4285715;"> for this component.</span></p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-kafka&lt;/artifactId&gt;
@@ -93,6 +93,12 @@
     &lt;!-- use the same version as your Camel core version --&gt;
 &lt;/dependency&gt;
 ]]></script>
+</div></div><p>And then the Scala libraries of choice. camel-kafka does not include that dependency, but assume its provided. For example to use Scala 2.10.4 add:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[    &lt;dependency&gt;
+      &lt;groupId&gt;org.scala-lang&lt;/groupId&gt;
+      &lt;artifactId&gt;scala-library&lt;/artifactId&gt;
+      &lt;version&gt;2.10.4&lt;/version&gt;
+    &lt;/dependency&gt;]]></script>
 </div></div><h3 id="Kafka-URIformat">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[kafka:server:port[?options]
 ]]></script>