Akka interoperability with Akka.net ?

519 views
Skip to first unread message

Alexandre Vermeerbergen

unread,
Jul 27, 2015, 9:12:03 AM7/27/15
to Akka User List

Hello,

 

I’m working on a project  for which Akka seems to be a nice match, except that I finally found a huge showstopper.

 

Indeed, in our project, most business logic is written in Java, but a few portions are based on C#.
I heard about Akka.net, so I through it would be OK to mix an Akka cluster with few remote Akka.net nodes (or just use Akka remoting to talk to Akka.net nodes, after all clustering Akka.net nodes isn't a strict requirement for us).

Unfortunately, I found no documentation (neither in Akka site, not in Akka.net ones) about how create actors in a remote Akka.net node from a Java Actor, and how to send & received messages to/from actors  running in this Akka.net node.

 

I found the following discussion, which tends to conclude that interoperability between Akka and Akka.net doesn’t current exist and is not even considered in any plan:

https://github.com/akkadotnet/akka.net/issues/132

 

Is my understanding correct? No hope?

 

Thanks,

Alex.

Roland Kuhn

unread,
Aug 4, 2015, 5:53:37 AM8/4/15
to akka-user
Hi Alex,

27 jul 2015 kl. 15:10 skrev Alexandre Vermeerbergen <avermee...@gmail.com>:

Hello,

 

I’m working on a project  for which Akka seems to be a nice match, except that I finally found a huge showstopper.

 

Indeed, in our project, most business logic is written in Java, but a few portions are based on C#.
I heard about Akka.net, so I through it would be OK to mix an Akka cluster with few remote Akka.net nodes (or just use Akka remoting to talk to Akka.net nodes, after all clustering Akka.net nodes isn't a strict requirement for us).

Unfortunately, I found no documentation (neither in Akka site, not in Akka.net ones) about how create actors in a remote Akka.net node from a Java Actor, and how to send & received messages to/from actors  running in this Akka.net node.



Remote deployment between different runtime platforms will not ever work, how would it? An Actor written in Java cannot run on the CLR, just like an Actor written in C# cannot run on the JVM.

 

I found the following discussion, which tends to conclude that interoperability between Akka and Akka.net doesn’t current exist and is not even considered in any plan:

https://github.com/akkadotnet/akka.net/issues/132



Interoperability on the messaging level is very much wanted, but we have not yet had the resources to tackle this: we would need to fully specify the wire protocol and contemplate how users would write message classes so that serialization/deserialization works across platforms. I agree that this would be very useful to have, but it is a lot of work, probably more than you think it is.

Right now the best options for sending messages between Akka and Akka.NET are by exposing REST APIs or by using a message broker like Kafka.

Regards,

Roland

 

Is my understanding correct? No hope?

 

Thanks,

Alex.


--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe – Reactive apps on the JVM.
twitter: @rolandkuhn


marin aglic

unread,
Dec 17, 2015, 2:04:48 AM12/17/15
to Akka User List
Can reactive kafka be used with Akka remoting? 

Endre Varga

unread,
Dec 17, 2015, 3:26:57 AM12/17/15
to akka...@googlegroups.com
Hi,

No, remoting is not possible to use with Kafka. Roland wanted to say that you can use Kafka (or Http, or any other technology) *instead* of remoting if you want interoperability. Nothing forces you to use Akka Remoting.

-Endre

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages