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

Running Basic Function #31

Open
pa-sundae opened this issue Apr 16, 2021 · 1 comment
Open

Running Basic Function #31

pa-sundae opened this issue Apr 16, 2021 · 1 comment

Comments

@pa-sundae
Copy link

Running example code causes following error:

const { runSourceConnector } = require("salesforce-kafka-connect");
runSourceConnector(config, [], onError).then(config => {
    //runs forever until: config.stop();
});

| Unhandled rejection TypeError: Client is not a constructor
kafka-salesforce | at Kafka.becomeProducer (/opt/service/app/node_modules/sinek/lib/kafka/Kafka.js:240:21)

@markoverride @rob3000

@brheringer
Copy link

I replaced zkConStr by kafkaHost in config/default.js and It seems to contour the problem.

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