tasks.max.enforce — Kafka Connect Source Configuration
(Deprecated) Whether to enforce that the tasks.max property is respected by the connector. By default, connectors that generate too many tasks will fail, and existing sets of tasks that exceed the tasks.max property will also be failed
Description
(Deprecated) Whether to enforce that the tasks.max property is respected by the connector. By default, connectors that generate too many tasks will fail, and existing sets of tasks that exceed the tasks.max property will also be failed. If this property is set to false, then connectors will be allowed to generate more than the maximum number of tasks, and existing sets of tasks that exceed the tasks.max property will be allowed to run. This property is deprecated and will be removed in an upcoming major release.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| Connect Source | 3.8 | true |
| Connect Source | 3.9 | true |
| Connect Source | 4.0 | true |
| Connect Source | 4.1 | true |
| Connect Source | 4.2 | true |
| Connect Source | 4.3 | true |
| Connect Source | 4.4 | true |
| Connect Sink | 3.8 | true |
| Connect Sink | 3.9 | true |
| Connect Sink | 4.0 | true |
| Connect Sink | 4.1 | true |
| Connect Sink | 4.2 | true |
| Connect Sink | 4.3 | true |
| Connect Sink | 4.4 | true |