brandboat opened a new pull request, #17926:
URL: https://github.com/apache/kafka/pull/17926
related to KAFKA-18075
In ClusterInstance.java
[0]
```java
default <K, V> Consumer<K, V> consumer() {
return new KafkaConsumer<>(Map.of());
}
```
[1]
```java
default <K, V> Producer<K, V> producer() {
return new KafkaProducer<>(Map.of());
}
```
should return `consumer(Map.of())` and `producer(Map.of())` in the same
class instead of return empty properties.
[0]
https://github.com/apache/kafka/blob/trunk/test-common/test-common-api/src/main/java/org/apache/kafka/common/test/api/ClusterInstance.java#L168
[1]
https://github.com/apache/kafka/blob/trunk/test-common/test-common-api/src/main/java/org/apache/kafka/common/test/api/ClusterInstance.java#L182
### 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]