rmatharu commented on a change in pull request #1021: Adding writing of
container.metadata file, and moving exception writing logic to
DiagnosticsManager
URL: https://github.com/apache/samza/pull/1021#discussion_r284382798
##########
File path:
samza-core/src/main/java/org/apache/samza/processor/StreamProcessor.java
##########
@@ -330,11 +336,20 @@ SamzaContainer getContainer() {
@VisibleForTesting
SamzaContainer createSamzaContainer(String processorId, JobModel jobModel) {
+
+ // Creating diagnostics manager and reporter, and wiring it respectively
+ Optional<Tuple2<DiagnosticsManager, MetricsSnapshotReporter>>
diagnosticsManagerReporterPair = DiagnosticsUtil.buildDiagnosticsManager(new
ApplicationConfig(config).getAppName(), new
ApplicationConfig(config).getAppId(), processorId, Optional.empty(), config);
Review comment:
I thought standalone would require appconfig, replaced with job-config
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services