He-Pin opened a new pull request, #576: URL: https://github.com/apache/pekko-connectors-kafka/pull/576
## Summary - Replace manual `Optional`-to-`Stream` conversion helper with the built-in `Optional.stream()` method (Java 9+) - Inline `option.stream()` at all 3 call sites in `KafkaContainerCluster.java`, removing the `optionalStream()` helper method ## Changes - `testkit/src/main/java/org/apache/pekko/kafka/testkit/internal/KafkaContainerCluster.java` ## Notes - The old helper method was explicitly a Java 8 compatibility shim; no longer needed with Java 17 baseline - Eliminates 9 lines of boilerplate -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
