public final class LocalStandaloneKafkaResourceFactory extends Object implements KafkaResourceFactory
Constructor and Description |
---|
LocalStandaloneKafkaResourceFactory() |
Modifier and Type | Method and Description |
---|---|
Optional<KafkaResource> |
create(String kafkaVersion)
Returns a
KafkaResource instance. |
public Optional<KafkaResource> create(String kafkaVersion)
KafkaResourceFactory
KafkaResource
instance. If the instance could not be instantiated (for example, because a
mandatory parameter was missing), then an empty Optional
should be returned.create
in interface KafkaResourceFactory
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.