Glad I can help.
If you have any questions, open a issue
<https://github.com/jiacai2050/ring-jetty-servlet-adapter/issues> on
github, I will look into it ASAP.

On Sun, Nov 19, 2017 at 11:55 PM, Michael Blume <[email protected]>
wrote:

> I was just about to start figuring out how to do this, for pretty much
> exactly the same reason (the Hystrix metrics stream). Thanks for this, I'm
> looking forward to trying it out.
>
> On Thu, Nov 16, 2017 at 5:23 AM Jiacai Liu <[email protected]> wrote:
>
>> Fork of official jetty adapter
>> <https://github.com/ring-clojure/ring/tree/master/ring-jetty-adapter> 
>> enhanced
>> with servlet-mapping support.
>>
>>
>> <https://github.com/jiacai2050/ring-jetty-servlet-adapter#why-another-adapter>Why
>> another adapter
>>
>> Some Java libraries, such as hystrix-metrics-event-stream
>> <https://github.com/Netflix/Hystrix/tree/master/hystrix-contrib/hystrix-metrics-event-stream>,
>> come with util servlets for exposing statistic infomation. But in a purely
>> Ring-based app we can't use those directly, you must convert the servlet
>> into a Ring handler function for use. This is cumbersome, and servlet
>> support should be supported out of box.
>>
>>
>> The codebase stays in step with the official, with version number
>> unchanged. So you can replace the official adapter with this in the least
>> amount of effort.
>>
>>
>>
>> https://github.com/jiacai2050/ring-jetty-servlet-adapter
>>
>>
>>
>> Let me know if you have any suggestions :-)
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to [email protected]
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to