-
Notifications
You must be signed in to change notification settings - Fork 148
How to customize sample application
Abhishek Sharma edited this page Mar 10, 2014
·
19 revisions
If you want to play around with Kafka using sample application code then please follow the following help points -
-
Download Kafka 0.8.0 source from the [Kafka download page](https://www.apache.org/dyn/closer.cgi? path=/kafka/0.8.0/kafka-0.8.0-src.tgz)
-
Download Kafka-Message-Server-Example folder from the repository and copy it in to the kafka src folder.
-
Copy following scripts from Kafka-Message-Server-Example/config to provided locations -
-
KafkaProject.scala to [Kafka-src]/project/build/
-
build.sbt to Kafka-Message-Server-Example folder
-
Build.scala to [Kafka-src]/project folder
- Kafka-message-server-example is a maven based project. Enable maven configuration of the project and customize the project as per you need. Once done with changes for build purpose follow below command -
-
cd [Kafka-src]
-
./sbt package