akka / akka-edge-rs

Akka Edge support in Rust
https://doc.akka.io/docs/akka-edge/current/
Other
9 stars 1 forks source link

Edge didn't reconnect #52

Closed patriknw closed 1 year ago

patriknw commented 1 year ago

I don't have much information about how to reproduce this, but something is not right with the reconnect. I had stopped iot-service-scala. Updated the temperature 1000 times. Started iot-service-scala, and it didn't receive the events. Nothing in logs. Updated temp a few more times when both running, nothing emitted over grpc.

Restarted the iot-service-rs and then the events were received in iot-service-scala.

huntc commented 1 year ago

Had it gone into an exponential back off state?

patriknw commented 1 year ago

yes, but even if it does we have a max wait and I had it waiting for several minutes

huntc commented 1 year ago

It'd be good to re-test this in light of #53

patriknw commented 1 year ago

I couldn't see this again after trying a few variations of it. What in #53 could have fixed it?

huntc commented 1 year ago

I’m not sure it would be fixed by that PR. Hard to know without being able to reproduce.

huntc commented 1 year ago

I'm suspecting that https://github.com/lightbend/akka-projection-temp/pull/4 might help here. My suspicion is based on perhaps that the edge's world has been removed and it is publishing events with sequence numbers the jvm side already knows about (and I guess discards).

patriknw commented 1 year ago

That was not the scenario. I'll keep testing.

patriknw commented 1 year ago

I haven't seen this again, but it could be some variation of https://github.com/lightbend/akka-edge-rs/issues/90 Closing this one.