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

Allow kafka input consumer offset reset #3743

Merged
merged 1 commit into from Jun 7, 2017

Conversation

Projects
None yet
3 participants
@r4um
Contributor

r4um commented Apr 28, 2017

Description

Allow kafka input to reset consumer reset to smallest

Motivation and Context

In case of mishaps with zookeeper offsets / downstream elasticsearch, should be able
to replay sitting data in kafka.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
@CLAassistant

This comment has been minimized.

CLAassistant commented Apr 28, 2017

CLA assistant check
All committers have signed the CLA.

@bernd bernd added this to the 2.3.0 milestone Jun 7, 2017

@bernd bernd self-assigned this Jun 7, 2017

@bernd

bernd approved these changes Jun 7, 2017

Thank you for your contribution!

@bernd bernd merged commit ab043e2 into Graylog2:master Jun 7, 2017

3 checks passed

ci-web-linter Jenkins build graylog-pr-linter-check 1544 has succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
license/cla Contributor License Agreement is not signed yet.
Details

bernd added a commit that referenced this pull request Jun 7, 2017

Cleanup auto.offset.reset setting code in Kafka transport
- Convert to a DropdownField because there are only two valid values
- Make sure to use the default if the config does not contain the
  setting yet (old inputs)

Refs #3743

kroepke added a commit that referenced this pull request Jun 9, 2017

Cleanup auto.offset.reset setting code in Kafka transport (#3894)
- Convert to a DropdownField because there are only two valid values
- Make sure to use the default if the config does not contain the
  setting yet (old inputs)

Refs #3743
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment