ASF GitHub Bot logged work on CURATOR-547:

                Author: ASF GitHub Bot
            Created on: 09/Nov/19 14:38
            Start Date: 09/Nov/19 14:38
    Worklog Time Spent: 10m 
      Work Description: Randgalt commented on pull request #328: CURATOR-547 
change JAX-RS reader/writer to reuse Jackson ObjectMapper
URL: https://github.com/apache/curator/pull/328
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 340923)
    Time Spent: 20m  (was: 10m)

> Make JAX-RS MessageBodyReader/-Writer impl (JsonServiceInstanceMarshaller) 
> reuse Jackson ObjectMapper
> -----------------------------------------------------------------------------------------------------
>                 Key: CURATOR-547
>                 URL: https://issues.apache.org/jira/browse/CURATOR-547
>             Project: Apache Curator
>          Issue Type: Improvement
>          Components: Recipes
>    Affects Versions: 4.2.0
>            Reporter: Tatu Saloranta
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>             Fix For: 4.3.0
>          Time Spent: 20m
>  Remaining Estimate: 0h
> I noticed that the JAX-RS reader/writer implementation, 
> `JsonServiceInstanceMarshaller` creates `ObjectMapper`s on-the-fly for every 
> read and write. This is pretty inefficient, and it is easy to create and use 
> a static mapper instance instead.

This message was sent by Atlassian Jira

Reply via email to