You are planning to add unit tests to your application. You need to be able to assert that published Pub/Sub messages are processed by your subscriber in order. You want the unit tests to be cost-effective and reliable. What should you do?
I’m a bit confused about the options. Creating a topic and subscription for each tester seems excessive, but I wonder if option B could work in some scenarios?
I remember we discussed the importance of using an emulator for testing Pub/Sub messages. It seems like option D might be the best choice for cost-effectiveness.
Adding a filter by tester to the subscription could be a good way to isolate the tests, but I'm not sure if that would guarantee the order of message processing.
This sounds like a tricky one. I'll need to think through the different options carefully to come up with the most cost-effective and reliable solution.
The Pub/Sub emulator? Isn't that like using a crystal ball to predict the future of your messages? I'm going with option A, the mocking framework. It's the only way to be sure.
Adding a filter by tester to the subscription? That's just asking for trouble. I'm going with the Pub/Sub emulator, it's the most cost-effective and reliable option.
Creating a topic and subscription for each tester sounds like a lot of work. I think the Pub/Sub emulator is the way to go. It'll save us time and money.
Adolph
6 months agoCorinne
6 months agoClement
6 months agoKristine
7 months agoRex
7 months agoLeah
7 months agoBrent
7 months agoGladys
7 months agoCelestina
8 months agoAzalee
8 months agoBambi
8 months agoMing
8 months agoCarmelina
8 months agoTaryn
8 months agoAnnmarie
1 year agoChandra
11 months agoEzekiel
11 months agoYuriko
11 months agoKiera
1 year agoSina
1 year agoAlayna
11 months agoTerry
11 months agoWilford
11 months agoNathalie
12 months agoEarleen
1 year agoIsabella
11 months agoArthur
12 months agoJohnetta
12 months agoRocco
1 year agoErnie
11 months agoTiera
11 months agoLayla
11 months agoHarley
1 year agoXuan
1 year agoKenia
1 year ago