Re: KafkaStreams - InteractiveQuery and num.standby.replicas

2021-03-09 Thread Igor Maznitsa
yes, exactly it is from spring cloud kafka streams binder, thank you! On 3/9/21 21:59, Matthias J. Sax wrote: Please keep the discussion on the mailing list. Thanks. There is no such thing as `InteractiveQueryService` in Kafka Streams. Seems it's a Spring thing? Not sure how Spring work. Maybe

Re: KafkaStreams - InteractiveQuery and num.standby.replicas

2021-03-09 Thread Matthias J. Sax
Please keep the discussion on the mailing list. Thanks. There is no such thing as `InteractiveQueryService` in Kafka Streams. Seems it's a Spring thing? Not sure how Spring work. Maybe somebody else can help out? -Matthias On 3/9/21 3:15 AM, Igor Maznitsa wrote: > thanks for advice! > > does s

Re: KafkaStreams - InteractiveQuery and num.standby.replicas

2021-03-09 Thread Igor Maznitsa
thanks for advice! does standby.replicas play role during search of HostInfo through InteractiveQueryService#getHostInfo ? will it return the local host info (instead of remote instance) if it contains local store replica for required key? On 3/9/21 12:49, Matthias J. Sax wrote: You can con

Re: KafkaStreams - InteractiveQuery and num.standby.replicas

2021-03-09 Thread Matthias J. Sax
You can control it: By default only active stores are queried. If you want to query standby stores, you can use `StoreQueryParameters#enableStaleStores()` -Matthias On 3/9/21 1:30 AM, Igor Maznitsa wrote: > Hello > > If I have started two KafkaStream application instances, and they have > para

KafkaStreams - InteractiveQuery and num.standby.replicas

2021-03-09 Thread Igor Maznitsa
Hello If I have started two KafkaStream application instances, and they have parameter 'num.standby.replicas=1'. It means that each instance has shadow copy of local state stores, so the question: How InteractionQuery behaves in activated stand by replica case? does it aware about replicated