[
https://issues.apache.org/jira/browse/BEAM-3892?focusedWorklogId=83805&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-83805
]
ASF GitHub Bot logged work on BEAM-3892:
----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Mar/18 20:53
Start Date: 23/Mar/18 20:53
Worklog Time Spent: 10m
Work Description: iemejia commented on issue #4918: [BEAM-3892] Make
MetricQueryResults and related classes more json-serialization friendly
URL: https://github.com/apache/beam/pull/4918#issuecomment-375795235
@echauchot can you please rebase so we can get jenkins happy and merge.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 83805)
Time Spent: 1h 50m (was: 1h 40m)
> Make MetricQueryResults and related classes more json-serialization friendly
> ----------------------------------------------------------------------------
>
> Key: BEAM-3892
> URL: https://issues.apache.org/jira/browse/BEAM-3892
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Etienne Chauchot
> Assignee: Etienne Chauchot
> Priority: Major
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> When working on this PR [https://github.com/apache/beam/pull/4548]
> MetricQueryResults needed to be serialized to be pushed to a metrics sink. As
> they were it required a custom serializer that just calls the name(),
> counter(), committed(), attempted() ... methods. MetricQueryResults are so
> close to be serializable with the default serializer, just need the accessors
> to be renamed get*, that creating DTO objects with get* methods to just call
> the non-get methods seems unnecessary.
> So just rename public accessors to get* on the experimental API
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)