You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2018/01/15 13:33:48 UTC
[camel] branch master updated: Polished
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 3ad257c Polished
3ad257c is described below
commit 3ad257cb36631d089999b807833f006b23dd739f
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Jan 15 14:00:32 2018 +0100
Polished
---
examples/camel-example-kafka/README.adoc | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/examples/camel-example-kafka/README.adoc b/examples/camel-example-kafka/README.adoc
index 25e32e3..d1f35cb 100644
--- a/examples/camel-example-kafka/README.adoc
+++ b/examples/camel-example-kafka/README.adoc
@@ -1,6 +1,6 @@
-# Camel Kafka example
+= Camel Kafka example
-### Introduction
+=== Introduction
An example which shows how to integrate Camel with Kakfa.
@@ -11,7 +11,7 @@ This project consists of the following examples:
3. Topic is sent in the header as well as in the URL.
-### Preparing Kafka
+=== Preparing Kafka
This example requires that Kafka Server is up and running.
@@ -34,31 +34,27 @@ On linux run
$ ${KAFKA}/bin/kafka-topics.sh --create --zookeeper <zookeeper host ip>:<port> --replication-factor 1 --partitions 1 --topic AccessLog
-### Build
+=== Build
You will need to compile this example first:
$ mvn compile
-### Run
+=== Run
Run the consumer first in separate shell
-
$ mvn compile exec:java -Pkafka-consumer
-
Run the message producer in the seperate shell
-
$ mvn compile exec:java -Pkafka-producer
Initially, some messages are sent programmatically.
On the command prompt, type the messages. Each line is sent as one message to kafka
Press `Ctrl-C` to exit.
-
-### Configuration
+=== Configuration
You can configure the details in the file:
`src/main/resources/application.properties`
@@ -66,8 +62,7 @@ You can configure the details in the file:
You can enable verbose logging by adjusting the `src/main/resources/log4j2.properties`
file as documented in the file.
-
-### Forum, Help, etc
+=== Forum, Help, etc
If you hit an problems please let us know on the Camel Forums
<http://camel.apache.org/discussion-forums.html>
--
To stop receiving notification emails like this one, please contact
['"commits@camel.apache.org" <co...@camel.apache.org>'].