Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

Sink didn't pull the first item #9

Open
ticofab opened this issue Dec 26, 2020 · 0 comments
Open

Sink didn't pull the first item #9

ticofab opened this issue Dec 26, 2020 · 0 comments

Comments

@ticofab
Copy link

ticofab commented Dec 26, 2020

I couldn't get the RSocketFFSink to work, until I added a first pull after the RSocket connection has been established:

// ask for an element as soon as you start
override def preStart(): Unit = {
  println(s"pre start, connecting to $host:$port")
  ...
  pull(in)
}

After adding this, everything works as expected and new items are pulled one by one after the previous one has been processed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant