gongxuanzhang opened a new pull request, #19036:
URL: https://github.com/apache/kafka/pull/19036

   The purpose of this PR is to remove the `@InterfaceStability.Evolving` from 
classes that were created over a year ago.
   In order to automate this process, I wrote a script.
   
   ``` shell
    git grep -n "@InterfaceStability.Evolving" | cut -d: -f1,2 | while IFS=: 
read -r file line; do
       commit_hash=$(git blame -L $line,$line -- "$file" | awk '{print $1}')
       commit_time=$(git show -s --format=%ci $commit_hash)
       echo "$file,$line,$commit_time,$commit_hash "
   done > output.txt
   ```
   Then i analysis output.txt.
   There are a total of 167 `@InterfaceStability.Evolving` annotations.
   Out of these, 145 annotations are over a year old, with the oldest one being 
almost ten years old....
   There are 22 annotations that have not been removed, and I have compiled 
their information into a table.
   
   
   | Class Name           | Commit ID        | Days Since Commit |
   |----------------------|------------------|-------------------|
   | AlterShareGroupOffsetsOptions        | 6a6b80215d8        | 11             
  |
   | AlterShareGroupOffsetsResult        | 6a6b80215d8        | 11              
 |
   | DeleteGroupsResult        | 3fc103b48b6        | 4               |
   | DeleteShareGroupsOptions        | 3fc103b48b6        | 4               |
   | DescribeClassicGroupsOptions        | 8cbd2edfe78        | 112             
  |
   | DescribeClassicGroupsResult        | 8cbd2edfe78        | 112              
 |
   | DescribeShareGroupsOptions        | b9099301fbd        | 202               
|
   | DescribeShareGroupsResult        | b9099301fbd        | 202               |
   | GroupListing        | 32c887b05e0        | 98               |
   | ListGroupsOptions        | 3d9f88daf3d        | 116               |
   | ListGroupsResult        | 3d9f88daf3d        | 116               |
   | ListShareGroupOffsetsOptions        | bcbc72e29ba        | 37              
 |
   | ListShareGroupOffsetsResult        | bcbc72e29ba        | 37               
|
   | ListShareGroupOffsetsSpec        | bcbc72e29ba        | 37               |
   | ShareGroupDescription        | b9099301fbd        | 202               |
   | ShareMemberAssignment        | e7bbcdb2514        | 89               |
   | ShareMemberDescription        | e7bbcdb2514        | 89               |
   | AcknowledgeType        | c3a1bef4296        | 267               |
   | AcknowledgementCommitCallback        | c3a1bef4296        | 267            
   |
   | KafkaShareConsumer        | c3a1bef4296        | 267               |
   | ShareConsumer        | c3a1bef4296        | 267               |
   | GroupState        | 32c887b05e0        | 98               |
   


-- 
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