Member of the two-component regulatory system SpaK/SpaR involved in the regulation of the biosynthesis of lantibiotic subtilin. SpaK may function as a membrane-associated protein kinase that phosphorylates SpaR in response to environmental signals. ATP + protein L-histidine = ADP + protein N-phospho-L-histidine.