-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I tried this:
Create a sub with retry policy:
apiVersion: cloud-streams.io/v1
kind: Subscription
metadata:
name: mynewsub
spec:
partition:
type: by-source
id: https://event.emitter.com/
stream:
offset: -1
subscriber:
uri: https://subcriber.mydomain.com/events/pub
retryPolicy:
statusCodes: [ 503 ]
circuitBreaker:
breakAfter: 3
breakDuration: PT5S
This happened:
The frontend sends POST /api/resources/v1/subscriptions
{
"apiVersion": "cloud-streams.io/v1",
"kind": "Subscription",
"metadata": {
"name": "mynewsub"
},
"spec": {
"partition": {
"type": "by-source",
"id": "https://event.emitter.com/"
},
"stream": {
"offset": -1
},
"subscriber": {
"uri": "https://subcriber.mydomain.com/events/pub"
}
}
}missing the
retryPolicyandbreakDuration
I expected this:
As a result, the sub appears without these retryPolicy and breakDuration attributes...
Is there a workaround?
No response
Anything else?
No response
Component(s)
No response
Platform(s)
No response
Community Notes
- Please vote by adding a π reaction to the issue to help us prioritize.
- If you are interested to work on this issue, please leave a comment.name: Bug Report π
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working