ProcessingLogContext¶
ProcessingLogContext
is an abstraction of processing log contexts.
Contract¶
getConfig¶
ProcessingLogConfig getConfig()
getLoggerFactory¶
ProcessingLoggerFactory getLoggerFactory()
Implementations¶
NoopProcessingLogContext
- ProcessingLogContextImpl
Creating ProcessingLogContext¶
ProcessingLogContext create() // (1)!
ProcessingLogContext create(
ProcessingLogConfig config,
Metrics metrics,
Map<String, String> metricsTags)
- Used in sandboxed EngineContext
create
creates a ProcessingLogContextImpl.
create
is used when:
EngineContext
is requested to create a sandboxed EngineContextKsqlRestApplication
is requested to build a KsqlRestApplication (and KsqlEngine and KsqlRestApplication)StandaloneExecutorFactory
is requested to create a StandaloneExecutor (and KsqlEngine)