forcedotcom / EMP-Connector

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

When a topic's query is updated or a field is removed, it simply doesn't send anymore? #31

Open shadowdogg opened 6 years ago

shadowdogg commented 6 years ago

Is there anyway so that if a topic is updated or field is removed, that the program acknowledges this and refreshes itself? I presume the field removal is an inherent thing from within salesforce, but my plan was to keep this process on all the time and send the json data through JDBC to our database so i'm thinking of ways in which this process will break.

Or are people doing a method where they are continuously sending parameters with the java command based on which replayid has been parsed

Thank you.

pbn-sfdc commented 6 years ago

Hi, @shadowdogg is this related to push topics where you create a push topic referring to certain fields and subscribe to the push topic. While the EmpConnector running, you remove one of the fields that are used in the push topic. Actually, unless you delete the push topic, you shouldn't be able to delete a field used in a push topic, the reference validation fails. If this is not the case, please file a case/bug via your Salesforce support contact. Thanks.