我们可以创建队列数据使用者吗? [英] Can we create queue data consumers?
本文介绍了我们可以创建队列数据使用者吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
考虑到我有Rabbitmq或Amazon SQS,我必须从中使用数据并使用DB中的数据进行验证.
Consider I have rabbitmq or Amazon SQS from which I have to consume the data and validate the same with data in DB.
是否有可能使用空手道来编写使用者,空手道仅消耗队列中的数据并存储并针对数据库中的数据进行验证.
Is it possible to write consumer using karate which simply consumes data from a queue and stores it and validate against the data in DB.
推荐答案
是的,使用Java interop,您可以执行任何操作.请参考以下示例: https://github.com/intuit/karate/tree/master/karate-netty#consumer-provider-example
Yes, using Java interop you can do anything. Refer this example: https://github.com/intuit/karate/tree/master/karate-netty#consumer-provider-example
这篇关于我们可以创建队列数据使用者吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文