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

Change default auto.offset.reset to none #121

Merged
merged 1 commit into from
Apr 18, 2019
Merged

Conversation

vlovgr
Copy link
Contributor

@vlovgr vlovgr commented Apr 18, 2019

The Java Kafka consumer defaults auto.offset.reset to latest, which can be surprising. We therefore set the default to none, which means an error will be raised if there are no offsets for the consumer group, and the user can then decide what the appropriate setting is for their use case.

@vlovgr vlovgr force-pushed the auto-offset-reset-none branch from 9476d46 to 7a51478 Compare April 18, 2019 13:59
@codecov
Copy link

codecov bot commented Apr 18, 2019

Codecov Report

Merging #121 into 0.20.x will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           0.20.x     #121      +/-   ##
==========================================
+ Coverage   93.55%   93.56%   +0.01%     
==========================================
  Files          40       40              
  Lines        1211     1213       +2     
  Branches       83       84       +1     
==========================================
+ Hits         1133     1135       +2     
  Misses         78       78
Impacted Files Coverage Δ
src/main/scala/fs2/kafka/ConsumerSettings.scala 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8be507e...7a51478. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Apr 18, 2019

Codecov Report

Merging #121 into 0.20.x will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           0.20.x     #121      +/-   ##
==========================================
+ Coverage   93.55%   93.56%   +0.01%     
==========================================
  Files          40       40              
  Lines        1211     1213       +2     
  Branches       83       84       +1     
==========================================
+ Hits         1133     1135       +2     
  Misses         78       78
Impacted Files Coverage Δ
src/main/scala/fs2/kafka/ConsumerSettings.scala 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8be507e...7a51478. Read the comment docs.

@vlovgr vlovgr merged commit b1cf067 into 0.20.x Apr 18, 2019
@vlovgr vlovgr deleted the auto-offset-reset-none branch April 18, 2019 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant