chiradip opened a new issue, #2208:
URL: https://github.com/apache/iggy/issues/2208
**Title:** `[Java SDK] Implement automatic consumer group rebalancing`
**Description:**
Current SDK requires manual consumer group management without automatic
rebalancing.
**Proposed Solution:**
```java
// Automatic rebalancing
ConsumerGroup group = client.joinConsumerGroup(
"my-group",
ConsumerGroupConfig.builder()
.rebalanceStrategy(RebalanceStrategy.RANGE)
.sessionTimeout(Duration.ofSeconds(30))
.heartbeatInterval(Duration.ofSeconds(3))
.onPartitionsAssigned(partitions -> {...})
.onPartitionsRevoked(partitions -> {...})
.build()
);
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]