Open MoeweX opened 2 years ago
We digged some deeper into this and found a lot of undocumented errors that prevented us from using it, e.g.,
Date in correct format that works is e.g. Wed, 19 Jan 2022 09:04:00 GMT. 2022-01-19T18:30:17.001453Z does not work
Thanks for digging into this, I'll see if we can make this a little easier 👍.
@MoeweX Are you seeing this issue only with azure servicebus component ?
Expected Behavior
When we set metadata fields on a PublishEventRequest field, they should be received and processed by the pubsub.azure.servicebus component.
Actual Behavior
It seems like the fields are set properly (when we log the PublishEventRequest object before publishing it we can see them), but they do not reach the component (visible when inspecting the events in the Azure Portal).
Steps to Reproduce the Problem
Tested with dapr-sdk version 1.3.1 and dapr-runtime 1.4.3
eventRequest.getMetadata().put(“MessageId”, id);
andeventRequest.getMetadata().put(“ScheduledEnqueueTimeUtc”, “Wed Jan 19 11:06:00 GMT 2022”)
publishing event with metadata: ScheduledEnqueueTimeUtc=Wed Jan 19 11:06:00 GMT 2022;MessageId=time-trigger;1642590360;Europe/Berlin;0;1000
Release Note
RELEASE NOTE: