简体   繁体   English

我们可以在全局状态存储恢复期间调用处理器吗?

[英]can we invoke the processor during global state store restoration?

I read Kafka streams use cases for add global store this stackover flow discuss and come to know that global-state store skip processor during the restoration.我阅读了Kafka 流用例来添加全局存储这个 stackover 流讨论,并在恢复期间了解全局状态存储跳过处理器。

is there any way to force global state store not to skip processor.有没有办法强制全局状态存储不跳过处理器。

because input topic doesn't have any key inside the processor we are constructing the key and put in state store.因为输入主题在处理器内部没有任何键,我们正在构造键并放入状态存储。

i seen many solution to create a custom change log topic that will be use as a source topic for global state store.我看到了许多创建自定义更改日志主题的解决方案,该主题将用作全局状态存储的源主题。

but i want how i can force global state store to run processor during restoration with processor api.但我想如何在使用处理器 api 恢复期间强制全局状态存储运行处理器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM