Problem
The reply strategy for a subscription can be any addressable:
// ReplyStrategy specifies the handling of the SubscriberSpec's returned replies.
// If no SubscriberSpec is specified, the identity function is assumed.
type ReplyStrategy struct {
// You can specify only the following fields of the ObjectReference:
// - Kind
// - APIVersion
// - Name
// The resource pointed by this ObjectReference must meet the Addressable contract
// with a reference to the Addressable duck type. If the resource does not meet this contract,
// it will be reflected in the Subscription's status.
// +optional
Channel *corev1.ObjectReference `json:"channel,omitempty"`
}
However, the field in the strategy is still called "Channel". I suggest to rename it to "Sink" resulting in a field subscription.reply.sink instead of subscription.reply.channel, which would also align nicely with the naming scheme of source CRDs.
Problem
The reply strategy for a subscription can be any addressable:
However, the field in the strategy is still called "Channel". I suggest to rename it to "Sink" resulting in a field
subscription.reply.sinkinstead ofsubscription.reply.channel, which would also align nicely with the naming scheme of source CRDs.