*Correction *- After removing commit my RPM increased to *40k/min* from *2k/min*.
Thanks On Wed, Apr 18, 2018 at 11:22 PM, Guozhang Wang <wangg...@gmail.com> wrote: > Hello Shivam, > > I think your two questions can be answer as one :) > > Have just created this FAQ entry for you: > https://cwiki.apache.org/confluence/display/KAFKA/FAQ# > FAQ-WhenIcommitmyprocessstate,whatdoestheStreamslibrarydoand > howitaffectsmyapplication'sperformance > ? > > Guozhang > > > > On Tue, Apr 17, 2018 at 8:11 AM, Shivam Sharma <28shivamsha...@gmail.com> > wrote: > > > Hi All, > > > > I am using processor API in Kafka Streams and I am using context.commit > in > > process method of Processor Interface. When I am using commit then my > > application throughput is about 2k/min and when I removes commit then it > > increases to 4k/min. > > > > Two questions I have: > > 1. I need to know how commit is reducing throughput? > > > > 2. What exactly context.commit is doing? > > > > Thanks > > > > -- > > Shivam Sharma > > Data Engineer @ Goibibo > > Indian Institute Of Information Technology, Design and Manufacturing > > Jabalpur > > Mobile No- (+91) 8882114744 > > Email:- 28shivamsha...@gmail.com > > LinkedIn:-*https://www.linkedin.com/in/28shivamsharma > > <https://www.linkedin.com/in/28shivamsharma>* > > > > > > -- > -- Guozhang > -- Shivam Sharma Data Engineer @ Goibibo Indian Institute Of Information Technology, Design and Manufacturing Jabalpur Mobile No- (+91) 8882114744 Email:- 28shivamsha...@gmail.com LinkedIn:-*https://www.linkedin.com/in/28shivamsharma <https://www.linkedin.com/in/28shivamsharma>*