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

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

Commit a60b748c1694dcf3fd2b617e75fcc9c1634fd150 in avro's branch 
refs/heads/branch-1.11 from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=a60b748c1 ]

AVRO-3001 AVRO-3274 AVRO-3568 AVRO-3613: Add JSON encoder/decoder for C#

Remove Encoder#Flush() method for backward compatibility

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>


> Request for C# API to implement a JSON Encoder
> ----------------------------------------------
>
>                 Key: AVRO-3274
>                 URL: https://issues.apache.org/jira/browse/AVRO-3274
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: csharp
>    Affects Versions: 1.10.2
>            Reporter: Andrew Benedek
>            Assignee: Robert Yokota
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> This is a request or improvement.
> I have a .NET Core application that needs to publish AVRO JSON encoded 
> messages to our Confluent Kafka REST API.  I can see that the Java and C++ 
> API's have a JSON encoder, but I couldn't tell from the documentation whether 
> the C# API has it, or at least it doesn't seem to.  The documentation for the 
> C# API is a little light on for details.  The Kafka REST API supports JSON, 
> and AVRO JSON, but not binary AVRO from what I understand.
> The main problem facing the plain JSON we are currently publishing is that 
> when using an AVRO schema and the union type, we hit the problem described 
> here https://issues.apache.org/jira/browse/AVRO-2899.  We need to generate 
> the type information in the JSON in order to satisfy the validation in the 
> Kafka REST API.  Hence, the need for an AVRO JSON encoder.
> I can't re-write the .NET application, so I'm faced with the prospect of 
> using either the Java or C++ API's with some sort of wrappers or 
> interoperability framework, which I'm desperately trying to avoid.
> Any assistance or suggestions would be much appreciated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to