private Stream<String> getKeys(final String type, final String principal, final String timestamp) {
        val key = getKey(type, principal, timestamp);
        LOGGER.trace("Fetching records based on key [{}]", key);
        return template.scan(key, this.scanCount);
    }
This is {@link RedisCasEventRepository} that stores event data into a redis database.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-events-redis/src/main/java/org/apereo/cas/support/events/redis/RedisCasEventRepository.java