mirror of https://github.com/apache/kafka.git
- Currently, read and write share state requests were allowed on uninitialized share partitions (share partitions on which initializeState has NOT been called). This should not be the case. - This PR addresses the concern by adding error checks on read and write. Other requests are allowed (initialize, readSummary, alter). - Refactored `ShareCoordinatorShardTest` to reduce redundancy and added some new tests. - Some request/response classes have also been reformatted. Reviewers: Andrew Schofield <aschofield@confluent.io> |
||
---|---|---|
.. | ||
main | ||
test/java/org/apache/kafka/coordinator/share |