@joan38 By-name parameters are evaluated every time they are dereferenced. But we did actually previously discuss a change like this, and decided against it.
The main reason is that this would be ok: ``` myThing.process(new Processor()...) ``` but this is a bug: ``` val processor = new Processor()... myThing.process(processor) ``` which is just waaay to subtle. [ Full content available at: https://github.com/apache/kafka/pull/5571 ] This message was relayed via gitbox.apache.org for [email protected]
