Skip to content

Implement client event bus to expose the internal events  #316

@Gsantomaggio

Description

@Gsantomaggio

Is your feature request related to a problem? Please describe.

The client does a lot of automatic operation, and the user is not aware of what is happening.
We need to give more feedback to the user.

Describe the solution you'd like

The idea is to Implement an event bus to expose the internal events.
The client makes some decisions based on what we think is the best, for example in the Producer and Consumer classes, the auto-reconnect is more or less automatic, and the user is not aware of what is happening, see #314.

The client decides what to do in case of an error for example the CRC fail on some error parse.

We could expose events and the user can react to these events, ex stop the consumer af 3 reconnections or stuff like that.

cc @ricardSiliuk @ricsiLT @jonnepmyra @TroelsL

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions