Class TestEnvironment.Builder

java.lang.Object
co.decodable.sdk.pipeline.testing.TestEnvironment.Builder
Enclosing class:
TestEnvironment

public static class TestEnvironment.Builder extends Object
A builder for creating new TestEnvironment instances.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • withBootstrapServers

      public TestEnvironment.Builder withBootstrapServers(String bootstrapServers)
      Specifies the bootstrap server(s) to be used.
    • withStreams

      public TestEnvironment.Builder withStreams(String firstStream, String... furtherStreams)
      Specifies the names of the stream(s) which should be available via this test environment. At least one stream name must be given.
    • build

      public TestEnvironment build()
      Returns a new TestEnvironment for the given configuration.