(docs) Add JavaDocs for org.apache.kafka.common.security.oauthbearer.secured#11811
(docs) Add JavaDocs for org.apache.kafka.common.security.oauthbearer.secured#11811junrao merged 3 commits intoapache:trunkfrom
Conversation
|
(Also, I'm not sure if we'd want a similar PR to the 3.1 branch) |
junrao
left a comment
There was a problem hiding this comment.
@justinrlee : Thanks for the PR. LGTM. Do you know why there are many test failures for java 17?
|
I'm really not sure, have never done this before. When I do the build locally, I get a bunch of what look like completely test failures. I'm not sure how my PR would cause those failures but I don't know enough to troubleshoot, tbh. |
|
retest this please |
|
test this please |
|
ok to test |
|
retest this please |
|
@justinrlee : It doesn't seem other PRs have similar problems. Could you trigger another build by adding some minor changes to the PR (e.g. white space) to see if they are transient? |
|
Just submitted two commits (add space, and then undo). Will monitor this. |
|
The latest build results look good. The most failed tests also failed in The most frequent flaky tests are under investigation and working on the fix:
The remaining are some flaky tests happened not so frequently. PS. I've noticed the many flaky tests issue, and are working with the community to make it better. At least, the frequent failed tests should be fixed soon! |
junrao
left a comment
There was a problem hiding this comment.
@justinrlee : Thanks for following up on this. LGTM
|
@justinrlee : It would be useful to submit a similar PR to 3.1 too. Thanks. |
|
Just to double check, @kirktrue this are intended to be public API? |
|
Yes. Users of the OAuth code will not necessarily code against the classes in this package, but they will need to specify the class names from this package in their config. So it's helpful that the documentation be included for reference for config options and a description of the code behavior. |
|
If that's the case, then we should only have that one public class in this package. The rest should either be non public or in other packages. Is that how it is? |
|
No, all of the classes (public and non-public) are in the package together. Separating them out should be trivial from a code standpoint but please advise on what is needed to change that the proper way from a process standpoint (KIP, Jira, etc.). |
|
@kirktrue : We could just make the changes to expose the proper public API and send an update to the original KIP-768 voting thread so that people are aware of the minor public changes if any. |
|
I have filed KAFKA-13725 to address the package layout bug. |
Single-line change to
build.gradleto render javadocs for neworg.apache.kafka.common.security.oauthbearer.securedpackage (part of KIP-768)cc @junrao