-
Notifications
You must be signed in to change notification settings - Fork 39
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
Outbound Endpoint Health Check unable to serialize PingMessage when using Avro Serializer #201
Comments
Could the PingMessage be added to Core to be used to handle the serialization differently, or does this need to stay in the HealthChecks namespace and package? |
I have to think about this because I'd gladly avoid bringing a dependency on Avro into the other packages. I honestly don't know if it's worth investing in this health check since it proved to be impractical in many cases as it just clutters the topic and is detrimental to interoperability. |
This health check verifies the presence of all topic endpoints and the service’s ability to publish events to them using a Ping message. |
Yes, exactly. For produce errors, we rely on the exception being thrown by the But having these ping messages polluting the topic is pretty ugly. |
Hi
When using
SerializeAsAvro
and usingAddOutboundEndpointsCheck()
you get the following serialization exception:System.InvalidCastException: Unable to cast object of type 'Silverback.Messaging.HealthChecks.PingMessage' to type 'Some.Business.Event.Type'
The text was updated successfully, but these errors were encountered: