Kafka streams use cases for add global store

前端 未结 2 405
天命终不由人
天命终不由人 2020-12-18 21:55

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

2条回答
  •  清酒与你
    2020-12-18 22:49

    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.

提交回复
热议问题