Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README contains outdated example #81

Open
kschoenSFDC opened this issue Nov 24, 2020 · 1 comment
Open

README contains outdated example #81

kschoenSFDC opened this issue Nov 24, 2020 · 1 comment

Comments

@kschoenSFDC
Copy link

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 <login_URL> [optional_replay_id]

However, this command will no longer work because DevLoginExample is abstract. The examples should be updated to use DevLoginSynchronousEventProcessingExample or DevLoginAsynchronousEventProcessingExample.

@abhinavguptas
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants