confluentinc / confluentinc/confluent-kafka-javascript
No type available for cooperative-sticky re-balance
- Dominant language
- TypeScript
- Stars
- 304
- Forks
- 45
- Avg merge
- 11h 47m
- Merged PRs (30d)
- 5
Description
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.
Contributor guide
Research direction
Start by locating the KafkaConsumer type/interface referenced in the issue and inspect how its public methods are declared. Confirm the cooperative-sticky requirements, then expose incrementalAssign and incrementalUnassign so users can implement cooperative rebalancing through the provided API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100