Black knot on plum trees.
Certified GKH Gardening Expert
This is likely a plum canker. Most years it will not affect much. Some years, when it is vigilant, it will wreak havoc on the tree. There is no cure for this, but you can treat it every year in spring with dolomitic lime and wettable sulfur.