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

Processors can be initialized twice #524

Closed
kstaken opened this issue Sep 6, 2017 · 0 comments
Closed

Processors can be initialized twice #524

kstaken opened this issue Sep 6, 2017 · 0 comments

Comments

@kstaken
Copy link
Member

kstaken commented Sep 6, 2017

In the slicer and worker the calls to job_runner.initialize() can occur twice which has the side effect of calling newReader() twice on the loader operations. This can cause problems if the reader does initialization in that function and the Kafka reader can end up creating two client instances in the same worker process. This needs to be refactored to guarantee that job_runner.initialize() is called once and only once.

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

No branches or pull requests

2 participants