I am trying to stream results from a query using Slick within a Java application, using Akka Streams and Postgres:
Source mySource = Slick.source(
slickSession,
"SELECT * from message where started_instant is null",
(this::createQueueItemFromSlickRow));
In the Slick documentation it is clear that in order to stream with Postgres, additional parameters need to be set. However, I can only find Scala examples, and there is no information in the Alpakka documentation on how to configure this.
As it is, I can't process any new objects that come into the database after the stream has started.