You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simple client using salesforce EMP connector and subscribing to a platform event. When I have it run from commandline on windows machine it works fine and subscription and subsequent events work fine. When I deploy the same code as a Java Lambda function in AWS - it successfully subscribes but does not wait/listen for events. Is there some limitation around using java Bayeaux client in AWS Lambda ?
I am running into the same issue now with my instance of EMP connector. It will work locally, but when thrown into a lambda function, it will exit as soon as it subscribes. Did you ever come to a solution as to why the code doesn't wait/listen for events? I tried making the return type void or adding a sleep at the end of the handler, but that didn't seem to work.
I have a simple client using salesforce EMP connector and subscribing to a platform event. When I have it run from commandline on windows machine it works fine and subscription and subsequent events work fine. When I deploy the same code as a Java Lambda function in AWS - it successfully subscribes but does not wait/listen for events. Is there some limitation around using java Bayeaux client in AWS Lambda ?
Below is the code in Lambda handler -
The text was updated successfully, but these errors were encountered: