public long isExpiredBy() {
        return Math.max(0, currentTimeMs - deadlineMs);
    }
Get the time in milliseconds that the timer has been expired. Like {@link #remainingMs()},
this depends on the current cached time in milliseconds, which is only updated through one
of the {@link #update()} methods or with {@link #sleep(long)}.
clients/src/main/java/org/apache/kafka/common/utils/Timer.java