Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-kafka-producer

Simple infinite stream passing random ints to kafka as downstream

Install Kafka

You need to setup and start Kafka using quickstart guide Don`t forget to add advertised.host.name= %your_vm_ip% to ../config/server-properties inside your virtual machine if you will run kafka from it

You need to manually create all specified topics before start in order to achieve proper run

How to build it

Simply run sbt with command

sbt assembly

You will find yor shiny new jar inside ../target/scala-2.12/kafka-producer.jar

How to run it

You can run compiled jar like any other jar java -Dkafka.bootstrap-servers=localhost:9092 -jar kafka-producer.jar

Full list of posibile parameters can be found in ../main/resources/application.conf in kafka section

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages