brilliant, In your example Spring Cloud Contract is using kafka to send and retrieve the data from the topic, so there is no mocking or anything? it does make sense to use test container?
@bayonnesensei8281 Жыл бұрын
Hey my friend, in this example it;s using Spring Cloud Stream Test Binder behind the scenes. In next videos I've explained and used TestContainers
@javisartdesign Жыл бұрын
@@bayonnesensei8281 thanks for the replay! I was using AVRO and Schema Registry and it seems Spring Cloud Contract does not support it yet.. there is no plan for the moment as far I know.
@bayonnesensei8281 Жыл бұрын
@@javisartdesign That's true AFAIK. But there is a workaround. I am using it in production. Actually you can customize your contracts to use message verifier and then you can check if the avro schema is correct. There are a lot of alternatives.