Put the figs in a medium saucepan with a lid. Add lemon juice and zest, water, brown sugar, vanilla extract, cinnamon stick and star anise. Give it a gentle mix.
2 tablespoon brown sugar, ½ teaspoon vanilla extract (optional), 1 whole cinnamon stick, 1 star anise, 1-2 tablespoon lemon juice (or to taste), 1-2 tablespoon water (optional), 500 g fresh figs