kumarpritam863 commented on PR #14630:
URL: https://github.com/apache/kafka/pull/14630#issuecomment-1786695274

   
[https://github.com/apache/kafka/blob/9dbee599f13997effd8f7e278fd7256b850c8813/clients/src/main/java/org/apache/kafka/clients/consumer/MockConsumer.java](url)
 Implements 
[clients/src/main/java/org/apache/kafka/clients/consumer/Consumer.java](url) 
but worker 
[connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerSinkTask.java](url)
 expects a 
[clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java](url).
 The only way to use "**MockConsumer**" would be to create 
"**MockWorkerSinkTask**" which is not a small tweak and would be a big change 
to test this small code change.
   Please let me know your thoughts on this and if I mis-understood something 
or if I am going down a wrong lane.
   Thanks
   Pritam


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to