Class TestEnvironment.Builder
java.lang.Object
co.decodable.sdk.pipeline.testing.TestEnvironment.Builder
- Enclosing class:
TestEnvironment
A builder for creating new
TestEnvironment
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a newTestEnvironment
for the given configuration.withBootstrapServers
(String bootstrapServers) Specifies the bootstrap server(s) to be used.withStreams
(String firstStream, String... furtherStreams) Specifies the names of the stream(s) which should be available via this test environment.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withBootstrapServers
Specifies the bootstrap server(s) to be used. -
withStreams
Specifies the names of the stream(s) which should be available via this test environment. At least one stream name must be given. -
build
Returns a newTestEnvironment
for the given configuration.
-