Core and chop into bite-size chunks, with the skin on
Combine all the ingredients (including the vanilla seeds and pod if using) in a saucepan and cook over medium heat, stirring occasionally for about 15-20 minutes, stirring often until the pears are soft, but still retain their shape.
Remove the cinnamon stick, star anise (and vanilla pod) and set aside to cool. Serve slightly warm or cold.
Depending on how sweet your pears were, you may prefer a slightly sweeter compote; feel free to add in 1 or 2 teaspoons of honey or maple syrup.