Skip to content

Include consumer group id in MissingMessageHandlerRegistrationException #74

Description

@jandr-dfds

The current exception reads:

Dafda.Consuming.MissingMessageHandlerRegistrationException: Error! A Handler has not been registered for messages of type `[message-type]`
   at Dafda.Consuming.RequireExplicitHandlers.GetFallback(String messageType)
   at Dafda.Consuming.LocalMessageDispatcher.GetMessageRegistrationFor(TransportLevelMessage message)
   at Dafda.Consuming.LocalMessageDispatcher.Dispatch(TransportLevelMessage message)
   at Dafda.Consuming.Consumer.ProcessNextMessage(ConsumerScope consumerScope, CancellationToken cancellationToken)
   at Dafda.Consuming.Consumer.ConsumeAll(CancellationToken cancellationToken)
   at Dafda.Consuming.ConsumerHostedService.ConsumeAll(CancellationToken stoppingToken)

When having multiple consumer groups registered within a single application, it would be really helpful to know which consumer group is missing a handler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions