Closed NeussConsulting closed 1 week ago
Couple things.
This:
builder.Services.AddMarten(...)
.AddAsyncDeamon(DeamonMode.Solo)
.IntegrateWithWolverine(int => int.UseWolverineManagedEventSubscriptionDistribution = true)
Use one or the other, but not both of those options
So what are the dead letter event stack traces? Or Envelope stack traces? Are you publishing from something that's not Wolverine to Wolverine with the message type error? I think I'd need to see a reproduction to get what's going on there. But in all cases, a stack trace would be very helpful here. I don't see anything above that's not innocuous except for the conflicting configuration I pointed out above. That would absolutely cause errors if you have any async projections
There's nothing actionable here without more information.
I need help, I'm to stupid to figure out a total "simple" scenario. I tried now for hours and I'm out of ideas.
I just want to publish events into a Google Pub/Sub topic with name "events" and want to get them then out of this and feed them to a Wolverine handler if there is one for this event.
But I get Dead Letter issues or Envelope issues that don't tell me anything. As a little information, I get the topic and that's it, there is no way I allow Wolverine to create topics inside the infrastructure! And I use it with Marten.
The publishing is working I can see messages are landing inside the topic. But the getting the messages aspect seems not to work, I receive the following exception and my Handler is never called.
I think I have two issues here, why is he trying to write something into the dead letter queue in the first place and then the "message_type" issue itself, the error is very clear, but I don't know how to solve it.
A second question (but lower prio) would be, if an application is writing plain PubsubMessages into this topic
How would I handle these with Wolverine? Simple like this?
I would be very thankful if someone could help me.