@Override
    public List<? extends Ticket> addTicket(final Stream<? extends Ticket> toSave) {
        return (List) casRedisTemplates.getTicketsRedisTemplate().executePipelined((RedisCallback) connection -> {
            toSave.parallel().forEach(this::addSingleTicket);
            return null;
        });
    }
Key-value ticket registry implementation that stores tickets in redis.

@author Misagh Moayyed
@author Jerome Leleu
@since 5.1.0
support/cas-server-support-redis-ticket-registry/src/main/java/org/apereo/cas/ticket/registry/RedisTicketRegistry.java