Skip to content

Support PublishStream / Problems with high load #51

@yannickpoggel

Description

@yannickpoggel

Hi @pozil,

we are currently running into errors, when load is a little bit higher (>80 requests in sequence) and we are hitting the salesforce tenantIdRateLimiter:

Service-Logs: "Error: 8 RESOURCE_EXHAUSTED: The service received too many connections and doesn't have the resources to accept new connections."
Salesforce-Logs: "The service received too many connections and doesn't have the resources to accept new connections"

The salesforce support suggested to use PublishStream instead of Publish.

PublishStream in .proto: https://github.com/pozil/pub-sub-api-node-client/blob/main/pubsub_api.proto#L400
PublishStream Salesforce Docs: https://developer.salesforce.com/docs/platform/pub-sub-api/references/methods/publishstream-rpc.html?q=publish

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions