When defining a topology in kafka streams, a global state store can be added. It will need a source topic as well as a ProcessorSupplier.
The processor receive
At present there doesn't seem to be a way to listen to changes on a KGlobalTable.
You can achieve a similar result with a global store and custom processor.
I stumbled across this here How to be notified about updates to state store of GlobalKTable?
I'm not arguing that this is a good use case, but as a workaround it can be helpful.