public static DelegationTokenData fromRecord(DelegationTokenRecord record) {
        List<KafkaPrincipal> renewers = new ArrayList<>();
        for (String renewerString : record.renewers()) {
            renewers.add(SecurityUtils.parseKafkaPrincipal(renewerString));
        }
        return new DelegationTokenData(TokenInformation.fromRecord(
            record.tokenId(),
            SecurityUtils.parseKafkaPrincipal(record.owner()),
            SecurityUtils.parseKafkaPrincipal(record.requester()),
            renewers,
            record.issueTimestamp(),
            record.maxTimestamp(),
            record.expirationTimestamp()));
    }
Represents the Delegation Tokens in the metadata image.

This class is thread-safe.
metadata/src/main/java/org/apache/kafka/metadata/DelegationTokenData.java