1Cook the rice with 1.2 times its volume of water in a covered pot: bring to a boil, simmer on low for 15 minutes, then rest it off the heat for 10 minutes.
2Stir the vinegar and sugar into the warm rice and leave it to cool for 15 minutes.
3Mash the drained sardines in a bowl with a fork, then mix in the finely chopped onion, the juice of the lemon and the black pepper if using.
4Fold the sardine mixture into the cooled rice until evenly combined.
5Shape the mixture into 9 balls about 5 cm wide, pressing firmly so they hold together.
6Heat the oil in a frying pan on medium heat and fry the balls for 3 to 4 minutes per side until golden and hot all the way through.
7Serve warm with thin cucumber slices on the side if using.