You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using KafkaFlow with SchemaRegistryAvroSerialiser.
I configure no handlers, and only WhenNoHandlerFound for the sake of an example.
When consumer gets the message and reads its schema from Schema Registry, tries to scan all the assemblies in the AppDomain to find a corresponding .NET type.
Then it has two choices:
The type is found. In this case "no handler" action is fired correctly.
Type is not found. This may happen when the consumer isn't aware of the message of a given schema and doesn't have a type for it, or if an assembly that contains this type isn't yet loaded into AppDomain. In this case the message seems to be just ignored and the "no handler" action is not triggered.
Expected behaviour: "No handler" action is triggered for any message that doesn't have a handler registered for it, regardless if the corresponding .NET type exists or not in the consumer's AppDomain.
The text was updated successfully, but these errors were encountered:
I can confirm this. Just spent a day debugging the custom type resolvers and handlers not getting called due to this issue and and due to the changes made in #342. The changes are being introduced into master too lightly.
I am using
KafkaFlow
withSchemaRegistryAvroSerialiser
.I configure no handlers, and only
WhenNoHandlerFound
for the sake of an example.When consumer gets the message and reads its schema from Schema Registry, tries to scan all the assemblies in the AppDomain to find a corresponding .NET type.
Then it has two choices:
Expected behaviour: "No handler" action is triggered for any message that doesn't have a handler registered for it, regardless if the corresponding .NET type exists or not in the consumer's AppDomain.
The text was updated successfully, but these errors were encountered: