mirror of https://github.com/apache/kafka.git
We encountered unchecked or unsafe operations in `GroupMetadataManagerTest.java`, `KTableImplTest.java`, and `ConfigCommandIntegrationTest.java`. * Rewrite getArgument of invocation in InvocationOnMock API because the implementation of InvocationOnMock discards type anyway in in `GroupMetadataManagerTest.java`. * Remove unchecked annotations for using mock API without variable assignment in `KTableImplTest.java`. <img width="1422" alt="Screenshot 2025-03-02 at 8 50 55 AM" src="https://github.com/user-attachments/assets/10ff1799-ebaa-499c-9acd-ca3b30484e6d" /> * Follow-up: https://github.com/mockito/mockito/issues/1609 Update on March 2. * Fix unchecked cast for KTableImpl in `KTableImplTest.java`. <img width="1259" alt="Screenshot 2025-03-02 at 5 17 47 PM" src="https://github.com/user-attachments/assets/a5ffa3d7-4897-43ee-9b5f-26337e2560c5" /> Update on March 10. * Use anyMap instead any for unchecked map type issues. <img width="1691" alt="Screenshot 2025-03-10 at 9 36 38 AM" src="https://github.com/user-attachments/assets/9aabc595-e7ba-4e04-81f6-f238d42af5a6" /> Pass all testing. <img width="946" alt="Screenshot 2025-03-10 at 10 10 56 AM" src="https://github.com/user-attachments/assets/793f67ea-09dc-44af-9d6c-de15531e9e72" /> Reviewers: TengYao Chi <kitingiao@gmail.com>, Ken Huang <s7133700@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com> |
||
---|---|---|
.. | ||
group-coordinator-api/src/main/java/org/apache/kafka/coordinator/group/api/assignor | ||
src | ||
.gitignore |