You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Zezeng Wang (Jira)" <ji...@apache.org> on 2019/09/06 08:24:00 UTC

[jira] [Created] (AVRO-2551) Changed datum API to value API in examples\quickstop

Zezeng Wang created AVRO-2551:
---------------------------------

             Summary: Changed datum API to value API in examples\quickstop
                 Key: AVRO-2551
                 URL: https://issues.apache.org/jira/browse/AVRO-2551
             Project: Apache Avro
          Issue Type: Improvement
          Components: c
            Reporter: Zezeng Wang


Starting with version 1.6.0, the Avro C library has a new API for handling Avro data. To help distinguish between the two APIs, we refer to the old one as the _legacy_ or _datum_ API, and the new one as the _value_ API.

The legacy API is still present, but it’s deprecated — we shouldn’t use the {{avro_datum_t}} type or the {{avro_datum_*}} functions in new code.

But the quickstop as an example for newcomers still used the legacy API.

 

 

 

 



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