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

remove zookeeper #1163

Merged
merged 7 commits into from
Jan 9, 2019
Merged

remove zookeeper #1163

merged 7 commits into from
Jan 9, 2019

Conversation

hyperlink
Copy link
Collaborator

@hyperlink hyperlink commented Jan 8, 2019

Drop zookeeper support from kafka-node

  • Update README

  • Remove HLC

  • Remove Client

  • Update examples

  • Update tests

  • Update typescript definitions

Remove and update tests using deprecated zookeeper client

remove Client support from ConsumerGroup, remove HLC migrator

Update to using kafkaClient in tests

delete zookeeper.js

update high level producer example

Fallback to using baseClient sendFetchRequest when not using ConsumerGroup

Update producer example

Update client reference in proxyquires

specify kafkaHost for SSL clients

formatting

fix host

remove mock zookeeper

remove highLevelConsumer
@hyperlink hyperlink merged commit 78fd627 into master Jan 9, 2019
@hyperlink hyperlink deleted the remove-zookeeper branch January 9, 2019 21:32
this.committing = false;
}.bind(this),
this.options.autoCommitIntervalMs
).unref();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @hyperlink unref causes an error in an Electron environment.

Uncaught TypeError: setTimeout(...).unref is not a function
    at ConsumerGroup.autoCommit

Is there an alternative way to clean up the timeout reference?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose we can check to see if unref is available and then call it if it's there.

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

Successfully merging this pull request may close these issues.

2 participants