-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: unexpected end of ldes behavior #687
Conversation
public boolean hasProcessedAllData() { | ||
final double dataIn = Metrics.counter(LDIO_DATA_IN, PIPELINE_NAME, pipelineName, LDIO_COMPONENT_NAME, componentName).count(); | ||
final double dataOut = Metrics.counter(LDIO_DATA_OUT, PIPELINE_NAME, pipelineName).count(); | ||
log.atInfo().log("Received data: {} - Sent data: {}", dataIn, dataOut); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now this i really don't like :p this will flood the logs like hell
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah oops, was something during development and I forgot to delete it or set it at debug level 🙈
@@ -104,7 +108,17 @@ protected void pause() { | |||
} | |||
|
|||
private void shutdownPipeline() { | |||
log.info("SHUTTING DOWN pipeline {} because end of LDES has been reached", pipelineName); | |||
applicationEventPublisher.publishEvent(new PipelineShutdownEvent(pipelineName)); | |||
Thread.ofVirtual().name("ldio-ldes-client-shutdown").start(() -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
magic string
Quality Gate passedIssues Measures |
No description provided.