I have SpringBoot App deployed in GKE pod, that pulls messages from pubsub:
PubSubInboundChannelAdapter adapter = new PubSubInboundChannelAdapter(pubSubTemplate, subscription);
logger.info("Created subscription to " + subscription);
adapter.setOutputChannel(inputChannel);
adapter.setAckMode(AckMode.MANUAL);
It works fine, but then it stopped pulled messages, if I restart the pod it works fine.
Nothing in the logs.
I have many pods that subscribed to different subscriptions and this issue happens for all of them.
can be once in a month, but consistently happens, and require us to restart the pods all the time (production cluster)
spring boot: 2.3.0.RELEASE
spring-cloud-gcp-starter-pubsub 1.2.5.RELEASE