Skip to content

Commit

Permalink
[BUG][Doris] Add a jobId to the doris label to distinguish between ta…
Browse files Browse the repository at this point in the history
…sks (#4853)

Co-authored-by: zhouyao <yao.zhou@marketingforce.com>
  • Loading branch information
Carl-Zhou-CN and zhouyao authored May 30, 2023
1 parent acabe80 commit 20ee2fa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public byte[] serialize(DorisSinkState dorisSinkState) throws IOException {
try (final ByteArrayOutputStream baos = new ByteArrayOutputStream();
final DataOutputStream out = new DataOutputStream(baos)) {
out.writeUTF(dorisSinkState.getLabelPrefix());
out.writeLong(dorisSinkState.getCheckpointId());
out.flush();
return baos.toByteArray();
}
Expand Down

0 comments on commit 20ee2fa

Please sign in to comment.