I am using kafka 0.8 and spring-integration-kafka 1.2.0.RELEASE
I have 2 topics named primary and secondary. I need to consume from primary topic and after some processing need to produce to secondary topic for next set of processing to be done later.
While consumption from primary topic works fine, producing to secondary topic starts failing after few minutes. Problem starts with send request to kafka timeout after 500 ms which I have set. Ending with thread pool being exhausted.
If I am trying to produce events to secondary topic to another kafka cluster, it works without any problem.
I have 4 consumers running with both topics having 200 partitions each.
I am little new to kafka, Please excuse for any lack of knowledge. Please comment for any missing information I should be providing.
Finally found the problem after trying out all the configurations possible.
By mistake forgot to remove below dependency which was earlier added for consumer integration.
It was causing some conflict while producing which was adding threads in wait state. If anybody can guide on what conflict it can add will be a good learning.
Thanks.