How to decide session time out ms in Kafka low level processor API -


so suppose punctuate time x min/sec

{ props.put("group.max.session.timeout.ms", x*2); props.put("session.timeout.ms", x); props.put("request.timeout.ms", x*2); } 

is above correct way set session time out kafka streams low level processor api ?

  • group.max.session.timeout.ms broker setting (cf. http://kafka.apache.org/documentation/#brokerconfigs
  • for consumer setting within streams, it's recommended use prefix consumer.: props.put("consumer.session.timeout.ms", x)
  • you should set max.poll.interval.ms integer.max_value (streams change default value integer.max_value, too)

Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -