[
https://issues.apache.org/jira/browse/BEAM-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Etienne Chauchot resolved BEAM-3892.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.5.0
> 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
> Fix For: 2.5.0
>
> Time Spent: 2h 20m
> 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)