You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.
Describe the bug if checkpoint not turn on,the offset will never got commit, when we restart the job it will consumer from earliest offset again
can i fix it like this ? by commit it peroid
At ReaderThread run() method
After emitRecord(message) is call
// auto commit if checkpoint is not enable
if (!isCheckpointingEnabled && (SystemClock.now() - ackPeroid > lastAckTime)) {
offset.put(topicRange, message.getMessageId());
metadataReader.commitCursorToOffset(offset);
lastAckTime = SystemClock.now();
}
The text was updated successfully, but these errors were encountered:
Describe the bug
if checkpoint not turn on,the offset will never got commit, when we restart the job it will consumer from earliest offset again
can i fix it like this ? by commit it peroid
At ReaderThread run() method
After emitRecord(message) is call
// auto commit if checkpoint is not enable
if (!isCheckpointingEnabled && (SystemClock.now() - ackPeroid > lastAckTime)) {
offset.put(topicRange, message.getMessageId());
metadataReader.commitCursorToOffset(offset);
lastAckTime = SystemClock.now();
}
The text was updated successfully, but these errors were encountered: