C0urante opened a new pull request, #14694:
URL: https://github.com/apache/kafka/pull/14694

   The discussion around 
[KIP-987](https://cwiki.apache.org/confluence/display/KAFKA/KIP-987%3A+Connect+Static+Assignments)
 has highlighted some strange behavior in the Connect runtime: if a connector's 
[taskConfigs 
method](https://kafka.apache.org/36/javadoc/org/apache/kafka/connect/connector/Connector.html#taskConfigs(int))
 returns more tasks than the value for its configuration's [tasks.max 
property](https://kafka.apache.org/documentation.html#sourceconnectorconfigs_tasks.max),
 nothing happens (i.e., every task the connector generated a config for is 
brought up).
   
   In [KAFKA-15575](https://issues.apache.org/jira/browse/KAFKA-15575), we 
discuss the possibility of taking action in this situation: failing the 
connector, only bringing up `tasks.max` tasks, and others. We may adopt one of 
these approaches in the future. For now, this warning message should at least 
get the ball rolling and decrease the likelihood of buggy connectors causing 
problems for Connect clusters that use static assignment (if/when that feature 
lands).
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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-unsubscr...@kafka.apache.org

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

Reply via email to