akka / akka-grpc

Akka gRPC
https://doc.akka.io/docs/akka-grpc/
Other
430 stars 124 forks source link

akka dns service discovery not refreshing after ttl #1731

Open Marcus-Rosti opened 1 year ago

Marcus-Rosti commented 1 year ago

Versions used

Akka version: 2.6.10 Akka http: 10.2.10 Akka grpc: 2.1.6

Expected Behavior

When using service discovery with akka-dns in DNS based, every client will "continuously" refresh DNS for new instances to load balance against.

Actual Behavior

The last connected client will query DNS for new pods whereas the other clients will only refresh on scale downs or restarts, never on scale ups. Easy to observe when in debug with Lookup being called.

johanandren commented 1 year ago

This is functionality that is missing AFAICS

Related ticket over in Akka repo: https://github.com/akka/akka/issues/28931

johanandren commented 2 months ago

Could this be sorted by https://github.com/akka/akka-grpc/issues/1152