Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Add service to enable RPC style semantics over an event exchange #57

@daviddawson

Description

@daviddawson

Rpc using events is implemented by emitting an event, then waiting until a response event is generated.

This is suitable for when the request/ response actually forms useful data/ state in the system rather than just being simple interaction.

This could be implemented in newton as a specialisation of BaseSubscriber. By listening to the streams that the events will come back on, and adding/ removing listener predicates as needed before emitting the request event, effective RPC can be overlaid onto stream processing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions