Skip to content

Pub Sub messages failed due to due to DEADLINE_EXCEEDED: #3867

@ayushj158

Description

@ayushj158

Thanks for stopping by to let us know something could be better!

Please include as much information as possible:

Environment details

  • OS: Linux
  • Java version: 8
  • google-cloud-java version(s): <spring-cloud-gcp.version>1.0.0.M3</spring-cloud-gcp.version>

Steps to reproduce

  1. Publishing 20m records which post messages on pub sub continuously

Stacktrace

o.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: .
grpc-default-worker-ELG-2-2]` 7267 --- INFO i.g.n.s.i.n.h.c.h.DefaultHttp2ConnectionDecoder - [id: 0x204dac20, L:/10.8.61.36:58898 - R:pubsub.googleapis.com/172.217.20.74:443] ignoring HEADERS frame for stream RST_STREAM sent. {}
``

Code snippet

com.google.cloud.pubsub.v1.Publisher.publish(com.google.pubsub.v1.PubsubMessage;)

Any additional information below

We are publishing some bulk messages to pub sub and intermittently we keep seeing few messages getting failed due to :

I checked one the previous open issues #2722 which states the issues is resolved. I am not sure what is the resolution ?

just upgrading to the higher versions will fix the issue or
we need to add some custom timeout settings (if yes where , RetrySettings?)
@pongad @kir-titievsky

Following these steps will guarantee the quickest resolution possible.

Thanks!

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: pubsubIssues related to the Pub/Sub API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions