Pubsub input stopped - context deadline exceeded

Hi all,

I'm facing an issue where filebeat pubsub input stop pulling events just after throwing this error:

2022-01-05T15:30:24.404Z	ERROR	[gcp.pubsub]	gcppubsub/input.go:141	context deadline exceeded	{"pubsub_project": "project-1", "pubsub_topic": "some-logs", "pubsub_subscription": {"Name":"some-logs","NumGoroutines":1,"MaxOutstandingMessages":-1,"Create":false}}

restarting the service works but is not a solution.

Does anyone have any experience with that?

filebeat.yml:

filebeat.inputs:
    - type: gcp-pubsub
      project_id: project-1
      topic: some-logs
      subscription:
        name: some-logs
        create: false
        num_goroutines: 1
        max_outstanding_messages: -1
      credentials_file: /etc/gcp/sa_credentials.json

Thanks

This is a known bug and was fixed on 7.17.0:

Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.