Skip to content

ServiceContextFactory

Creating ServiceContext

ServiceContext create(
  KsqlConfig ksqlConfig,
  Supplier<SimpleKsqlClient> ksqlClientSupplier)
ServiceContext create(
  KsqlConfig ksqlConfig,
  KafkaClientSupplier kafkaClientSupplier,
  Supplier<SchemaRegistryClient> srClientFactory,
  Supplier<ConnectClient> connectClientSupplier,
  Supplier<SimpleKsqlClient> ksqlClientSupplier)

create creates a DefaultServiceContext with the following:


create is used when: