[akka-user] Template for Akka Streams & Kafka with Docker & Travis.

2017-03-22 Thread William Narmontas
Hey all, I built this SBT template last week if you do any Kafka-Akka work:

* https://github.com/ScalaWilliam/akka-stream-kafka-template.g8

Comes with batteries included, and is as simple to use as :

sbt new ScalaWilliam/akka-stream-kafka-template.g8


Feedback, PRs, reports are much welcome.

Regards,
William

-- 
>>  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] Does Activator require SBT ? Can it work with gradle?

2017-03-22 Thread kant kodali
Any rough timeline?

On Wednesday, March 22, 2017 at 4:58:53 AM UTC-7, Konrad Malawski wrote:
>
> As I just mentioned, we're working on it, there will be a replacement ;)
>
> -- 
> Konrad `ktoso` Malawski
> Akka  @ Lightbend 
>
> On 22 March 2017 at 13:46:46, kant kodali (kant...@gmail.com ) 
> wrote:
>
> oh if you guys are deprecating activator what is its replacement? Any 
> pointer on the web I can follow?
>
> On Wednesday, March 22, 2017 at 4:32:35 AM UTC-7, Konrad Malawski wrote: 
>>
>> Thanks!
>>
>> It does require it. It is only a getting started tool so you should not 
>> really care. Your normal development you do in whichever thing you want.
>> It is also being deprecated in favour of new tools we're working on at 
>> Lightbend.
>>
>> -- 
>> Konrad `ktoso` Malawski
>> Akka  @ Lightbend 
>>
>> On 22 March 2017 at 13:31:15, kant kodali (kant...@gmail.com) wrote:
>>
>> Hi All, 
>>
>> I love the activator tool. Whoever implemented a big thanks! I am 
>> wondering if it require SBT ? can it work with gradle (since we currently 
>> use gradle)?
>>
>> Thanks!
>> --
>> >> 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+...@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.


Re: [akka-user] Does Activator require SBT ? Can it work with gradle?

2017-03-22 Thread Konrad Malawski
As I just mentioned, we're working on it, there will be a replacement ;)

-- 
Konrad `ktoso` Malawski
Akka  @ Lightbend 

On 22 March 2017 at 13:46:46, kant kodali (kanth...@gmail.com) wrote:

oh if you guys are deprecating activator what is its replacement? Any
pointer on the web I can follow?

On Wednesday, March 22, 2017 at 4:32:35 AM UTC-7, Konrad Malawski wrote:
>
> Thanks!
>
> It does require it. It is only a getting started tool so you should not
> really care. Your normal development you do in whichever thing you want.
> It is also being deprecated in favour of new tools we're working on at
> Lightbend.
>
> --
> Konrad `ktoso` Malawski
> Akka  @ Lightbend 
>
> On 22 March 2017 at 13:31:15, kant kodali (kant...@gmail.com) wrote:
>
> Hi All,
>
> I love the activator tool. Whoever implemented a big thanks! I am
> wondering if it require SBT ? can it work with gradle (since we currently
> use gradle)?
>
> Thanks!
> --
> >> 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.

-- 
>>  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] Does Activator require SBT ? Can it work with gradle?

2017-03-22 Thread kant kodali
oh if you guys are deprecating activator what is its replacement? Any 
pointer on the web I can follow?

On Wednesday, March 22, 2017 at 4:32:35 AM UTC-7, Konrad Malawski wrote:
>
> Thanks!
>
> It does require it. It is only a getting started tool so you should not 
> really care. Your normal development you do in whichever thing you want.
> It is also being deprecated in favour of new tools we're working on at 
> Lightbend.
>
> -- 
> Konrad `ktoso` Malawski
> Akka  @ Lightbend 
>
> On 22 March 2017 at 13:31:15, kant kodali (kant...@gmail.com ) 
> wrote:
>
> Hi All, 
>
> I love the activator tool. Whoever implemented a big thanks! I am 
> wondering if it require SBT ? can it work with gradle (since we currently 
> use gradle)?
>
> Thanks!
> --
> >> 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.


Re: [akka-user] Does Activator require SBT ? Can it work with gradle?

2017-03-22 Thread Konrad Malawski
Thanks!

It does require it. It is only a getting started tool so you should not
really care. Your normal development you do in whichever thing you want.
It is also being deprecated in favour of new tools we're working on at
Lightbend.

-- 
Konrad `ktoso` Malawski
Akka  @ Lightbend 

On 22 March 2017 at 13:31:15, kant kodali (kanth...@gmail.com) wrote:

Hi All,

I love the activator tool. Whoever implemented a big thanks! I am wondering
if it require SBT ? can it work with gradle (since we currently use gradle)?

Thanks!
--
>> 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] Does Activator require SBT ? Can it work with gradle?

2017-03-22 Thread kant kodali
Hi All,

I love the activator tool. Whoever implemented a big thanks! I am wondering 
if it require SBT ? can it work with gradle (since we currently use gradle)?

Thanks!

-- 
>>  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: How to group a list of actors in Akka?

2017-03-22 Thread kant kodali
Thanks! I ended up using LookupEventBus and that solved my problem!


On Tuesday, March 21, 2017 at 3:16:52 AM UTC-7, kant kodali wrote:
>
> Hi All,
>
> How to group a list of actors? I want to send message A to group of Actors 
> M and message B to group of Actors N. Is there a way to give them a common 
> name and access them through that name so I can send my messages? or Is 
> there any better way?
>
> Thanks!
>

-- 
>>  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] How to group a list of actors in Akka?

2017-03-22 Thread Konrad Malawski
On 22 March 2017 at 03:06:34, kant kodali (kanth...@gmail.com) wrote:

I think I understand it better from what you said. I guess I don't have
separate parent for each group therefore I was looking to see how to group
the child actors but anyways since it is not the standard approach from
what you are saying I would not go that way. I believe I can leverage event
bus  for this
since all I want to do is broadcast different messages to different groups
of actors within a single JVM.

Maybe, not sure what your exact use case is. Picking the simplest thing to
solve your problem is usually a good rule of thumb



Is it recommended to have multiple actors systems within the same JVM? I am
using the Play framework and it has a default Actor system but I wondering
if I should use Actor system provided by the Play framework or create my
own to leverage event bus?

One system is fine, do however read about blocking (google "akka blocking")
to learn how to configure dispatchers to avoid blocking the main dispatcher.



I am assuming the different between pub-sub and event bus is one is
distributed and other is not respectively. isn't it?

Yeah, event-bus is just a quick local thing. Distributed Pub Sub is
distributed pub-sub :)


-- 
Konrad `ktoso` Malawski
Akka  @ Lightbend 

-- 
>>  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: how to get the number of actors from actor system?

2017-03-22 Thread Dai Yinhua
Sending ShardRegion.GetClusterShardingStats to a local shard region can get 
all shard regions, and their shards and underlying entities.

On Wednesday, 22 March 2017 10:53:27 UTC+8, Leo Wolf wrote:
>
> Hi there,
>
> I have constructed the shard region in actor system, but I wonder if 
> there's any way to know the number of entity actors in the system, or get 
> the number of all actors in whole actor system?
> If I count it with a counter, then if the actor system crashed and 
> restarted, I will lose counter information because it's not be cleaned, so 
> I prefer to find some way to acquire the information from the system. 
> Thanks a lot.
>

-- 
>>  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.