Record Class ConfiguredConsumerApp<T extends ConsumerApp>

java.lang.Object
java.lang.Record
com.bakdata.kafka.consumer.ConfiguredConsumerApp<T>
Type Parameters:
T - type of ConsumerApp
All Implemented Interfaces:
ConfiguredApp<ExecutableConsumerApp<T>>, AutoCloseable

public record ConfiguredConsumerApp<T extends ConsumerApp>(T extends ConsumerApp app, @NonNull ConsumerAppConfiguration configuration) extends Record implements ConfiguredApp<ExecutableConsumerApp<T>>
A ConsumerApp with a corresponding ConsumerAppConfiguration
  • Constructor Details

    • ConfiguredConsumerApp

      public ConfiguredConsumerApp(@NonNull T app, @NonNull @NonNull ConsumerAppConfiguration configuration)
      Creates an instance of a ConfiguredConsumerApp record class.
      Parameters:
      app - the value for the app record component
      configuration - the value for the configuration record component
  • Method Details