Skip to content

Stream Subscriber Plugin Improve Session Control Flow and Exception Handling #1673

@ata-nas

Description

@ata-nas

Story Form

As a Block Node Engineer
I want to have a clean, easy to maintain and correct subscriber plugin
So that it will run properly

Technical Notes

DEPENDS ON: #1556

  • the session is a callable and should generally not catch any exceptions
  • this gives the opportunity of the caller to handle an ExecutionException and take proper action, possibly retrying by issuing another session, or closing the session
  • throwing exceptions should not be used as control flow inside the session

Metadata

Metadata

Assignees

No one assigned

    Labels

    Block NodeIssues/PR related to the Block Node.ImprovementCode changes driven by non business requirementsSubscriber PluginIssue related to Subscriber Plugin

    Type

    Projects

    Status

    🧊 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions