karate-kafka icon indicating copy to clipboard operation
karate-kafka copied to clipboard

Support for AVRO format

Open johnchandra opened this issue 5 years ago • 2 comments

Hi @Sdaas

Thanks for starting this project. I am familiar with testing REST API and GraphQL calls with Karate and hence looking at Karate to see if it helps in testing Kafka A producer sends in JSON data to a topic, that is then converted to avro format by some custom code and written to another topic. We need to consume the avro message from that topic and verify if it matches the original JSON input. Is there a way to do that in Karate ?

Thanks John

johnchandra avatar Sep 15 '20 13:09 johnchandra

On my list of things to do, but I don't have a timeline. Happy to take a PR if you would like to take a crack at it.

Sdaas avatar Sep 15 '20 15:09 Sdaas

I think the main issue is that the consumer expect the message payload is JSON. We should have a way to deal with non-json message so AVRO and byte array will work

loicmathieu avatar Dec 23 '20 11:12 loicmathieu