KSQL is lagging

2022-08-29 Thread sunil chaudhari
Hi, I have one topic with 300 partitions. I have 4 KSQL instances with 8 threads each on 8 core machine. Topic has lag of around million records. Can I increase number of threads equal to number of partitions so hat lag will be reduced? Or I have to reduce partitions to match total number of thread

Re: Understanding Kafka Streams max.task.idle.ms

2022-08-29 Thread Alexandre Brasil
Hi Derek, What max.task.idle.ms does is set a wait time for the stream application to wait for new messages when one or more input topics have no messages after a poll. In your case, the application polls for the first time and finds a message on topic A ("input") and no messages on topic B ("tabl

Re: Understanding Kafka Streams max.task.idle.ms

2022-08-29 Thread Leif Wickland
unsubscribe On Mon, Aug 29, 2022 at 8:56 AM Derek Mok wrote: > Hi, I'd like some help with understanding how exactly max.task.idle.ms > works. I have a topology that consumes from an input topic A, and a join > operator that enriches the topic A messages with a KTable from a compacted > topic B.

Understanding Kafka Streams max.task.idle.ms

2022-08-29 Thread Derek Mok
Hi, I'd like some help with understanding how exactly max.task.idle.ms works. I have a topology that consumes from an input topic A, and a join operator that enriches the topic A messages with a KTable from a compacted topic B. The enriched messages are output to topic C. If I set max.task.idle.ms