kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Navneeth Krishnan <reachnavnee...@gmail.com>
Subject Re: Passing states stores around
Date Mon, 09 Mar 2020 17:48:41 GMT
Hi All,

Any suggestions?


On Sat, Mar 7, 2020 at 10:13 AM Navneeth Krishnan <reachnavneeth2@gmail.com>

> Hi All,
> Is there a recommended way of passing state stores around across different
> classes? The problem is state store can be fetched only if you have access
> to the context and in most of the scenarios look up to state store
> somewhere inside another class. I can think of two options. Either add
> state store to thread local and access it or split the logic into multiple
> functions to fit everything inside an operator. But I wanted to check if
> there is any better or recommended approach.
> Thanks

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message