Replies: 2 comments 7 replies
-
Hi @jjmSE - let me get back to you on this. Tied up with a long engagement this week but I will reply with some ideas. |
Beta Was this translation helpful? Give feedback.
-
hey @jjmSE looks like an ingress issue. so basically you need write a udp ingress gateway for your devices traffics. I guess even akka.java does not have such built-in gateway. have you tried write a simple aka system that has two interfaces: udp interface for the incoming device data and the other kka.net actor for the outgoing data, with a simple protocol transformation from your custom protocol to akka-native protocol. if you are using k8s, you can use hostport for your ingress docker instance. and then syn the ingress instances to some backend so that your device connects and get the list of healthy ingress instances to do client-side load balance. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone!
We have a system to collect information from lots of devices (millions) and we use UDPConnected, so a connection is only able to send to the remoteAddress it was connected to, and will receive datagrams only from that address.
We also receive events from these devices so we have a listener, but can't use UDPConnected for that (Bind function is only available for UDP actor). We need to receive all the datagrams in different sockets and received a message when it is closed by the client (similar to TCP Bind). What is the best way to do that?
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions