When using partition.assignment.strategy=cooperative-sticky, the KafkaConsumer type does not expose the following methods:
incrementalAssign
incrementalUnassign
These methods are required for cooperative rebalancing but are currently missing from the KafkaConsumer type/interface.
As a result, it is not possible to properly implement cooperative-sticky partition assignment using the provided KafkaConsumer API.