I am learning pub/sub and have seen at least 3 different ways to process pub/sub messages. Here they are:
simplest. uses minimum dependencies.
sets up a Spring MVC app and HTTP push subscription
another Spring example using spring-cloud-gcp-starter-pubsub library
I am really confused which one of these to use for an application we need to develop. Our only constraint is that we want to run this application as a Cloud Run service. We don’t have any requirement to use Spring and are neutral about it.
Can anyone guide which option to choose and why?