Skip to content

trueproof/kafka-pipeline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Local Build & Run

Build from sbt

# -Dsbt.repository.config=./repositories \
# -sbt-launch-repo http://nexus/.../ivy-releases_proxy \

( git clone https://github.com/vtitov/kafka-pipeline.git \
  cd kafka-pipeline && \
  ./sbt \
    test it:test assembly
)

Run with Revolver

Run sbt

sbt

From sbt REPL run

reStart

Check status

reStatus

Stop

reStop

Run from Bash Console

Run

./service/src/main/resources/scripts/run-all.sh

Kill

./service/src/main/resources/scripts/kill-all.sh

Send via Rest Api

./service/src/main/resources/scripts/send-files.sh

Help Screen

JARFILE=`ls -td kafka-pipeline/target/scala-2.12/kafka-pipeline-assembly-* | head -n1`
java -jar $JARFILE --help

Installation Directory

Install to Current Directory

( JARFILE=path/to/kafke-pipeline-assembly.jar \
  && mkdir -p lib/ logs/ \
  && unzip $JARFILE 'conf/*' 'scripts/*' \
  && cp $JARFILE lib/ )
# Then edit conf/local-rc.sh

Run from Installation Directory

Run http service

 scripts/run-svc.sh http

Run streams service

 scripts/run-svc.sh streams

Debug with embedded kafka

scripts/run-svc.sh embedded-kafka

Debug with emulator

scripts/run-svc.sh remote-emulator

Stop all

 scripts/kill-all.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 85.8%
  • Shell 14.2%