Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

[PubSub] PubSubInboundChannelAdapter stop pulling messages from PubSub #2552

@brachipa

Description

@brachipa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions