Re: [akka-user] RESTCONF streaming for events can be enabled on akka.http.
I need to enable streaming capability on akka.http. which api of can be used for that. is websocket can be used is there something else which can support streaming. On Monday, 26 December 2016 15:11:11 UTC+5:30, Konrad Malawski wrote: > > RESTCONF seems rather very technology specific... First time I see it > mentioned to be honest. > What are you trying to achieve? > > -- > Konrad Malawski > > On 26 December 2016 at 10:37:59, aarti (leoart...@gmail.com ) > wrote: > >> Hi, >> Can anyone guide me how can we enable RESTCONF streaming for events on >> akka.http. What are steps, jars etc. will be required for the same. >> >> -- >> >> 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 https://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > -- >> 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+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
[akka-user] Re: Usage of Akka cluster in Docker Swarm cluster
W dniu poniedziałek, 26 grudnia 2016 14:00:41 UTC+1 użytkownik Evgeny Shepelyuk napisał: > > 1. Possible network overhead because swarm nodes and akka nodes are auto > discovering each other using gossip. > I wouldn't worry about it too much, because it only happens when the cluster is starting up. or is being scaled up/down. > 2. How to find seed nodes for AKKA cluster nodes, i.e. is it possible to > not use third party services like consul for this and rely completely on > Docker Swarm ? > I would recommend running a consistent KV store like Consul or etcd and then using https://github.com/hseeberger/constructr on top of that to manage Akka cluster seed nodes. This makes it easy to migrate your application to Kubernetes or Mesos if you ever need to. > 3. Is there any advice on cluster topology, i.e. is it better to join all > nodes into single cluster, or create a cluster per service and use cluster > client to access it ? > This depends on your actual use case. First and foremost you shouldn't run Akka cluster at all unless you need one or more features it enables like sharding, distributed data, singletons and so on. Many clustered applications can be built as ensembles of standalone Akka nodes communicating through HTTP endpoints. The latter approach fits very well into Docker Swarm / Kubernetes services model. Or you might want to use Akka cluster for one layer of your application and a "swarm" of independent nodes communicating through HTTP or a message queue for another. It all depends on what you want to build. cheers, Rafał -- >> 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+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
[akka-user] Usage of Akka cluster in Docker Swarm cluster
Hello Is there any information or real-life experience of using AKKA clustered services in Docker Swarm cluster ? We're developing our AKKA based services and they are intended to be run in separate docker containers. I.e. one service instance = 1 docker container. The disturbing points are following 1. Possible network overhead because swarm nodes and akka nodes are auto discovering each other using gossip. 2. How to find seed nodes for AKKA cluster nodes, i.e. is it possible to not use third party services like consul for this and rely completely on Docker Swarm ? 3. Is there any advice on cluster topology, i.e. is it better to join all nodes into single cluster, or create a cluster per service and use cluster client to access it ? We'd be very appreciated for any sort of information about the topic. -- >> 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+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
[akka-user] Re: TCP SSl Support in Akka 2.4.16 http://doc.akka.io/docs/akka/current/java/io-tcp.html
Can you plz share sample code that how to combine tls and tcp? Rafał On Wednesday, 21 December 2016 19:37:43 UTC+5:30, Rafał Krzewski wrote: > > You should take a look at Akka Streams. You can combine > akka.streams.javadsl.Tcp and akka.streams.javadsl.TLS to create custom > SSL/TLS enabled TCP servers and clients. > > Cheers, > Rafał > > W dniu środa, 21 grudnia 2016 13:59:27 UTC+1 użytkownik Gaurav Kumar > Jayswal napisał: >> >> I have found tcp ssl support in akka 2.2 but didn't found how to appy ssl >> support in current stable version. Can anyone help to know how to apply ssl >> support like this >> https://github.com/akka/akka/blob/v2.2.0/akka-docs/rst/java/code/docs/io/japi/SslDocTest.java >> > -- >> 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+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
[akka-user] SSL/TLC Config
I'm new in akka. Need a help!. How to enable TLS support in akka tcp server side support. application.conf akka { remote { netty.ssl.security { key-store = "/example/path/to/mykeystore.jks" trust-store = "/example/path/to/mytruststore.jks" key-store-password = "changeme" key-password = "changeme" trust-store-password = "changeme" protocol = "TLSv1.2" enabled-algorithms = [TLS_DHE_RSA_WITH_AES_128_GCM_SHA256] random-number-generator = "AES128CounterSecureRNG" } } } -- >> 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+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
Re: [akka-user] RESTCONF streaming for events can be enabled on akka.http.
RESTCONF seems rather very technology specific... First time I see it mentioned to be honest. What are you trying to achieve? -- Konrad Malawski On 26 December 2016 at 10:37:59, aarti (leoartsha...@gmail.com) wrote: > Hi, > Can anyone guide me how can we enable RESTCONF streaming for events on > akka.http. What are steps, jars etc. will be required for the same. > > -- > >> 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+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- >> 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+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
[akka-user] RESTCONF streaming for events can be enabled on akka.http.
Hi, Can anyone guide me how can we enable RESTCONF streaming for events on akka.http. What are steps, jars etc. will be required for the same. -- >> 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+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.