-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schema Registry Support #156
Comments
For reference, here are the corresponding issues for Schema downloads: julianpeeters/sbt-avrohugger#26 There might be something there we can leverage. |
This sbt plugin could also be useful: https://github.com/iadvize/sbt-avro |
Quick note - regardless of API used, the Schema Registry only supports Some of our users have |
most of the work can be done with:
We just need to separate the model definition and the RPC methods. I am to sure if it is possible, but If we don't want to add RPC local-definitions, we can make a module to convert an For example, we can convert: com.company.package.Apple getApple(com.company.package.Request request); to record getAppleRPCMethod {
string com_company_package_Apple;
string name;
}
record getAppleRPCMethodParameters {
string com_company_package_Request__ParamType1;
string request__ParamName1;
} |
Creating special records to represent RPC calls is an interesting idea! We could do this with a single record I think, and using the actual message record types as req/resp types instead of strings. |
It could work. record getAppleRPCMethod {
com_company_package_Apple getApple;
com.company.package.Request request;
} I think is worth to try if it is possible to have a way to convert from a |
Schema registry support (for Avro and more) will be implemented in the Compendium project: https://github.com/higherkindness/compendium. |
Currently,
frees-rpc
supports Avro serialization using avro4s. Ideally, it might be great if we support Avro serialization and, also schema versioning, allowing the evolution of schemas. One option would be addressing it by using the Schema Registry.The text was updated successfully, but these errors were encountered: