-
Notifications
You must be signed in to change notification settings - Fork 43
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
Default consumer offset reset policy - earliest #73
Comments
Thanks for your suggestion @srolija! The Mirus Source Connector is primarily intended for high-reliability data replication use cases, so our defaults are selected to minimize the risk of data loss at all costs — even at expense of increased risk of duplicate data. By using the |
Completely get it. Would it then make sense just to note the changes from the default consumer group? Asking since we had an issue where it started replicating enormous topic; and based on the docs we didn't understand that it has non-default configuration. |
Yes, that does make sense - we should update the the docs. |
By default Kafka Consumer has
auto.offset.reset
policy configured to latest. But it looks that the implementation in this connector is reverse -- unless it is configured it will start with earliest.mirus/src/main/java/com/salesforce/mirus/MirusSourceTask.java
Lines 161 to 167 in 4b48244
And that value is extracted from the consumer prefixed ones:
mirus/src/main/java/com/salesforce/mirus/config/SourceConfig.java
Line 51 in 4b48244
Would it make sense to make the default the same as the normal connector to keep it consistent with normal consumer groups?
The text was updated successfully, but these errors were encountered: