ijuma opened a new pull request #11374:
URL: https://github.com/apache/kafka/pull/11374


   1. It should not require a TopicPartition during construction and normal
   usage.
   2. Simplify `equals` since `topicId` and `topicPartition` are never
   null.
   3. Inline `Objects.hash` to avoid array allocation.
   4. Make `toString` more concise using a similar approach as
   `TopicPartition` since this `TopicIdPartition` will replace
   `TopicPartition` in many places in the future.
   5. Add unit tests for `TopicIdPartition`, it seems like we had none.
   6. Minor clean-up in calling/called classes.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to