Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daggerok/embedded-kafka
4del: This is going to be removed... or refactored... Run kafka quickly / for development only. Please don't use that shit. Instead use Spring Cloud CLI: `spring cloud kafka`
https://github.com/daggerok/embedded-kafka
kafka kafka-embedded kotlin
Last synced: 6 days ago
JSON representation
4del: This is going to be removed... or refactored... Run kafka quickly / for development only. Please don't use that shit. Instead use Spring Cloud CLI: `spring cloud kafka`
- Host: GitHub
- URL: https://github.com/daggerok/embedded-kafka
- Owner: daggerok
- License: mit
- Created: 2018-02-14T05:32:54.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-25T05:44:06.000Z (over 6 years ago)
- Last Synced: 2024-11-11T15:40:21.762Z (2 months ago)
- Topics: kafka, kafka-embedded, kotlin
- Language: Kotlin
- Homepage:
- Size: 71.7 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= embedded-kafka image:https://travis-ci.org/daggerok/embedded-kafka.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/embedded-kafka"]
=== gradle flow
.1 build and deploy (publish) to github (user: daggerok, repo: embedded-kafka, branch: mvn-repo)
[source,bash]
----
bash ./gradlew
bash ./gradlew publish
bash ./gradlew deploy
----.2 consuming
[source,gradle]
----
repositories {
// ...
maven { url "https://raw.githubusercontent.com/daggerok/embedded-kafka/mvn-repo/" }
}
dependencies {
compile "daggerok:embedded-kafka:0.0.3"
}
----.3 simply download and run
[source,bash]
----
wget -O /tmp/kafka.jar https://github.com/daggerok/embedded-kafka/raw/mvn-repo/embedded-kafka-0.0.3-all.jar
java -jar /tmp/kafka.jar \
--zookeeperPort=2181 \
--zookeeperDir=/tmp \
--kafkaPort=9092 \
--kafkaTopics=topic1,topic2 \
--httpPort=8080 \
--httpContext=/ &
----links:
. link:http://www.javenue.info/post/java-http-server[Embedded Java HTTP Server]