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

   ## Description
   
   When catching `InterruptedException | ExecutionException` in the
   KafkaFuture.allOf() path, these exceptions were wrapped in a bare
   `RuntimeException`, losing the cause chain and exception type.
   
   This PR replaces `RuntimeException(e)` with `KafkaException(e)` in 12
   admin result classes for consistency with `DescribeProducersResult`
   which already uses `KafkaException`.
   
   ### Files changed (12)
   - DescribeClassicGroupsResult.java
   - DescribeConfigsResult.java
   - DescribeConsumerGroupsResult.java
   - DescribeLogDirsResult.java
   - DescribeReplicaLogDirsResult.java
   - DescribeShareGroupsResult.java
   - DescribeStreamsGroupsResult.java
   - DescribeTopicsResult.java
   - DescribeTransactionsResult.java
   - ListConsumerGroupOffsetsResult.java
   - ListOffsetsResult.java
   - ListShareGroupOffsetsResult.java
   
   ### Validation
   - Compiles cleanly
   - All 13 related unit tests pass
   - Spotless, checkstyle, SpotBugs pass
   
   ### Diff
   12 files changed, 24 insertions(+), 12 deletions(-)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to