[ 
https://issues.apache.org/jira/browse/AVRO-3486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oscar Westra van Holthe - Kind updated AVRO-3486:
-------------------------------------------------
    Status: Patch Available  (was: Open)

Submitted a PR to use the same logic to determine a protocol name & namespace 
as for record names.

> Protocol namespace not parsed correctly if protocol is defined by full name
> ---------------------------------------------------------------------------
>
>                 Key: AVRO-3486
>                 URL: https://issues.apache.org/jira/browse/AVRO-3486
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.11.1
>            Reporter: Oscar Westra van Holthe - Kind
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When parsing a protocol with a full name (but no namespace), the namespace is 
> not parsed correctly.
> The spec for [Protocol 
> Declaration|https://avro.apache.org/docs/current/spec.html#Protocol+Declaration]
>  says:
> {quote}The name and namespace qualification rules defined for schema objects 
> apply to protocols as well.
> {quote}
> However, a protocol namespace can only be specified using the {{namespace}} 
> attribute, not by using a full name like {{qualified.Name}} as protocol name.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to