@FunctionalInterface public interface KafkaResourceFactory
KafkaResource
implementations.Modifier and Type | Method and Description |
---|---|
KafkaResource |
create(String kafkaVersion)
Returns a
KafkaResource instance. |
KafkaResource create(String kafkaVersion) throws Exception
KafkaResource
instance. If the instance could not be instantiated (for
example, because a mandatory parameter was missing), then an empty Optional
should be
returned.Exception
- if the instance could not be instantiatedCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.