You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/08/22 11:25:00 UTC

[jira] [Commented] (AVRO-2515) Enable direct access to utility methods in ProtobufData

    [ https://issues.apache.org/jira/browse/AVRO-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913232#comment-16913232 ] 

ASF subversion and git services commented on AVRO-2515:
-------------------------------------------------------

Commit bce00d9c4a44f66c6906e66cde21938935c00fc5 in avro's branch refs/heads/master from Teodor Kostov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=bce00d9 ]

AVRO-2515: Expand access of ProtobufData methods (#612)

Chandged from private to public getSchema(FieldDescriptor) and
getNamespace(FileDescriptor, Descriptor).

The utility methods that deal with the conversion from Protobuf message
descriptor to an Avro schema are now exposed on a more granular level.
This will alow the library clients to use this functionality and not
reinvent it. This will also help with extending the base functionality.
For example, adding protobuf meta information to the schema as
properties.

> Enable direct access to utility methods in ProtobufData
> -------------------------------------------------------
>
>                 Key: AVRO-2515
>                 URL: https://issues.apache.org/jira/browse/AVRO-2515
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.9.0
>         Environment: N/A
>            Reporter: Teodor Kostov
>            Priority: Minor
>              Labels: pull-request-available
>
> Enable direct access to utility methods in {{ProtobufData}} that deal with the message description on a more granular level.
> {{ProtobufData}} presents some great functionality that allows dealing with the Protobuf message descriptors. The intention of this PR is to provide access to the methods that deal with these descriptors on a more granular level. This would make it more flexible for the library clients to deal with their Protobuf message.
> In terms of extending the functionality this would make it possible for clients to adjust some specific moments of the conversion from Protobuf descriptors to Avro schemas.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)