Closed Gaelik-git closed 2 months ago
I think it might a bug introduced in v0.18
When using the v0.17 of this crate I get better result, I am able to send message to the topic but reading from the subscription is still ko
2024-04-12T16:31:31.347529Z INFO: peeked message queue val=204
2024-04-12T16:31:31.597199Z INFO: send message to topic ok=true
2024-04-12T16:31:32.730468Z INFO: peeked message from subscription val=405
This is the body of the 405 reponse
<Error>
<Code>405</Code>
<Detail>It is not possible for an entity that requires sessions to create a non-sessionful message receiver. TrackingId:0d889d68-0ab2-4a03-b080-9dbae72678b1_G19_B22, SystemTracker:REDACTED:Topic:test-topic|test-subscription, Timestamp:2024-04-12T17:11:24</Detail>
</Error>
Looks like the fix on this commit should also be on the TopiClient https://github.com/Azure/azure-sdk-for-rust/commit/c999ef3df4c8c65edf458e7948235e31bd44dc61
I created a Service Bus Namespace with:
dev
test-topic
test-subscription
I also have a
Sharred access Policies
on the Namespace level namedcommon
But the topic client always receives a 401, when my QueueClient receives 204Can you help me with this ? Is my code incorrect ? Can it be linked to the ordering when creating things ? I am using the latest 0.19 version of the sdk with rust 1.77.1
This is the result of this test program