I'm not sure if the policy should be customizable, but I agree that DiscardPolicy is not ok with a limited queue size. Let's do it like you proposed, with coreSize = maxSize for now.