Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

Apache Camel Kafka Example

This application is a Spring boot example for connecting Apache Camel to Apache Kafka for Producing and Consuming messages.

Running

To get the application going:

$ mvn clean install # Build the project
$ sudo kafka-server-start config/server.properties # Start Kafka
$ java -jar target/ApacheCamelKafka-v0.0.1.war # Start the war

Messaging with Kafka

Run the API and hit /messages with a GET

Run the API and hit /messages with a POST body of JSON:

{
  "title": "Simple Notification",
  "body": "The simple notification body!"
}

Releases

No releases published

Packages

No packages published

Languages