Peel and chop the shallots and ginger. Clean the peppers and also cut them into cubes. Halve the pomegranate and beat out the seeds with a spoon. Cut the carambola into slices. Heat the oil in a pot and fry the shallots and ginger. Add paprika and pomegranate seeds to the shallots and fry for about 5 minutes. Add vinegar, star anise, cinnamon sticks and brown sugar.
Reduce the relish for about 20 minutes until almost all the liquid has evaporated. Steam carambola slices for the last 5 minutes. Season to taste with salt and pepper. Fill the relish into clean glasses and close them. Filled up to the brim in glasses with twist-off lids it will last 3-4 weeks. Glasses sealed with cellophane should be used up after 1-2 weeks