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:
DefaultKafkaClientSupplier- KsqlSchemaRegistryClientFactory
create is used when:
KsqlContextutility is requested for a KsqlContextRestServiceContextFactoryis requested to create a ServiceContextStandaloneExecutorFactoryutility is requested for a StandaloneExecutor