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

EventStore streaming improvements #205

Merged
merged 1 commit into from
Dec 28, 2023

Commits on Dec 28, 2023

  1. EventStore streaming improvements

    * Dispatch events via PSR-14 event dispatcher so that
    clients can hook into the lifecycle.
    * Move debug logs to an event listener instead of using
    a decorator.
    * Add a listener that resets services to avoid possible
    memory leaks.
    * Encapsulate EventStore dispatcher code in a single class
    to improve readability.
    * Improve UI by adding boxes and colors.
    * Use a comma-separated list to specify which subscribers
    to use.
    * Rename argument -w to -p to specify how many events are
    processed in parallel. Default is now set to 1.
    
    Related adjustments for ForkPool:
    * Use stream_select before reading from a channel to get
    immediate signal handling.
    * Make each fork a session leader so that only the main process
    receives SIGINT when the command is interrupted in the terminal.
    marein committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    79e8937 View commit details
    Browse the repository at this point in the history