knative-extensions / kn-plugin-event

Kn plugin for sending events to Knative sinks.
Apache License 2.0
7 stars 22 forks source link

reference is invalid #305

Closed matzew closed 1 year ago

matzew commented 1 year ago

Error when sending message to main from kafka-broker.

I am getting:

kn-event-linux-amd64 -n knative-eventing send \
  --to Broker:eventing.knative.dev/v1:my-demo-kafka-broker \
  --type demo.new \
  -f message="fooss"
Error: can't sent event: reference is invalid: resource isn't addressable: failed to get object knative-eventing/my-demo-kafka-broker: brokers.eventing.knative.dev "my-demo-kafka-broker" not found
matzew commented 1 year ago

here is the status:

status:
  address:
    name: http
    url: http://kafka-broker-ingress.knative-eventing.svc.cluster.local/default/my-demo-kafka-broker
  addresses:
  - name: http
    url: http://kafka-broker-ingress.knative-eventing.svc.cluster.local/default/my-demo-kafka-broker
matzew commented 1 year ago

oh, I just see the -n knative-eventing copy-pasta ... perhaps

matzew commented 1 year ago

/close

nevermind

knative-prow[bot] commented 1 year ago

@matzew: Closing this issue.

In response to [this](https://github.com/knative-extensions/kn-plugin-event/issues/305#issuecomment-1689443899): >/close > >nevermind Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.