public static String toLogDateTimeFormat(long timestamp) {
        final DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss,SSS XXX");
        return Instant.ofEpochMilli(timestamp).atZone(ZoneId.systemDefault()).format(dateTimeFormatter);
    }
Convert time instant to readable string for logging
@param timestamp the timestamp of the instant to be converted.

@return string value of a given timestamp in the format "yyyy-MM-dd HH:mm:ss,SSS"
clients/src/main/java/org/apache/kafka/common/utils/Utils.java