Open kschoenSFDC opened 3 years ago
I am not sure how the official Salesforce documents (https://developer.salesforce.com/docs/atlas.en-us.change_data_capture.meta/change_data_capture/cdc_subscribe_emp_connector.htm) and other one for streaming API are not updated, so is the README here.
The class DevLoginExample is not having a main() method. As pointed by @kschoenSFDC either fixed the DevLoginExample, or please update the README.
In README.md under the section “Build and Execute EMP Connector” we have the following example:
To run EMP Connector using the DevLoginExample class with username and password authentication, use this command. $ java -classpath target/emp-connector-0.0.1-SNAPSHOT-phat.jar com.salesforce.emp.connector.example.DevLoginExample [optional_replay_id]
However, this command will no longer work because DevLoginExample is abstract. The examples should be updated to use DevLoginSynchronousEventProcessingExample or DevLoginAsynchronousEventProcessingExample.