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

add tail function for debugging #131

Merged
merged 1 commit into from
Jan 25, 2018
Merged

add tail function for debugging #131

merged 1 commit into from
Jan 25, 2018

Conversation

evanmcc
Copy link
Contributor

@evanmcc evanmcc commented Jan 25, 2018

this allows a debugger to connect to a node and see what's being written to a topic. it's automatically limited in terms of how long it can run and how many records it can receive, and gets directly sent messages as late as possible to avoid blocking the write path if possible.

Since message sends are direct, backpressure is provided by limiting the printing pid to ~1MB of heap, and monitoring it from the active segment.

cc @varnerac

more #100

@evanmcc evanmcc merged commit 1d34464 into master Jan 25, 2018
@evanmcc evanmcc deleted the tail branch January 25, 2018 17:32
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