Skip to content
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

Added keepalive messages between feeders and consumers #1392

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hbs
Copy link
Collaborator

@hbs hbs commented Jan 24, 2025

No description provided.

@hbs hbs requested review from stggn and pi-r-p January 24, 2025 06:45
Copy link
Contributor

@pi-r-p pi-r-p left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot really test it.

Comment on lines +132 to +135
static {
KEEPALIVE_DELAY = Long.parseLong(WarpConfig.getProperty(FileBasedDatalogManager.CONFIG_DATALOG_CONSUMER_KEEPALIVE, TCPDatalogFeederWorker.DEFAULT_KEEPALIVE));
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't this class be instantiated before the configuration is set ?
Remember such a problem in the past...

@@ -480,6 +515,7 @@ public void run() {
DatalogHelper.writeLong(out, bytes.length, 4);
out.write(bytes);
out.flush();
lastMessage = System.currentTimeMillis();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one can be removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants