Skip to content

Commit

Permalink
CmdConsume print publishTime And eventTime info.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenhongSZ committed Mar 20, 2024
1 parent 2803ba2 commit 22807e1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ protected String interpretMessage(Message<?> message, boolean displayHex) throws
data = value.toString();
}

sb.append("publishTime:[").append(message.getPublishTime()).append("], ");
sb.append("eventTime:[").append(message.getEventTime()).append("], ");

String key = null;
if (message.hasKey()) {
key = message.getKey();
Expand Down

0 comments on commit 22807e1

Please sign in to comment.