You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "kumarpritam863 (via GitHub)" <gi...@apache.org> on 2023/10/31 08:02:23 UTC

Re: [PR] Kafka-15680 :: Calling UpdatePartitionCount method from "onPartitionsAssigned()" to handle the partition addition and revocation simultaneoulsy. [kafka]

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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org