[akka-user] RESTCONF streaming for events can be enabled on akka.http.

2016-12-26 Thread aarti
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.


Re: [akka-user] RESTCONF streaming for events can be enabled on akka.http.

2016-12-26 Thread aarti
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.


Re: [akka-user] RESTCONF streaming for events can be enabled on akka.http.

2016-12-27 Thread aarti
Thanks Rafal and Konard. I have gone through  
https://github.com/hseeberger/akka-sse 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fhseeberger%2Fakka-sse&sa=D&sntz=1&usg=AFQjCNHqxwsMT3Q4YpufUiivy77ZG-ZZig>,
 
it helped me a lot. Will revert with doubts in between. :)


On Tuesday, 27 December 2016 16:45:27 UTC+5:30, Rafał Krzewski wrote:
>
> This is also the first time I've heard about RESTCONF :) I've taken a look 
> at the specification draft [1] and it turns out, that the RESTCONF 
> notifications [2] are provided as W3C Serrver-Sent Events [3].
> Akka HTTP is end-to-end stream based, so it would be easy enough to use it 
> to implement RESTCONF protocol client (or server) directly, but here's a 
> handy module provided by Heiko Seeberger [4] that implements SSE event 
> streams on top of Akka HTTP.
>
> cheers,
> Rafał
>
> [1] https://tools.ietf.org/html/draft-ietf-netconf-restconf-18
> [2] https://tools.ietf.org/html/draft-ietf-netconf-restconf-18#section-6
> [3] https://www.w3.org/TR/eventsource/
> [4] https://github.com/hseeberger/akka-sse 
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fhseeberger%2Fakka-sse&sa=D&sntz=1&usg=AFQjCNHqxwsMT3Q4YpufUiivy77ZG-ZZig>
>
> W dniu wtorek, 27 grudnia 2016 07:18:39 UTC+1 użytkownik aarti napisał:
>>
>> 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] Streaming as HTTP response on spray-can 1.3.1 withAck

2017-01-30 Thread aarti
Hi Team,

I need to send the chunk messages as streams as an http-response withACK 
from spray-can 1.3.1. and getting the below error:

Actor[akka://eventstream/user/frontend:queue:firefly.eventstream.api/amq-queue-controller/amq-responder:1#-489262873]
 
was not delivered. [5] dead letters encountered. This logging can be turned 
off or adjusted with configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.

1) Please let me know if we need to update some configuration settings in 
application.conf for spray-can or on browser to get acknowledgment. If yes, 
then what all setting are required. 
2) If it is neccesary to send CHUNKRESPONSEND. 

I am new to streaming please guide me further.

Thanks in Advance!!!

-- 
>>  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] Streaming as HTTP response on spray-can 1.3.1 withAck

2017-01-31 Thread Aarti
In Addition, We are sending the content-type with the response.

On Tue, Jan 31, 2017 at 12:27 PM, aarti  wrote:

> Hi Team,
>
> I need to send the chunk messages as streams as an http-response withACK
> from spray-can 1.3.1. and getting the below error:
>
> Actor[akka://eventstream/user/frontend:queue:firefly.
> eventstream.api/amq-queue-controller/amq-responder:1#-489262873] was not
> delivered. [5] dead letters encountered. This logging can be turned off or
> adjusted with configuration settings 'akka.log-dead-letters' and
> 'akka.log-dead-letters-during-shutdown'.
>
> 1) Please let me know if we need to update some configuration settings in
> application.conf for spray-can or on browser to get acknowledgment. If yes,
> then what all setting are required.
> 2) If it is neccesary to send CHUNKRESPONSEND.
>
> I am new to streaming please guide me further.
>
> Thanks in Advance!!!
>
> --
> >>>>>>>>>> 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 a topic in the
> Google Groups "Akka User List" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/akka-user/7VjD0U9R3ok/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>



-- 
Aarti Sharma
I

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