-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.
Description
Environment details
- OS: Docker in GKE
- Node.js version: 6.9
- google-cloud-node version: "google-cloud": "^0.52.0",
Steps to reproduce
We are publishing messages on a number of topics, We hade memory leak problems if calling publish every time we got a message with would put it at around 1000 times per second. So we implemented a batching where we publish 225 messages in every batch. Is do solve the memory problem but we have started to get Error: Deadline Exceeded with the later versions.
{
code: 4,
metadata: {
_internal_repr: {}
},
note: Exception occurred in retry method that was not classified as transient
}
/usr/src/app/node_modules/grpc/src/node/src/client.js in null.<anonymous> at line 434:17
code: grpc.status.INTERNAL,
details: 'Failed to parse server response'
};
}
}
}
if (status.code !== grpc.status.OK) {
error = new Error(status.details);
error.code = status.code;
error.metadata = status.metadata;
args.callback(error);
} else {
args.callback(null, deserialized);
}
emitter.emit('status', status);
Cant figure out way its started to be thrown more often only change is the version.
Let me know if we can provide anymore information to get this resolved.
Thanks!
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.