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:
KsqlContext
utility is requested for a KsqlContextRestServiceContextFactory
is requested to create a ServiceContextStandaloneExecutorFactory
utility is requested for a StandaloneExecutor