Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlePreviewContext
interface PreviewContext {
	PreviewEmitter getEmitter   
	 // all records from the stage identified by identifier    
	<T> Iterator<T> getOutputRecords(String identifier);
   
	 // all metrics from the stage identified by identifier
	Collection<MetricTimeSeries> getMetrics(String identifier);
  
 	 // all logs from the stage identified by identifier
	String getLogs(String identifier);
}
Code Block
titlePreviewEmitter
interface PreviewEmitter {	
	void emit(T record);
	Iterator<T> getEmittedRecords();
}

 

Implementation:

 

SDK:

...

ServiceStandalone (Yes/No)Preview (Yes/No)
userInterfaceService
YesNo
trackerAppCreationService
YesNo
router
YesNo
streamService
YesYes
exploreExecutorService
YesNo
exploreClient
YesNo
metadataService
YesNo
serviceStore (set/get service instances)
YesNo
appFabricServer
YesNo
previewServer
NoYes
datasetService
YesYes
metricsQueryService
YesYesNo (Can call MetricStore query)
txService
YesYes
externalAuthenticationServer (if security enabled)
YesYes
logAppenderInitializer
YesYes
kafkaClient(if audit enabled)
YesNo
zkClient (if audit enabled)
YesNo
authorizerInstantiator (started by default)
YesYes?

...