Skip to content

longcao/reactive-streams-end-to-end-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A reactive streams end-to-end example in Scala.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published