Fix an offset bug in LinedFileDataProviderBuilder

Description

LinedFileDataProviderBuilder will get one old message if data provider is restart and the file is not changed.

change long offset = oldSinceKey == null ? 0L : Long.parseLong(oldSinceKey);
to long offset = oldSinceKey == null ? 0L : Long.parseLong(oldSinceKey) + 1;

Environment

None

Status

Assignee

Yonghui Zhao

Reporter

Yonghui Zhao

Labels

None

Priority

Minor
Configure