Subscription
dapr.io / v2alpha1
apiVersion: dapr.io/v2alpha1
kind: Subscription
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
scopes
[]string
spec object
SubscriptionSpec is the spec for an event subscription.
bulkSubscribe object
Represents bulk subscribe properties
enabled
boolean required
maxAwaitDurationMs
integer
maxMessagesCount
integer
deadLetterTopic
string
The optional dead letter queue for this topic to send events to.
metadata
object
The optional metadata to provide the subscription.
pubsubname
string required
The PubSub component name.
routes object required
The Routes configuration for this topic.
default
string
rules []object
The list of rules for this topic.
match
string required
The optional CEL expression used to match the event. If the match is not specified, then the route is considered the default. The rules are tested in the order specified, so they should be define from most-to-least specific. The default route should appear last in the list.
path
string required
The path for events that match this rule.
topic
string required
The topic name to subscribe to.
No matches. Try .spec.bulkSubscribe for an exact path