Skip to content

Commit

Permalink
fix deserialized error
Browse files Browse the repository at this point in the history
  • Loading branch information
aloyszhang committed Jun 22, 2021
1 parent 0a67b45 commit 5c222bd
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -330,7 +330,10 @@ public String getReplicatedFrom() {

@Override
public long getPublishTime() {
return msgMetadata.getPublishTime();
if (msgMetadata.hasPublishTime()) {
return msgMetadata.getPublishTime();
}
return 0;
}

@Override
Expand Down

0 comments on commit 5c222bd

Please sign in to comment.