KAFKA-17050: Revert `group.version`
This patch partially reverts group.version in trunk. I kept the GroupVersion class but removed it from Features so it is not advertised. I also kept all the changes in the test framework. I removed the logic to require group.version=1 to enable the new consumer rebalance protocol. The new protocol is enabled based on the static configuration.
For the context, I prefer to revert it in trunk now so we don't forget to revert it in the 3.9 release. I will bring it back for the 4.0 release.
Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
@chia7712 Could you please take a second look?
@dajac could you please fix the build error
@chia7712 Done. Sorry for that.
I guess testConsumerGroupDescribeIsInaccessibleWhenDisabledByGroupVersion needs to be reverted also.
https://github.com/apache/kafka/blob/trunk/core/src/test/scala/unit/kafka/server/ConsumerGroupDescribeRequestsTest.scala#L75
@chia7712 Right. I just removed it.
There are a few failed tests that I need to fix…