We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent effdf7f commit 81a131fCopy full SHA for 81a131f
include/cppkafka/utils/backoff_committer.h
@@ -147,9 +147,9 @@ class CPPKAFKA_API BackoffCommitter : public BackoffPerformer {
147
catch (const HandleException& ex) {
148
Error error = ex.get_error();
149
// If there were actually no offsets to commit, return. Retrying won't solve
150
- // anything here
+ // anything here.
151
if (error == RD_KAFKA_RESP_ERR__NO_OFFSET) {
152
- throw ex; //abort
+ return true; //not considered an error.
153
}
154
// If there's a callback and it returns false for this message, abort.
155
// Otherwise keep committing.
0 commit comments