for (ExternalId externalId : security.getExternalIdBundle()) {
String redisKey = toRedisKey(externalId);
jedis.sadd(redisKey, uniqueId.toString());
if (jedis.scard(redisKey) > 1) {
s_logger.warn("Multiple securities with same ExternalId {}. Probable misuse.", externalId);
}
}
byte[] redisKey = toRedisKey(uniqueId);