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

Warning: enable.auto.commit has no effect #119

Open
alkiskal opened this issue Jun 11, 2019 · 1 comment
Open

Warning: enable.auto.commit has no effect #119

alkiskal opened this issue Jun 11, 2019 · 1 comment

Comments

@alkiskal
Copy link
Contributor

 if(this._isAutoCommitting !== null && typeof this._isAutoCommitting !== "undefined"){
          this.config.logger.warn("enable.auto.commit has no effect in 1:n consume-mode, set to null or undefined to remove this message." +
            "You can pass 'noBatchCommits' as true via options to .consume(), if you want to commit manually.");
        }

I'm passing noBatchCommits as true in the consume options and I do not pass anything for
enable.auto.commit. If I pass it as null, then kafka responds with error.

@alkiskal alkiskal changed the title enable.auto.commit has no effect Warning: enable.auto.commit has no effect Jun 11, 2019
@giri-jeedigunta
Copy link

Seeing the same warning... any workaround for this?

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