Re: [akka-user] Source.queue with java sample

2018-02-13 Thread Konrad “ktoso” Malawski
If you’re talking about doing akka streams / reactive streams over the
network (seems you imply that by mentioning ‘on other system’),
then the queue is not going to give you what you want.

That pattern is however trivial with a new feature that we’re about to
release in the upcoming release of Akka 2.5.10, which are stream refs:
Here’s a preview of the docs:
https://doc.akka.io/docs/akka/snapshot/stream/stream-refs.html



-- 
Cheers,
Konrad 'ktoso ' Malawski
Akka  @ Lightbend 

On February 13, 2018 at 15:07:51, 薛永飞 (siren...@gmail.com) wrote:

many thanks !
 But I think I hadn't  described clearly.
what I mean is that ,I want to receive the source from akka remote(which is
located in another system)

app1 send data to app2 which is a akka stream system



On Tuesday, 13 February 2018 20:55:37 UTC+8, Konrad Malawski wrote:
>
> Browse the docs :-)
>
> https://doc.akka.io/japi/akka/current/akka/stream/javadsl/
> Source.html#queue-int-akka.stream.OverflowStrategy-
>
>
> --
> Cheers,
> Konrad 'ktoso ' Malawski
> Akka  @ Lightbend 
>
> On February 13, 2018 at 13:48:41, 薛永飞 (sire...@gmail.com) wrote:
>
> I cannot find a Source.queue with  java sample,does anyone has? please!
> --
> >> 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] Source.queue with java sample

2018-02-13 Thread 薛永飞
many thanks !
 But I think I hadn't  described clearly.
what I mean is that ,I want to receive the source from akka remote(which is 
located in another system)

app1 send data to app2 which is a akka stream system



On Tuesday, 13 February 2018 20:55:37 UTC+8, Konrad Malawski wrote:
>
> Browse the docs :-)
>
>
> https://doc.akka.io/japi/akka/current/akka/stream/javadsl/Source.html#queue-int-akka.stream.OverflowStrategy-
>  
>
>
> -- 
> Cheers,
> Konrad 'ktoso ' Malawski
> Akka  @ Lightbend 
>
> On February 13, 2018 at 13:48:41, 薛永飞 (sire...@gmail.com ) 
> wrote:
>
> I cannot find a Source.queue with  java sample,does anyone has? please!
> --
> >> 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] Source.queue with java sample

2018-02-13 Thread Konrad “ktoso” Malawski
Browse the docs :-)

https://doc.akka.io/japi/akka/current/akka/stream/javadsl/Source.html#queue-int-akka.stream.OverflowStrategy-



-- 
Cheers,
Konrad 'ktoso ' Malawski
Akka  @ Lightbend 

On February 13, 2018 at 13:48:41, 薛永飞 (siren...@gmail.com) wrote:

I cannot find a Source.queue with  java sample,does anyone has? please!
--
>> 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.