avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang <teddyyyy...@gmail.com>
Subject schema backward compatibility in RPC?
Date Tue, 24 May 2011 18:57:27 GMT
I remember that Avro can handle schema changes, for example: when I
parse an incoming avro message, I can supply the known schema
associated with this message,
and the desired schema to parse it into.


but I wonder if this ability is automatically available in RPC too?

for example , originally I define a remote call   echo() to be

echo ( message {
                    date: integer,
                    content: string,
          }
        )


now the client still uses the old code, but server changes to

echo ( message {
                    content: string
           }
     )


would that still work?  if so, I wonder where the server gets the
incoming schema?

Thanks  a lot
Yang

Mime
View raw message