Questions tagged [knative-eventing]

42 questions
1
vote
2 answers

how to redeliver the message whenever there is any http error code on kafka consumer service (KafkaSource on Knative)

I am using Knative Eventing (Kafka Source, it reads the data from kafka Cluster) to trigger a consumer service, if the event/message did not processed successfully (could be any reason), i want to redeliver the message automatically. I have tried…
1
vote
2 answers

Knative Service can't be triggered by Knative Broker & Trigger

I am testing Knative in GKE and Here is what I would like to do: However, I got the following error in logs of "default-broker-filter" : caller: "http/transport.go:508" error: "Post http://helloworld-python.knative-samples.svc.cluster.local:…
0
votes
0 answers

knative eventing with kafka is sending requests again and again

I have successfully implemented the integration of Knative eventing within an EC2 instance, connecting it to Kafka running in Amazon Managed Streaming for Apache Kafka (MSK). The system has been configured so that when a request is sent, it triggers…
sai_0033
  • 11
  • 4
0
votes
1 answer

"address not set" error in a Broker-Trigger configuration with Event Display

Trying something really basic here to start things out. Service "event-display-task1" is using the Go Event Display without issues. My service "event-display-task2" is a simple image based on the example from github…
Tom
  • 302
  • 2
  • 5
  • 14
0
votes
0 answers

KNative running on different cluster versions: failed to list *v2beta2.HorizontalPodAutoscaler: the server could not find the requested resource

I have been struggling with this scenario, so I'll post it here and I hope someone point me to the right direction, as I'm not sure whether this is a KNative, client-go or my code issue I have an operator (based on KNative eventing) that needs to…
dfranca
  • 5,156
  • 2
  • 32
  • 60
0
votes
1 answer

Can I send event to knative broker directly?

I have installed kubernetes v1.23 and knative v1.4 on a cluster with three machines. I read from knative doc that event producers can send events to a broker by POSTing the event. So I write a demo to send events to broker using the cloudevents…
Info-H
  • 1
  • 1
0
votes
0 answers

Knative-eventing broker scalability

I am looking into Knative-eventing. The architecture in the official documentation and the broker specs doesn't seem to provide a clear explanation about why the Broker is not a single point of failure. Could somebody please explain how the…
AR1
  • 4,507
  • 4
  • 26
  • 42
0
votes
0 answers

Knative Eventing, KafkaSource kind doesn't read messages from the earliest commit

I deployed a Knative Eventing, KafkaSource kind resource in our namespace. I have set the spec **spec.initialOffset: earliest **. But it still is only pulling the latest messages. It doesn't seem to be reading messages from the oldest commit point.…
Karthik R
  • 1
  • 1
0
votes
0 answers

Knative - Set a Kubernetes service as sink or subscriber

Is it possible to set a Kubernetes service(not a knative service) as a sink or as a subscriber? I was able to create the following subscription, which points a kubernetes service. But the service is not getting triggered. apiVersion:…
Sandeep
  • 199
  • 3
  • 11
0
votes
0 answers

Knative - kafkasource - connecting SASL enabled kafka broker of AWS MSK cluster

We are trying to read messages from Kafka cluster(AWS MSK) and produce events using Knative eventing. Everything in sink and works well if the MSK brokers have no authentication, But failed to communicate/connect MSK from KafkaSource if SASL…
0
votes
1 answer

Create a cronjob in Knative publishing messages to Kafka

I would like to create a cronjob via Knative that sends healthcheck messages to my Kafka topic every 10 minutes. Then we will have a separate endpoint created, that will receive these messages and pass some response to a receiver…
0
votes
1 answer

Java: How to read binary cloudevent

I want to process cloudevents created with python through knative broker ingress in a java kafka consumer. How do i get back the playload values from binary? Event Creation: attributes = { "type": "com.example.sampletype1", "source":…
Pierre
  • 1,409
  • 12
  • 15
0
votes
1 answer

"queueproxy" : error reverse proxying request; sockstat: sockets TCP: inuse 27 orphan 2 tw 20 alloc 593 mem 52

I've issue with respect to above subject, using knative v1.2.5 istio 1.12.7 Every 20mins we see below error in the queue proxy, error: "context canceled" knative.dev/key: "test-common-service/test-app-0-0-0" knative.dev/pod:…
0
votes
1 answer

IBM Cloud Code Engine: How to overwrite environment variable in cron-invoked job run?

When working with jobs in IBM Cloud Code Engine, I would submit a jobrun for the actual invocation. For the jobrun I can specify environment variables to be passed into the runtime environment (--env FOO=BAR). How can I do the same when using a cron…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
0
votes
1 answer

How to Conect MQTT broker to a knative kafka source

Basically I want to send messages from a MQTT(mosquito) broker to a knative event source(kafka) . In case of a simple kafka broker I could use the confluent's kafkaconnect but in this case it's a knative event source rather than a broker. The…