A reactive streams end-to-end example in Scala.
Scala Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
conf
project
scripts
src/main/scala
.gitignore
README.md
build.sbt

README.md

reactive streams end-to-end

This is a repository containing an example application using reactive streams to:

  • Stream records from a PostgreSQL table
  • Process those records with akka-streams
  • and bulk indexing into Elasticsearch with elastic4s

Running

To run, make sure to have these environment variables set:

  • Elasticsearch

    • ESHOST
    • ESPORT
    • ESCLUSTERNAME
  • PostgreSQL

    • PGPORT
    • PGUSER
    • PGPASSWORD
    • PGDATABASE
    • PGHOST

and sbt run will stream results from PostgreSQL to Elasticsearch, printing a tally to the console as it runs.