Changed allowed size for routing key and added check for this