direktiv / direktiv-knative-source Goto Github PK
View Code? Open in Web Editor NEWEvent Source for Direktiv and Knative
Home Page: https://direktiv.io
License: Apache License 2.0
Event Source for Direktiv and Knative
Home Page: https://direktiv.io
License: Apache License 2.0
I was following the (kafka example)[https://docs.direktiv.io/v0.6.1/events/knative/example/] and everything seems to be working fine up to the point where i need to install a direktiv knative source to push the kafka events into knative. The source for some reason fails to install and the log is saying it's not ready due to failing to find the URI
Source is able to connect to the defined direktiv-flow URI and become ready.
ContainerSource
is stuck in Not Ready
and the reason is NoURI
│ Image: vorteil/direktiv-knative-source │
│ Name: direktiv-source │
│ Resources: │
│ Status: │
│ Conditions: │
│ Last Transition Time: 2022-04-13T16:21:12Z │
│ Message: URI could not be extracted from destination │
│ Reason: NoURI │
│ Status: False │
│ Type: Ready │
│ Last Transition Time: 2022-04-13T16:21:12Z │
│ Status: True │
│ Type: ReceiveAdapterReady │
│ Last Transition Time: 2022-04-13T16:21:07Z │
│ Message: URI could not be extracted from destination │
│ Reason: NoURI │
│ Status: False │
│ Type: SinkBindingReady │
│ Observed Generation: 1 │
│ Events: │
│ Type Reason Age From Message │
│ ---- ------ ---- ---- ------- │
│ Normal ContainerSourceSinkBindingCreated 18m containersource-controller SinkBinding created "direktiv-source-sinkbinding" │
│ Normal ContainerSourceDeploymentCreated 18m containersource-controller Deployment created "direktiv-source-deployment" │
│ Normal ContainerSourceReconciled 18m (x8 over 18m) containersource-controller ContainerSource reconciled: "datacrawl/direktiv-source" │
│
direktiv-source
deployment
{"level":"error","ts":"2022-04-13T16:30:03.487Z","caller":"direktiv-knative-source/main.go:165","msg":"failed to send, not initialized: &http.Protocol{Target:(*url.URL)(nil), RequestTemplate:(*http.Request)(nil),
Install direktiv-source:
apiVersion: sources.knative.dev/v1
kind: ContainerSource
metadata:
name: direktiv-source
namespace: datacrawl
spec:
template:
spec:
containers:
- image: vorteil/direktiv-knative-source
name: direktiv-source
args:
- --direktiv=direktiv-flow.datacrawl:3333
sink:
ref:
apiVersion: eventing.knative.dev/v1
kind: Broker
name: kakfa0-broker
namespace: datacrawl
Please include details about the system that the issue can be reproduced on, including:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.