forcedotcom / EMP-Connector

A simplified cometd connector for Enterprise Messaging Platform
BSD 3-Clause "New" or "Revised" License
185 stars 243 forks source link

EMP-Connector is not consistently listening to platform events. It is missing some platform events. #102

Open learnerSF opened 1 year ago

learnerSF commented 1 year ago

EMP-Connector (java code) is working fine as it is listening to platform events from Salesforce. However, it misses some events intermittently (i.e. without any specific pattern or at any random time) throughout the day.

Also, when I check the log file, it do not show any error.

Is there any reason why some platform events are not captured and processed?

Is it something related to long polling?

Also, can we increase the BayeuxParameters keepAliveUnit() method's "KeepAlive" value from current 60 minutes (1 hour) to 1440 (24 hours)? What will be impact?

Please help.

Thanks