authorjapps / zerocode

A community-developed, free, opensource, automated testing framework for microservices APIs, Kafka(Data Streams) and Load testing. Zerocode Open Source enables you to create, change and maintain your automated test scenarios via simple JSON or YAML files. Visit documentation below:
https://zerocode-tdd.tddfy.com
Apache License 2.0
909 stars 397 forks source link

recordType does not take into account differences between key and value for kafka #654

Closed a1shadows closed 6 months ago

a1shadows commented 7 months ago

When we supply recordType for kafka producer or consumer step or RAW/JSON, it assumes that both key and value will be both either RAW or JSON.

In reality, there are many scenarios where the key is an integer/string but the value is JSON.

a1shadows commented 7 months ago

@authorjapps what are your thoughts?

authorjapps commented 7 months ago

@authorjapps what are your thoughts?

@a1shadows , is it possible to provide an example with a usecase please?

A scenario with steps will be useful.

a1shadows commented 7 months ago

I think #657 is an example of this