Skip to content

Commit

Permalink
[INLONG-9993][Audit] The data protocol adds an audit_version attribute (
Browse files Browse the repository at this point in the history
#9994)

* The data protocol adds an audit_version attribute

* The data protocol adds an audit_version attribute

* The data protocol adds an audit_version attribute
  • Loading branch information
doleyzi authored Apr 16, 2024
1 parent 967a21a commit d6c523c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ public class Constants {
public static final String DEFAULT_KAFKA_TOPIC_FORMAT = "%s.%s";
public static final String METRICS_AUDIT_PROXY_HOSTS_KEY = "metrics.audit.proxy.hosts";

// Default audit version is -1
public static final long DEFAULT_AUDIT_VERSION = -1;

}
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,8 @@ public interface AttributeConstants {
// the downstream by the Bus without modification for the downstream to
// calculate the end-to-end message delay; if this field does not exist in the request,
// it will be added by the Bus with the current time
public static final String MSG_RPT_TIME = "rtms";
String MSG_RPT_TIME = "rtms";

// Audit version is used for audit to reconciliation
String AUDIT_VERSION = "auditVersion";
}

0 comments on commit d6c523c

Please sign in to comment.