function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Malaka SilvaMalaka Silva 

Java client for Salesforce pub-sub-api.

Can anyone share a Java client connecting to Salesforce pub-sub-api pls?
SwethaSwetha (Salesforce Developers) 
HI Malaka,
Does https://github.com/developerforce/pub-sub-api#code-samples help?

Thank you
Malaka SilvaMalaka Silva
Hi Swetha,

Already checked it. Those are in Go and Python. I need a Java client.

Eg: I created the stub with pubsub_api.proto. However unable to continue from following step.
How to create the channel?
 PubSubBlockingStub publishStub = PubSubGrpc.newBlockingStub(Channel?);