Questions tagged [publish-subscribe]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Java Exception while attempting to stablish gRCP connection: UNAVAILABLE: Failed ALPN negotiation: Unable to find compatible protocol

I'm trying to establish a connection between a java service and salesforce using a gRCP connection on the PubSub API. While trying to make a synchronous call TopicInfo topic = pubSubBlockingStub....
user avatar
  • 1
-1 votes
0 answers
42 views

Connecting to CDC Topic using pubsub API endpoint does not retrieve the topic

I am using pubsub api endpoint "api.pubsub.salesforce.com:7443" and my "Case" object is added to CDC events, so connection to sandbox and to endpoint seems to be working but ...
user avatar
0 votes
1 answer
77 views

Platform event Fired from two objects

We are planning to build a platform event, which should publish changes from two objects. Consider there is an insert/update of records in Account object or Customer__c object. We need to insert/...
user avatar
-1 votes
1 answer
117 views

Does Platform Event count against API Limit if we are publish the events to Non Salesforce System

Does Platform Event count against API Limit if we are publish the events to Non Salesforce System... As far i have understood,Platform Event pubiish doesnt count against API limit in an org. If we ...
user avatar
0 votes
1 answer
377 views

Can an LWC be both a subscriber and publisher using message channels?

I have two (A and B)LWCs that do not have a parent child relationship. I am able to send messages from A to B. However, when I try to send the message in reverse after processing the results of the ...
user avatar
  • 197
1 vote
1 answer
442 views

Platform event not getting subscribed

I have created a platform event with Publish Immediately behavior. It is very basic one. Once it is published, I want to upsert a custom object records. I am publishing it through developer console ...
user avatar
1 vote
0 answers
327 views

Are there any tools like the Microsoft Azure Service Bus Explorer for monitoring Salesforce Platform Events?

I'm looking for a good way to monitor the Platform Events being published by our org, so I can check that they are actually being published and have the expected content. On Azure, I could use the ...
user avatar
4 votes
2 answers
3k views

Platform Event Apex Triggers: Are they always executed in the context of the Automated Process user?

We have been using Platform Events for a while now for certain core processing. When we created our Platform Events I don't recall there being an option to specify how publishing behaved. Publishing ...
user avatar
  • 28.2k
0 votes
1 answer
176 views

Platform Events for child is getting published before parent

I am publishing the events in order such that Parent event is published first then the child. Using System.debug I can see that the controller goes to publish event method for Parent and then the ...
user avatar
0 votes
0 answers
357 views

LWC pub sub : subscribing component fetching stale data from apex

I am having two separate LWC components on the App Page. One is for adding Team members(Call it A 'members-skills') and other for showing all the team members(Call it B 'Team list'). Current ...
user avatar
  • 1
0 votes
1 answer
321 views

I am using publish-subscribe model to get the data from one lwc component to another lwc component

in my component B after saving the data to the database I am creating a publish call as shown: handleSubmit(){ var dataList = {}; dataList.Id = this.data[0].Id; dataList.Name =...
user avatar
1 vote
2 answers
1k views

Publishing an event to Salesforce via CometD

I am trying to create a external client to publish Platform events to Salesforce event bus. I have used REST API to do the same but I wanted to do it via a true 'Publish'. My guess is that this will ...
user avatar
  • 66
0 votes
0 answers
50 views

Update a custom component with standard component events

Can we listen for standard or toast events on LWC with a pubsub e.g. for the purpose of using a standard component to update a custom component?
user avatar
7 votes
2 answers
2k views

Inter-namespace communication with LWC

I need to develop two components, in two separate namespaces, that can interact with each other. As per the product documentation it is not possible (yet) to write a component that uses a component ...
user avatar
  • 28.2k