private RedisMessagePayload getRedisMessagePayload(final RedisMessagePayload.RedisMessageTypes type) {
        return RedisMessagePayload.builder()
            .messageType(type)
            .identifier(publisherIdentifier)
            .build();
    }
This is {@link DefaultRedisTicketRegistryMessagePublisher}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-redis-ticket-registry/src/main/java/org/apereo/cas/ticket/registry/pub/DefaultRedisTicketRegistryMessagePublisher.java