Skip to content

aaruna/embedded-kafka

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedded KafkaBuild Status

Embedded Kafka for demos, testing and quick prototyping. Much is taken right from the Apache Spark Streaming Kafka test files.

Status

This is just the initial commit, more to come including code improvements, configuration improvements/additions.

Features

  • Quick and easy prototyping, testing
  • Safe demos - not reliant on network
  • Compatible with Apache Kafka: 0.9.0.0, 0.9.0.1
  • Compatible with Scala 2.10 and 2.11
  • Embedded Zookeeper which starts automatically when starting Kafka
  • Simple Kafka consumer

Roadmap

  • Improved and updated consumers
  • Validation
  • Additional and improved configuration
  • Documentation
  • And much more

Build

Not pushed to sonatype yet, so for now you do need to build and publish to your local ivy repo:

sbt test
sbt it:test
sbt publish-local # binaries

Scala Version

This project uses Scala 2.11 by default. To build against Scala 2.10 vs 2.11 run

sbt -Dscala.version=2.10.6 
sbt -Dscala.version=2.10.6 test
sbt -Dscala.version=2.10.6 publish-local

Cross Build

Cross build both Scala versions by starting sbt then running these or other SBT tasks:

+ publish-local
+ test  

About

Embedded Kafka for testing and quick prototyping.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%