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
Avro Schema registry kafka pubsub implementation #3292
Avro Schema registry kafka pubsub implementation #3292
Conversation
ac09299
to
7b19c5b
Compare
03e500d
to
45d86a7
Compare
Great contribution, I really like how this is done and wonder if this approach can be used in the future to enable a generic schema validation feature for all Dapr pub/subs, implemented in the Dapr runtime itself. For this PR: It'd be best to add a certification test for this functionality (or add this to an existing test). |
I see the existing test for kafka. Should be able to add to it easily. This is essentially how I'm already testing it locally anyway... |
The certification tests for Kafka PubSub are here: https://github.com/dapr/components-contrib/tree/main/tests/certification/pubsub/kafka We don't have good docs (we should....), but for certifications test you just "cd" into the test's folder, and then run |
cf962f2
to
c350f0e
Compare
- consumer - producer - includes configurable caching - Overrides srclient.codec to use newer standard json codec since this is the format used by dapr. - unit tests Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com>
Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com>
c350f0e
to
42e166d
Compare
@passuied please resolve the conflict |
Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com>
Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com>
dde6ec9
to
e39b6c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR :) left some comments
Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com>
LGTM! @yaron2 good to merge if you are good too |
Thanks for this @passuied |
Thank you for a very smooth PR process ;) That was fun! |
Signed-off-by: Patrick Assuied <patrick.assuied@elationhealth.com> Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com> Signed-off-by: Thomas O'Neill <toneill@new-innov.com>
Description
Add Avro Schema Registry to Kafka PubSub.
Issue reference
#3144
Checklist