Skip to content

Conversation

@EasterTheBunny
Copy link
Contributor

@EasterTheBunny EasterTheBunny commented Mar 21, 2025

The default custom message utility uses a BaseMessage proto with the message data expected to be a string and labels added to the proto message.

Instead, a proto message itself can be sent where the message and schema details are packaged together by an interface. This promotes the design that any particular entity can be emitted given that it satisfies the interface.

As a temporary measure, the Emit interface accepts an any type to allow for existing string types or the ProtoMessage interface. This could be reworked using generics on the Labeler.

One more upcoming feature of beholder is the ability to have delivery guarantees as an option. This will require mechanisms for retry, possibly with persistence. The Labeler entity could be expanded for this use case.

Requires

Supports

The default custom message utility uses a `BaseMessage` proto with the message data expected to
be a string and labels added to the proto message.

Instead, a proto message itself can be sent where the message and schema details are packaged
together by an interface. This promotes the design that any particular entity can be emitted
given that it satisfies the interface.
@github-actions
Copy link

This PR is stale because it has been open 30 days with no activity.
Remove the stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jun 12, 2025
@EasterTheBunny EasterTheBunny deleted the ath/proposal-for-cutom-beholder-msg branch June 18, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant