Thank you for your message ,Matthias J.

I understand the concept of server and cluster, but we need to backup the 
entire kafka service (topic, configurations in cloudera)

I have read 3 options
1.Kafka Backup
2.Snapshots of the file system
3.Mirror Maker2
but there is not much information.

________________________________
De: Matthias J. Sax <[email protected]>
Enviado: domingo, 22 de noviembre de 2020 5:12 p. m.
Para: [email protected] <[email protected]>
Asunto: Re: Global State Restore Listener

Not sure why you need to put a copy of the data into a cache to begin
with? The global store can actually be used like a cache directly.

But yes, you can set a restore listener via
`KafkaStreams#setGlobalStateRestoreListener`


-Matthias

On 11/17/20 7:40 PM, Navneeth Krishnan wrote:
> Hi All,
>
> I have a global state and the same in a local cache. Whenever there is an
> update to state I'm updating the local cache as well so that they are
> consistent. But when the state gets restored the cache is empty. Is there a
> way to attach a callback function or some way to get the state data during
> restore and update the cache. Thanks for your help.
>
> Regards,
> Navneeth
>

Reply via email to